New plugins
This commit is contained in:
parent
d0f6c5638a
commit
805cb9397d
1 changed files with 18 additions and 1 deletions
|
|
@ -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 <Tab> <C-r>=InsertTabWrapper()<CR>
|
||||
inoremap <S-Tab> <C-n>
|
||||
|
||||
|
||||
|
||||
" Switch between the last two files
|
||||
nnoremap <Leader><Leader> <C-^>
|
||||
|
||||
|
|
@ -263,5 +269,16 @@ fun! <SID>StripTrailingWhitespaces()
|
|||
endfun
|
||||
autocmd BufWritePre * :call <SID>StripTrailingWhitespaces()
|
||||
|
||||
" Indent and unindent with tab.
|
||||
|
||||
nnoremap <Tab> >>_
|
||||
nnoremap <S-Tab> <<_
|
||||
inoremap <S-Tab> <C-D>
|
||||
vnoremap <Tab> >gv
|
||||
vnoremap <S-Tab> <gv
|
||||
|
||||
" Fuzzy file search by default:
|
||||
set path+=**
|
||||
|
||||
|
||||
colorscheme darcula
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue