summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2014-10-12 19:31:24 +0100
committerUrbain Vaes <urbain@vaes.uk>2014-10-12 19:31:24 +0100
commit5e3814f6664edcf0bb633d38ef7836dbf768b696 (patch)
treef7996f313d948349abb056edb4acd54d614e6436 /.vimrc
parent36f67ab5edcef32340c54294331364bb2a29a847 (diff)
Configuration of CTRL-P
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc13
1 files changed, 10 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index e27f369..132624a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -18,6 +18,7 @@ Plugin 'Tabular'
Plugin 'tComment'
Plugin 'Gundo'
Plugin 'altercation/vim-colors-solarized'
+Plugin 'honza/vim-snippets'
filetype plugin indent on
@@ -50,7 +51,8 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$',
let g:ctrlp_map = '<c-p>'
let g:ctrlp_by_filename = 1
-let g:ctrlp_working_path_mode = 'w'
+let g:ctrlp_working_path_mode = ''
+let g:ctrlp_show_hidden = 1
"" Options
@@ -89,9 +91,14 @@ set fillchars=fold:\ ,vert:\ ,
set showbreak=...
set colorcolumn=0
set scrolloff=3
-set t_Co=256
+if has('gui_running')
+ set t_Co=256
+else
+ set t_Co=16
+endif
set guitablabel=%N\ %t\ %M
set background=dark
+set showcmd
" Layout text
set wrap
@@ -176,7 +183,7 @@ autocmd Filetype tex call SetTexOptions()
hi Cursor guifg=white guibg=blue
hi iCursor guifg=black guibg=green
hi! link conceal normal
-" hi! link folded error
+hi! link folded normal
"" Functions
function! Tex_ForwardSearchLaTeX()