Pejman Moghadam / General

vim tips

Public domain


Insert timestamp

:r !date

vertical selection

gg 0
ctrl+v
<arrows>

Save a file in case you forgot sudo

:w !sudo tee %

~/.vimrc

syntax off
set nohlsearch
set t_Co=0

BY: Pejman Moghadam
TAG: vim
DATE: 2011-07-18 23:42:49


Pejman Moghadam / General [ TXT ]