Browse files

Make spelling toggle apply only to current buffer.

  • Loading branch information...
nelstrom committed Jan 13, 2011
1 parent 53d636d commit 4fdbf041de454940e21e40cf615b3ecd8373e395
Showing with 1 addition and 1 deletion.
  1. +1 −1 vimrc
2 vimrc
@@ -140,7 +140,7 @@ endif
let mapleader = ","
nmap <silent> <leader>l :set list!<CR>
nmap <silent> <leader>w :set wrap!<CR>
-nmap <silent> <leader>s :set spell!<CR>
+nmap <silent> <buffer> <leader>s :set spell!<CR>
nmap <silent> <leader>n :silent :nohlsearch<CR>
command! -nargs=* Wrap set wrap linebreak nolist
command! -nargs=* Maxsize set columns=1000 lines=1000

0 comments on commit 4fdbf04

Please sign in to comment.