mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
parent
5acfa519df
commit
be8c917beb
@ -180,4 +180,12 @@ onoremap <silent> iu :<C-U>call text_obj#URL()<CR>
|
||||
" Text objects for entire buffer
|
||||
xnoremap <silent> iB :<C-U>call text_obj#Buffer()<CR>
|
||||
onoremap <silent> iB :<C-U>call text_obj#Buffer()<CR>
|
||||
|
||||
" Do not move my cursor when joining lines.
|
||||
nnoremap J mzJ`z
|
||||
|
||||
" Break inserted text into smaller undo units.
|
||||
for ch in [',', '.', '!', '?', ';', ':']
|
||||
execute printf('inoremap %s %s<C-g>u', ch, ch)
|
||||
endfor
|
||||
"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user