From: Simon Ruderich Date: Mon, 21 Nov 2011 06:51:52 +0000 (+0100) Subject: vimrc: Minor cleanup for variables. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=3fb48422ab22ba6c60c7db059c1f3cbb77b94142;p=config%2Fdotfiles.git vimrc: Minor cleanup for variables. --- diff --git a/vimrc b/vimrc index 04cae91..9294692 100644 --- a/vimrc +++ b/vimrc @@ -22,6 +22,7 @@ set all& " And restore it after all other options were reset. if has('eval') let &runtimepath = s:save_runtimepath + unlet s:save_runtimepath endif " Make sure Vim (and not Vi) settings are used. @@ -321,7 +322,7 @@ endif " Disable Apple style movements in MacVim. if has('gui_macvim') && has('eval') - let macvim_skip_cmd_opt_movement = 1 + let g:macvim_skip_cmd_opt_movement = 1 endif " In case 'hlsearch' is used disable it with . Thanks to frogonwheels and @@ -396,7 +397,7 @@ endif " Settings for the NERD commenter. " Don't create any mappings I don't want to use. if has('eval') - let NERDCreateDefaultMappings = 0 + let g:NERDCreateDefaultMappings = 0 endif " Map toggle comment. map NERDCommenterToggle