Fix a bunch of typos
[grml-etc-core.git] / etc / vim / vimrc
index a4652b9..064b15c 100644 (file)
@@ -86,7 +86,7 @@
 " set autowrite         " Automatically save before commands like :next and :make
 " When switching between different buffers you can't use undo without 'set hidden':
   set hidden            " Hide buffers when they are abandoned
-" set mouse=a           " Enable mouse usage (all modes) in terminals
+  set mouse=            " Disable mouse usage (being "a" AKA all modes in Vim >=8) in terminals
   set wildmenu          " command-line completion operates in an enhanced mode
 
   set pastetoggle=<f11>               " don't change text when copy/pasting
   endif
 
 " turn these ON:
-  set ek hidden ruler sc vb wmnu
+  set ek vb
 " set digraph
 " turn these OFF ("no" prefix):
   set nodigraph noeb noet nosol
 " some colors - as an example "white on black" [use bold fonts]:
 "  hi normal   ctermfg=white  ctermbg=black guifg=white  guibg=black
 "  hi nontext  ctermfg=blue   ctermbg=black guifg=blue   guibg=black
-  if has("syntax")
-     syn on
-  endif
 " set t_Co=256                " number of colors
 
 " some useful mappings:
-  set pastetoggle=<f11>
 
 " with F7 copy all current buffer to clipboard, or a selection.
 " with shift-F7, paste all clipboard contents
@@ -216,7 +212,7 @@ if version >= 700
   "  highlight SpellRare   term=reverse   ctermbg=13 gui=undercurl guisp=Magenta   " rare word
   "  highlight SpellLocale term=underline ctermbg=11 gui=undercurl guisp=DarkCyan  " word only exists in other region
 
-  " set maximum number of suggestions listed to top 10 items:
+  " set maximum number of suggestions listed top 10 items:
   set sps=best,10
 
   " highlight matching parens: