Permalink
Browse files

Disable backspace key in insert mode

  • Loading branch information...
1 parent 0e0eb3c commit a1aa2b3961157831b081d8be483738b4707a91e9 @lmarburger committed Jan 22, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 vimrc
View
3 vimrc
@@ -91,6 +91,9 @@ nmap <leader><leader> ,<ESC>
" https://github.com/garybernhardt/dotfiles/blob/master/.vimrc#L117-118
imap <c-c> <esc>
+" Disable backspace to force use of <C-h> and <C-w>
+inoremap <bs> <nop>
+
command! W :w " alias :w as :W to fight accidental typos
" Easy expansion of the active file directory. Cite: Practical Vim pg 94.

0 comments on commit a1aa2b3

Please sign in to comment.