Permalink
Browse files

Leave option to map datee to current date

  • Loading branch information...
1 parent 63a282c commit db691ce3db144f901c6428622001f85bdc3d9424 @schmidt committed Mar 22, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 vimrc
View
2 vimrc
@@ -18,6 +18,8 @@ set showcmd
set vb t_vb= " Turn off bell, this could be more annoying, but I'm not sure how
syntax on
+" imap datee <esc>:r!date '+\%Y-\%m-\%d'<cr>i
+
" Sudo to write - http://forrst.com/posts/Use_w_to_sudo_write_a_file_with_Vim-uAN
cmap w!! w !sudo tee % >/dev/null

0 comments on commit db691ce

Please sign in to comment.