nvim: Add some more text object plugins

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-03-01 20:29:53 +05:30
parent 8bd94d224f
commit 730257512d

View file

@ -75,13 +75,18 @@ Plug 'neomake/neomake'
Plug 'sk1418/QFGrep'
Plug 'ronakg/quickr-cscope.vim'
Plug 'stefandtw/quickfix-reflector.vim'
" Absolute essentials miscellaneous
" Text Object plugins
Plug 'kana/vim-textobj-user'
Plug 'danidiaz/vim-textobj-do-block'
Plug 'michaeljsmith/vim-indent-object'
Plug 'wellle/targets.vim'
Plug 'tpope/vim-surround'
Plug 'junegunn/vim-easy-align'
" Absolute essentials miscellaneous
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-sleuth'
Plug 'tpope/vim-vinegar'
Plug 'wellle/targets.vim'
Plug 'Yggdroot/indentLine'
" LC related
Plug 'liuchengxu/vista.vim'
@ -363,6 +368,11 @@ nnoremap aj :AnyJump<CR>
nnoremap ab :AnyJumpBack<CR>
nnoremap al :AnyJumpLastResults<CR>
" Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign)
" Start interactive EasyAlign for a motion/text object (e.g. gaip)
nmap ga <Plug>(EasyAlign)
command! -bang -nargs=* GGrep
\ call fzf#vim#grep(
\ 'git grep --line-number '.shellescape(<q-args>), 0,