diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,11 +1,14 @@ " vimrc call pathogen#infect() - " color scheme map <F12> :let &background = ( &background == "dark" ? "light" : "dark" )<CR> -set t_Co=256 -colorscheme desert256 +if !empty($DISPLAY) + set t_Co=256 + colorscheme desert256 +else + colorscheme adobe +endif " Switch syntax highlighting on, when the terminal has colors " Also switch on highlighting the last used search pattern. @@ -48,6 +51,7 @@ set incsearch " do incremental searching set number " show line number set showmode " show current mode + " remap vim-comentary : nmap \\ <Plug>Commentary map <C-c> \\\ |