Skip to main content

Command Palette

Search for a command to run...

Easiest Way to Add Date in a File in Vim/Neovim

Updated
1 min read
Easiest Way to Add Date in a File in Vim/Neovim
C

I'm an engineering senior at National Institute of Technology, Srinagar, India. I'm a developer, fitness aficionado, productivity enthusiast and a fellow nerd.

To add the current date and time to a file in Vim / Neovim use the following command in command mode

:.!date
22 views