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 /vim/vimrc | |
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.
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> |