aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc18
1 files changed, 9 insertions, 9 deletions
diff --git a/vim/vimrc b/vim/vimrc
index b62e9764..7e8806ce 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -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