From 805cb9397d832baf13112132379bbb8ac6a99cff Mon Sep 17 00:00:00 2001 From: Sebastian Burschel Date: Mon, 14 Oct 2019 14:06:12 +0200 Subject: [PATCH] New plugins --- dotfiles/.vimrc | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/dotfiles/.vimrc b/dotfiles/.vimrc index 269e9cb..00992ae 100644 --- a/dotfiles/.vimrc +++ b/dotfiles/.vimrc @@ -36,8 +36,11 @@ call vundle#begin() " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' -Plugin 'Valloric/YouCompleteMe' Plugin 'Vimjas/vim-python-pep8-indent' +Plugin 'Townk/vim-autoclose' +Plugin 'davidhalter/jedi-vim' +Plugin 'ervandew/supertab' + " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. @@ -170,6 +173,7 @@ set numberwidth=5 " Tab completion " will insert tab at beginning of line, " will use completion if not at beginning + set wildmode=list:longest,list:full function! InsertTabWrapper() let col = col('.') - 1 @@ -182,6 +186,8 @@ endfunction inoremap =InsertTabWrapper() inoremap + + " Switch between the last two files nnoremap @@ -263,5 +269,16 @@ fun! StripTrailingWhitespaces() endfun autocmd BufWritePre * :call StripTrailingWhitespaces() +" Indent and unindent with tab. + +nnoremap >>_ +nnoremap <<_ +inoremap +vnoremap >gv +vnoremap