added pear tree for parentheses completion
This commit is contained in:
parent
da5cab8e5c
commit
5664774e6c
1 changed files with 4 additions and 2 deletions
6
vimrc
6
vimrc
|
|
@ -7,6 +7,7 @@ Plugin 'preservim/nerdtree'
|
||||||
Plugin 'ycm-core/YouCompleteMe'
|
Plugin 'ycm-core/YouCompleteMe'
|
||||||
Plugin 'NLKNguyen/papercolor-theme'
|
Plugin 'NLKNguyen/papercolor-theme'
|
||||||
Plugin 'dense-analysis/ale'
|
Plugin 'dense-analysis/ale'
|
||||||
|
Plugin 'tmsvg/pear-tree'
|
||||||
|
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
@ -30,6 +31,7 @@ set ruler
|
||||||
set visualbell
|
set visualbell
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
set ttyfast
|
set ttyfast
|
||||||
|
let mapleader=","
|
||||||
|
|
||||||
" always show mode status line
|
" always show mode status line
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
|
|
@ -39,6 +41,8 @@ set showmode
|
||||||
|
|
||||||
inoremap jj <ESC>
|
inoremap jj <ESC>
|
||||||
|
|
||||||
|
noremap <leader>t :NERDTreeToggle<CR>
|
||||||
|
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
set background=dark
|
set background=dark
|
||||||
silent! colorscheme PaperColor
|
silent! colorscheme PaperColor
|
||||||
|
|
@ -48,8 +52,6 @@ let g:clang_format_fallback_style="Google"
|
||||||
let g:ycm_autoclose_preview_window_after_completion=1
|
let g:ycm_autoclose_preview_window_after_completion=1
|
||||||
let g:ycm_confirm_extra_conf=0
|
let g:ycm_confirm_extra_conf=0
|
||||||
|
|
||||||
let mapleader=","
|
|
||||||
|
|
||||||
autocmd FileType c,cpp nnoremap <leader>f :py3f $HOME/clang-format.py<CR>
|
autocmd FileType c,cpp nnoremap <leader>f :py3f $HOME/clang-format.py<CR>
|
||||||
autocmd FileType c,cpp vnoremap <leader>f :py3f $HOME/clang-format.py<CR>
|
autocmd FileType c,cpp vnoremap <leader>f :py3f $HOME/clang-format.py<CR>
|
||||||
" autocmd FileType python nnoremap <leader><F> :0,$!yapf<CR><C-o>
|
" autocmd FileType python nnoremap <leader><F> :0,$!yapf<CR><C-o>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue