From d5e6b1b19db9bda625343582a0c31c8bb7ce834f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 27 Apr 2020 19:01:48 +1200 Subject: Fix a few spelling and punctuation errors --- vim/vimrc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'vim') 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 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 z @@ -1493,7 +1493,7 @@ sunmap r nnoremap ! \ :! nmap 1 ! -"" Leader,#/3 switches the current buffer to the next altenate filetype +"" Leader,#/3 switches the current buffer to the next alternate filetype nmap # (AlternateFileType) nmap 3 # "" Leader,$/4 gives me my fortune -- cgit v1.2.3