diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-27 19:01:48 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-04-27 19:01:48 +1200 |
commit | d5e6b1b19db9bda625343582a0c31c8bb7ce834f (patch) | |
tree | d58a3b1bb9b74db8078466a8de05abbbc2710a0d | |
parent | Merge branch 'hotfix/v8.20.5' into develop (diff) | |
download | dotfiles-d5e6b1b19db9bda625343582a0c31c8bb7ce834f.tar.gz dotfiles-d5e6b1b19db9bda625343582a0c31c8bb7ce834f.zip |
Fix a few spelling and punctuation errors
-rw-r--r-- | vim/vimrc | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -50,11 +50,11 @@ " here, too. " " On *nix, I define the primary locale environment variable $LANG, almost -" always specifying a multibyte locale. This informs Vim’s choice of internal -" character encoding, but the default for the 'encoding' option in the absence -" of a valid $LANG is ‘latin1’. Since this is almost never what I want, we’ll -" manually choose the UTF-8 encoding for Unicode in the absence of any other -" explicit specification. +" always specifying a multi-byte locale. This informs Vim’s choice of +" internal character encoding, but the default for the 'encoding' option in +" the absence of a valid $LANG is ‘latin1’. Since this is almost never what +" I want, we’ll manually choose the UTF-8 encoding for Unicode in the absence +" of any other explicit specification. " if &encoding ==# 'latin1' && !exists('$LANG') set encoding=utf-8 @@ -535,7 +535,7 @@ set foldlevel=256 " If a line is already longer than 'textwidth' would otherwise limit when " editing of that line begins in insert mode, don’t suddenly automatically -" wrap it; I’ll break it apart myself with a command like 'gq'. This doesn’t +" wrap it; I’ll break it apart myself with a command like ‘gq’. This doesn’t " seem to stop paragraph reformatting with ‘a’, if that’s set. " set formatoptions+=l @@ -962,7 +962,7 @@ endif " extent possible, and avoid “doing more” in insert mode besides merely " inserting text as it’s typed. " -" * Avoid key chords with Ctrl in favor of leader keys. +" * Avoid key chords with CTRL in favor of leader keys. " " * Never use Alt/Meta key chords; the terminal support for them is just too " confusing and flaky. @@ -1244,7 +1244,7 @@ nnoremap <Leader>f " I often have to switch between US English and NZ English. The latter is " almost exactly the same as UK English in most locales, although we use " dollars rather than pounds. This is mostly so I remember things like -" excluding or including the ‘u’ in words like 'favourite', depending on the +" excluding or including the ‘u’ in words like ‘favourite’, depending on the " target audience. I generally use US English for international audiences. " nnoremap <Leader>z @@ -1493,7 +1493,7 @@ sunmap <Leader>r nnoremap <Leader>! \ :<Up><Home><S-Right>!<CR> nmap <Leader>1 <Leader>! -"" Leader,#/3 switches the current buffer to the next altenate filetype +"" Leader,#/3 switches the current buffer to the next alternate filetype nmap <Leader># <Plug>(AlternateFileType) nmap <Leader>3 <Leader># "" Leader,$/4 gives me my fortune |