From c96931ff008e7be08fbfc6287d3af8fcb2205006 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 23 Mar 2016 23:25:33 +0000 Subject: Update hook website --- vim/vimrc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 69d2ea8..d0f6a78 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -27,6 +27,9 @@ Plug 'honza/vim-snippets' Plug 'jamessan/vim-gnupg' Plug 'junegunn/seoul256.vim' Plug 'junegunn/vim-easy-align' +xmap ga (EasyAlign) +nmap ga (EasyAlign) + Plug 'junegunn/vim-peekaboo' Plug 'junegunn/vim-pseudocl' Plug 'junegunn/vim-oblique' @@ -71,7 +74,10 @@ Plug 'tpope/vim-commentary' Plug 'tpope/vim-dispatch' Plug 'tpope/vim-eunuch' Plug 'tpope/vim-flagship' -function Mixed_indent() +let g:tabprefix = "" +let g:tablabel = "%N%{flagship#tabmodified()} %{flagship#tabcwds('shorten',',')}" + +function! Mixed_indent() let l:spaces=search('\v(^ +)','n') let l:tabs=search('\v(^\t+)','n') return (l:spaces * l:tabs > 0) @@ -134,7 +140,6 @@ call plug#end() let g:tex_conceal= 'adgm' let g:tex_flavor='latex' -let g:tabprefix = "" "" Vim options @@ -273,7 +278,7 @@ if has("nvim") nnoremap :w nnoremap :q - nnoremap :tabnew + nnoremap :tabnew nnoremap :CtrlPBuffer nnoremap :CtrlP -- cgit v1.2.3