vim: sneak

This commit is contained in:
Michael Grote 2021-12-21 21:28:47 +01:00
parent aa4353d971
commit 6a9de406ae
2 changed files with 24 additions and 17 deletions

6
.vimrc
View file

@ -10,6 +10,8 @@ Plugin 'VundleVim/Vundle.vim'
Plugin 'sheerun/vim-polyglot' Plugin 'sheerun/vim-polyglot'
" fuzzy finder " fuzzy finder
Plugin 'ctrlpvim/ctrlp.vim' Plugin 'ctrlpvim/ctrlp.vim'
" sneak motion
Plugin 'justinmk/vim-sneak'
" Shellcheck Integration " Shellcheck Integration
Plugin 'itspriddle/vim-shellcheck' Plugin 'itspriddle/vim-shellcheck'
" git integration G: " git integration G:
@ -142,6 +144,9 @@ let g:startify_lists = [
\ { 'type': 'commands', 'header': [' Commands'] }, \ { 'type': 'commands', 'header': [' Commands'] },
\ ] \ ]
" ### vim-sneak
let g:sneak#s_next = 1
" ### Keybindings " ### Keybindings
" deaktiviere Ex-Mode keybinding " deaktiviere Ex-Mode keybinding
@ -177,6 +182,7 @@ cmap w!! w !sudo tee % > /dev/null
" Start interactive EasyAlign in visual mode (e.g. vipga) " Start interactive EasyAlign in visual mode (e.g. vipga)
xmap ga <Plug>(EasyAlign) xmap ga <Plug>(EasyAlign)
" ### Abbreviations " ### Abbreviations
iabbrev ncicht nicht iabbrev ncicht nicht
iabbrev nciht nicht iabbrev nciht nicht

View file

@ -21,6 +21,7 @@ Leader = `,`
| Ctrl+k/l | wechsle Buffer ab/aufwärts | | Ctrl+k/l | wechsle Buffer ab/aufwärts |
| \\\\\ | Setze mehrfachen Cursor oder Ctrl-n dann Enter pro Cursor | # 3x \ | \\\\\ | Setze mehrfachen Cursor oder Ctrl-n dann Enter pro Cursor | # 3x \
| * | Suche Wort unter dem Cursor | | * | Suche Wort unter dem Cursor |
| s<char><char> | Sucht nach dem nächsten Vorkommen der beiden Buchstaben, Wiederholung mit `s` |
# Tipps # Tipps