diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2011-03-01 12:37:24 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2011-03-01 12:37:24 +1300 |
commit | 4380845d3ea404feed2688c9f89dd5b66208624c (patch) | |
tree | 9f5fc55f23171e059f69f1932425da9e2852642d | |
parent | Added GUI vimrc (diff) | |
download | dotfiles-4380845d3ea404feed2688c9f89dd5b66208624c.tar.gz dotfiles-4380845d3ea404feed2688c9f89dd5b66208624c.zip |
Some tweaks to the GUI file, added indent rules to the console one.
-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> |