diff options
author | Victor Toso <victortoso@redhat.com> | 2015-12-30 23:13:57 +0100 |
---|---|---|
committer | Victor Toso <victortoso@redhat.com> | 2015-12-30 23:57:45 +0100 |
commit | 2edfaba6bc4a8b7dc186d375a4e4f8a49268877d (patch) | |
tree | 4c4f3c8bf64f552d2a92a68bc94ce07f8f0d8128 | |
parent | 01bc863265d8f2269c359691d1a1e6ae5b02ba52 (diff) |
vim: three new plugins and few things more
-rw-r--r-- | vimrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -16,6 +16,8 @@ set cursorline set laststatus=2 set incsearch set listchars=tab:▸\ ,eol:¬ +set hidden +set ignorecase " If the root is using this vimrc, change colorscheme for safety. if $USER == "root" @@ -39,6 +41,9 @@ Plugin 'majutsushi/tagbar' Plugin 'tpope/vim-fugitive' Plugin 'bling/vim-airline' Plugin 'tmux-plugins/vim-tmux' +Plugin 'rdnetto/YCM-Generator' +Plugin 'Valloric/YouCompleteMe' +Plugin 'jeaye/color_coded' call vundle#end() filetype plugin indent on @@ -65,6 +70,10 @@ nmap <leader>t :TagbarToggle<CR> nmap <leader>n :NERDTreeToggle<CR> nmap <leader>l :set list!<CR> +" should be for mail only +imap <leader>1 <C-R>="Acked-by: Victor Toso <victortoso@redhat.com>"<CR> +imap <leader>2 <C-R>="Reviewed-by: Victor Toso <victortoso@redhat.com>"<CR> + " Trick to get shortcut for 'last active tab in vim. let g:lasttab = 1 nmap bt :exe "tabn ".g:lasttab<CR> |