Skip to content

Commit

Permalink
map :W to :w
Browse files Browse the repository at this point in the history
  • Loading branch information
gabehollombe committed Jun 12, 2012
1 parent 588eadd commit c8d1157
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vimrc
Expand Up @@ -226,6 +226,9 @@ runtime macros/matchit.vim
" when I mean to type J to join lines.
nmap K <nop>
" I always fat-finger :W when I mean :w, so bind it
cmap W w

" Keep search result in center of screen.
nnoremap <silent> n nzz
Expand All @@ -238,3 +241,4 @@ nnoremap <silent> g# g#zz
" vim-slime settings
let g:slime_target = "tmux"


0 comments on commit c8d1157

Please sign in to comment.