[nvim] Disable some plugins, configure some
This commit is contained in:
parent
3b15e1e737
commit
91a9cd7351
1 changed files with 22 additions and 8 deletions
|
@ -202,14 +202,14 @@ call plug#begin('~/.config/nvim/plug')
|
|||
Plug 'honza/vim-snippets' " snippets for ultisnips
|
||||
Plug 'junegunn/vim-easy-align' " easily align text in Alexander Approved™ ways
|
||||
Plug 'matze/vim-move' " move lines and selections up and down
|
||||
Plug 'kana/vim-operator-user' " define your own operator easily
|
||||
"Plug 'junegunn/vim-peekaboo' " preview registers when pressing \" or @
|
||||
"Plug 'kana/vim-operator-user' " define your own operator easily
|
||||
Plug 'junegunn/vim-peekaboo' " preview registers when pressing \" or @
|
||||
Plug 'gcmt/wildfire.vim' " smart selection of the closest text object
|
||||
Plug 'Valloric/YouCompleteMe', { 'do': 'git submodule update --init --recursive && ./install.py --system-libclang --all' } " code-completion engine
|
||||
|
||||
" Navigation
|
||||
"Plug 'ctrlpvim/ctrlp.vim' " fuzzy file, buffer, mru, tag, etc. finder
|
||||
Plug 'dyng/ctrlsf.vim' " search for code and edit it in-place
|
||||
Plug 'ctrlpvim/ctrlp.vim' " fuzzy file, buffer, mru, tag, etc. finder
|
||||
Plug 'dyng/ctrlsf.vim' " search for code, edit it in-place, have multiple cursors
|
||||
Plug 'Yggdroot/indentLine' " display the indention levels with thin vertical lines
|
||||
Plug 'scrooloose/nerdtree' " filesystem tree explorer
|
||||
Plug 'majutsushi/tagbar' " display tags in a window, ordered by scope
|
||||
|
@ -229,9 +229,9 @@ call plug#begin('~/.config/nvim/plug')
|
|||
"Plug 'dbmrq/vim-ditto' " highlight overused words
|
||||
|
||||
" Misc
|
||||
Plug 'kassio/neoterm', { 'on': 'T' } " wrapper of some neovim's :terminal functions
|
||||
"Plug 'kassio/neoterm', { 'on': 'T' } " wrapper of some neovim's :terminal functions
|
||||
"Plug 'tpope/vim-fugitive' " a Git wrapper
|
||||
Plug 'vim-scripts/TeTrIs.vim' " Tetris clone
|
||||
"Plug 'vim-scripts/TeTrIs.vim' " Tetris clone
|
||||
|
||||
call plug#end()"
|
||||
|
||||
|
@ -342,6 +342,8 @@ nmap <leader>a <Plug>(EasyAlign)
|
|||
|
||||
" Wildfire {{{2
|
||||
" -------------
|
||||
nmap <leader>s <Plug>(wildfire-quick-select)
|
||||
let g:wildfire_objects = ["iw", "i'", 'i"', "i)", "i]", "i}", "ip", "it"]
|
||||
|
||||
" YouCompleteMe {{{2
|
||||
" ------------------
|
||||
|
@ -365,12 +367,24 @@ set completeopt=menu
|
|||
|
||||
" CtrlP {{{2
|
||||
" ----------
|
||||
let g:ctrlp_map='<leader>l'
|
||||
let g:ctrlp_map='<C-Space>'
|
||||
let g:ctrlp_user_command=['.git/', 'git --git-dir=%s/.git ls-files . -co --exclude-standard']
|
||||
nnoremap <leader>s :CtrlPTag<CR>"
|
||||
"nnoremap <leader>s :CtrlPTag<CR>"
|
||||
|
||||
" Ctrl-S-F {{{2
|
||||
" -------------
|
||||
nmap <C-F>f <Plug>CtrlSFPrompt
|
||||
nmap <C-F><C-F> <C-F>f
|
||||
vmap <C-F>f <Plug>CtrlSFVwordExec
|
||||
vmap <C-F><C-F> <C-F>f
|
||||
vmap <C-F>F <Plug>CtrlSFVwordPath
|
||||
nmap <C-F>w <Plug>CtrlSFCwordPath
|
||||
nmap <C-F>W <Plug>CtrlSFCCwordPath
|
||||
nmap <C-F><Up> <Plug>CtrlSFPwordPath
|
||||
nnoremap <silent> <C-F>o :CtrlSFOpen<CR>
|
||||
nnoremap <silent> <C-F>t :CtrlSFToggle<CR>
|
||||
inoremap <silent> <C-F>t <Esc>:CtrlSFToggle<CR>
|
||||
let g:ctrlsf_regex_pattern = 1
|
||||
|
||||
" IndentLine {{{2
|
||||
" ---------------
|
||||
|
|
Loading…
Reference in a new issue