diff options
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,8 +1,8 @@ " Colors -if has("syntax") && (&t_Co > 15) +if has("syntax") && ((&t_Co > 15) || has("gui_running")) set background=dark syntax enable - if (&t_Co > 255) + if (&t_Co > 255) || has("gui_running") colorscheme desert256 highlight Pmenu ctermfg=0 ctermbg=8 endif @@ -33,6 +33,10 @@ if has("autocmd") filetype indent on endif +" Indenting +set autoindent +set smartindent + " Leaders nnoremap <leader>c :set cursorline! cursorcolumn!<CR> nnoremap <leader>h :set hlsearch!<CR> |