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

View file

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