vim: sneak
This commit is contained in:
parent
aa4353d971
commit
6a9de406ae
2 changed files with 24 additions and 17 deletions
6
.vimrc
6
.vimrc
|
@ -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
|
||||||
|
|
35
README.md
35
README.md
|
@ -4,23 +4,24 @@
|
||||||
|
|
||||||
Leader = `,`
|
Leader = `,`
|
||||||
|
|
||||||
| Shortcut | Befehl |
|
| Shortcut | Befehl |
|
||||||
| -- | -- |
|
| -- | -- |
|
||||||
| Leader+z | Toggle Line Numbers |
|
| Leader+z | Toggle Line Numbers |
|
||||||
| Leader+m | Toggle Markdown Preview |
|
| Leader+m | Toggle Markdown Preview |
|
||||||
| Leader+p | Toggle Paste-Mode |
|
| Leader+p | Toggle Paste-Mode |
|
||||||
| Leader+h | Toggle Cursorline |
|
| Leader+h | Toggle Cursorline |
|
||||||
| Ctrl+j/k | wechsle Buffer ab/aufwärts |
|
| Ctrl+j/k | wechsle Buffer ab/aufwärts |
|
||||||
| Leader+dh | Setze Highlighting + Suche neu |
|
| Leader+dh | Setze Highlighting + Suche neu |
|
||||||
| Leader+sc | Öffnet ShellCheck; gb öffnet die Definition auf github |
|
| Leader+sc | Öffnet ShellCheck; gb öffnet die Definition auf github |
|
||||||
| cn/cp | Wechsle durch Quickfix-Windows hoch/runter |
|
| cn/cp | Wechsle durch Quickfix-Windows hoch/runter |
|
||||||
| Ctrl+s | Speichern |
|
| Ctrl+s | Speichern |
|
||||||
| Ctrl+w | Schließen |
|
| Ctrl+w | Schließen |
|
||||||
| Ctrl+f | Fuzzy Search nach Dateien |
|
| Ctrl+f | Fuzzy Search nach Dateien |
|
||||||
| Ctrl+l | Fuzzy Search nach Zeilen in Datei |
|
| Ctrl+l | Fuzzy Search nach Zeilen in Datei |
|
||||||
| 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue