mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
add text objects for entire buffer
This commit is contained in:
parent
6b192cecbd
commit
647a2616f0
@ -184,6 +184,11 @@ nnoremap <Right> <C-W>l
|
||||
nnoremap <Up> <C-W>k
|
||||
nnoremap <Down> <C-W>j
|
||||
|
||||
" Text objects for URL
|
||||
xnoremap <silent> iu :<C-U>call text_obj#URL()<CR>
|
||||
onoremap <silent> iu :<C-U>call text_obj#URL()<CR>
|
||||
|
||||
" Text objects for entire buffer
|
||||
xnoremap <silent> iB 0ggoG
|
||||
onoremap <silent> iB :normal viB<CR>
|
||||
"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user