Skip to content

vim

Auto insert date when starting Vim

I have a file where I keep notes & ideas. And I try to have as less friction as possible to add ideas to this file. To achieve this I made it so that when I am at my terminal I edited just two files to achieve this. .bashrc An alias in .bashrc to type just one letter and start the file in Vim in insert mode: .vimrc I added… Read More »Auto insert date when starting Vim

My Vim setup

The following lines are in my .vimrc file and make working with Vim all the better! I keep it pretty basic, so I don’t use the very popular fugitive.vim or NERDTree plugin.Put these lines in ~/.vimrc or /etc/vim/vimrc (depending on your distro, sometimes they are already there but need to be uncommented), and you’re good to go. As for a font, I like the Liberation Mono font (11pt). Explanation :command… Read More »My Vim setup