Skip to content

Commit

Permalink
Added friently save commands
Browse files Browse the repository at this point in the history
  • Loading branch information
kayleg committed Oct 7, 2014
1 parent 8f0e355 commit fda3f04
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ endif
map <Leader>` :TagbarToggle<CR>
set tags=./tags;

" Friendly save - will not re-enter insert mode
nmap <Leader>w :w<CR>
imap <Leader>w <Esc><Leader>w
" will restore visual select
vmap <Leader>w <Esc><Leader>wgv
" Beautification

if exists(':Tabularize')
Expand Down

0 comments on commit fda3f04

Please sign in to comment.