Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added `,s` map to toggle spellchecker.

Additionally, this sets the language to British English.
  • Loading branch information...
commit b6171dffddc1760f044476ac6b5573d3b335f7c1 1 parent a28930c
@nelstrom authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 vimrc
View
5 vimrc
@@ -125,8 +125,9 @@ endif
" Toggles & Switches (Leader commands) {{{1
let mapleader = ","
-nmap <leader>l :set list!<CR>
-nmap <leader>w :set wrap!<CR>
+nmap <silent> <leader>l :set list!<CR>
+nmap <silent> <leader>w :set wrap!<CR>
+nmap <silent> <leader>s :set spell! spl=en_gb<CR>
nmap <silent> <leader>n :silent :nohlsearch<CR>
command! -nargs=* Wrap set wrap linebreak nolist
Please sign in to comment.
Something went wrong with that request. Please try again.