diff --git a/.vim/user_tips.vim b/.vim/user_tips.vim index 92a5a2d..c553d8b 100644 --- a/.vim/user_tips.vim +++ b/.vim/user_tips.vim @@ -12,6 +12,7 @@ let g:user_tips_list= [ \ 'packadd cfilter', \ 'Next word location → ]I [I ] []I [I', \ ':w !sudo tee > /dev/null %', + \ 'v`]o`[ visual last change — https://www.reddit.com/r/vim/comments/ypt6uf/comment/ivl68xu/?utm_source=share&utm_medium=web2x&context=3', \ '`0·`"·`.·`` … last exit·edit·change·pre-jump … also g''*', \ 'q: q? q/ … @: ? / :& , ;', \ ' … :h ins-completion', diff --git a/.vimrc b/.vimrc index c5e6bcc..7eb0308 100644 --- a/.vimrc +++ b/.vimrc @@ -250,10 +250,6 @@ nnoremap a for l in [ 'y', 'p', 'P', 'd' ] | for m in [ 'n', 'v' ] execute m.'noremap '.l.' "+'.l | endfor | endfor - " ik ak (last change pseudo-text objects) – src: https://www.reddit.com/r/vim/comments/ypt6uf/comment/ivl68xu/?utm_source=share&utm_medium=web2x&context=3 - xnoremap ik `]o`[ - onoremap ik :normal vik - onoremap ak :normal vikV " FOLDS command! -nargs=0 SETFOLDregions set foldmethod=marker command! -nargs=1 SETFOLDindent set foldmethod=indent | let &foldlevel= | let &foldnestmax=+1