aboutsummaryrefslogtreecommitdiff
path: root/vim/config/spell.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:09:12 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 01:09:12 +1300
commiteb011c52aeaff29876750caaf6fd7d07dbae7876 (patch)
tree9574da5b88afe31d44c512fc3917048b9b9eee80 /vim/config/spell.vim
parentMerge branch 'hotfix/v0.4.2' (diff)
parentBump version number to 0.5.0 (diff)
downloaddotfiles-eb011c52aeaff29876750caaf6fd7d07dbae7876.tar.gz
dotfiles-eb011c52aeaff29876750caaf6fd7d07dbae7876.zip
Merge branch 'release/v0.5.0'v0.5.0
* release/v0.5.0: (25 commits) Bump version number to 0.5.0 Update documentation to reflect ftplugin changes Add lint mapping for Vimscript Specify scope of mapleader variables Use underscore as local map leader Add check and lint mappings for shell script Add tidy mapping for HTML Break long lines in check/lint/tidy mappings Make all lint/check/tidy maps local and silent Improve comments on check/lint/tidy maps Use long form options for tidy(1) Vim call Use direct :write !cmd instead of shellescape() Use full ':execute' not just ':exe' in VimL Check for availability of Vim shellescape() Revert "Adjust UrlLink() to yank word without t... Adjust UrlLink() to yank word without text objects Refactor UrlLink() function normal! commands Use single quotes for HTML link mapping :execute Refactor HTML tidy(1) mapping Use <Leader>/<LocalLeader> correctly in Vim config ...
Diffstat (limited to 'vim/config/spell.vim')
-rw-r--r--vim/config/spell.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/vim/config/spell.vim b/vim/config/spell.vim
index 046b50ff..6a0167d0 100644
--- a/vim/config/spell.vim
+++ b/vim/config/spell.vim
@@ -3,12 +3,12 @@ if has('spell')
" Don't check spelling by default, but bind \s to toggle this
set nospell
- nnoremap <leader>s :setlocal spell! spell?<CR>
+ nnoremap <Leader>s :setlocal spell! spell?<CR>
" Use New Zealand English for spelling by default (it's almost identical
" to British English), but bind \u to switch to US English and \z to
" switch back
set spelllang=en_nz
- nnoremap <leader>u :setlocal spelllang=en_us spelllang?<CR>
- nnoremap <leader>z :setlocal spelllang=en_nz spelllang?<CR>
+ nnoremap <Leader>u :setlocal spelllang=en_us spelllang?<CR>
+ nnoremap <Leader>z :setlocal spelllang=en_nz spelllang?<CR>
endif