diff options
-rw-r--r-- | vim/gvimrc | 5 | ||||
-rw-r--r-- | vim/vimrc | 8 |
2 files changed, 7 insertions, 6 deletions
@@ -1,5 +1,2 @@ -try - set guifont=Inconsolata\ 10 -catch -endtry +set guifont=Inconsolata\ 10 set guioptions=aci @@ -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> |