From 19a735fccfafdd36371d0c3463549c008fd71d71 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 19 Apr 2015 17:35:20 +0100 Subject: Cleant vimrc --- vim/vimrc | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 3edbdd1..2603976 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -25,6 +25,7 @@ Plugin 'Tabular' Plugin 'Gundo' Plugin 'altercation/vim-colors-solarized' Plugin 'honza/vim-snippets' +Plugin 'Valloric/YouCompleteMe' filetype plugin indent on syntax on @@ -36,7 +37,13 @@ let mapleader = "\\" let maplocalleader = "-" nmap -" UltiSnips +" Plugins options +let g:ctrlp_map = '' +let g:ctrlp_by_filename = 1 +let g:ctrlp_working_path_mode = '' +let g:ctrlp_show_hidden = 1 +let g:ctrlp_open_new_file = 't' + let g:UltiSnipsExpandTrigger="" let g:UltiSnipsJumpForwardTrigger="" let g:UltiSnipsJumpBackwardTrigger="" @@ -44,10 +51,7 @@ let g:UltiSnipsListSnippets="" let g:UltiSnipsEditSplit="horizontal" let g:UltiSnipsSnippetsDir="~/.vim/mySnippets" let g:UltiSnipsSnippetDirectories=['UltiSnips', 'mySnippets'] -let g:ctrlp_open_new_file = 't' -noremap :UltiSnipsEdit -" Latex-Box let g:tex_flavor='latex' let g:tex_conceal= 'adgm' let g:LatexBox_Folding=0 @@ -77,10 +81,6 @@ let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$', " CTRL-P -let g:ctrlp_map = '' -let g:ctrlp_by_filename = 1 -let g:ctrlp_working_path_mode = '' -let g:ctrlp_show_hidden = 1 "" Options @@ -113,11 +113,7 @@ set fillchars=fold:\ ,vert:\ , set showbreak=\ \ \ \ \ \ ... set colorcolumn=0 set scrolloff=0 -if has('gui_running') - set t_Co=256 -else - set t_Co=256 -endif +set t_Co=256 set guitablabel=%N\ %t\ %M set showcmd @@ -169,6 +165,7 @@ nnoremap h :set hlsearch! nnoremap n :set relativenumber! nnoremap sv :source ~/.vim/vimrc nnoremap sc :source % +nnoremap es :UltiSnipsEdit " Other maps nnoremap o -- cgit v1.2.3