Skip to content

Commit

Permalink
✨feat: mapping dA,dI to textobj-twochars
Browse files Browse the repository at this point in the history
  • Loading branch information
utubo committed Oct 25, 2023
1 parent bd8b01a commit 4774793
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,8 @@ au vimrc ModeChanged *:c CC()
Each f,b nmap <C-{}> <C-{}><SID>(hold-ctrl)
Each f,b nnoremap <script> <SID>(hold-ctrl){} <C-{}><SID>(hold-ctrl)
nm <SID>(hold-ctrl) <Nop>
CmdEach onoremap,xnoremap A <Plug>(textobj-twochars-a)
CmdEach onoremap,xnoremap I <Plug>(textobj-twochars-i)
nn <Space>w <C-w>w
nn <Space>o <C-w>w
nn <Space><Space>p o<Esc>P
Expand Down
3 changes: 3 additions & 0 deletions src/.vimrc.src.vim
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,9 @@ Each f,b nmap <C-{}> <C-{}><SID>(hold-ctrl)
Each f,b nnoremap <script> <SID>(hold-ctrl){} <C-{}><SID>(hold-ctrl)
nmap <SID>(hold-ctrl) <Nop>
CmdEach onoremap,xnoremap A <Plug>(textobj-twochars-a)
CmdEach onoremap,xnoremap I <Plug>(textobj-twochars-i)
#noremap <F1> <Cmd>smile<CR>
#}}} -------------------------------------------------------

Expand Down

0 comments on commit 4774793

Please sign in to comment.