From 3fb48422ab22ba6c60c7db059c1f3cbb77b94142 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 21 Nov 2011 07:51:52 +0100 Subject: [PATCH] vimrc: Minor cleanup for variables. --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.44.1