vim: leader angepasst
This commit is contained in:
parent
243a74191d
commit
399c277ab8
2 changed files with 6 additions and 22 deletions
2
.vimrc
2
.vimrc
|
@ -50,7 +50,7 @@ set smartcase
|
||||||
" Show line numbers.
|
" Show line numbers.
|
||||||
set number
|
set number
|
||||||
" toggle linenumbers
|
" toggle linenumbers
|
||||||
nmap <C-n> :set nonu!<CR>
|
nmap <leader>z :set nonu!<CR>
|
||||||
|
|
||||||
" ### Kommandovervollständigung
|
" ### Kommandovervollständigung
|
||||||
" https://www.reddit.com/r/vim/comments/oo9gms/any_way_to_get_vim_to_not_defaulting_to_the_first/h5wygix/?context=8&depth=9
|
" https://www.reddit.com/r/vim/comments/oo9gms/any_way_to_get_vim_to_not_defaulting_to_the_first/h5wygix/?context=8&depth=9
|
||||||
|
|
26
README.md
26
README.md
|
@ -1,37 +1,21 @@
|
||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
my usual dotfiles..
|
|
||||||
- i3
|
|
||||||
- rofi
|
|
||||||
- polybar
|
|
||||||
- vim
|
|
||||||
- tmux
|
|
||||||
- bash
|
|
||||||
- git
|
|
||||||
- flameshot
|
|
||||||
- alacritty
|
|
||||||
- feh
|
|
||||||
|
|
||||||
|
|
||||||
Tested on Ubuntu >=20.04
|
|
||||||
|
|
||||||
# vim shortcuts
|
# vim shortcuts
|
||||||
|
|
||||||
| Shortcut | Befehl |
|
| Shortcut | Befehl |
|
||||||
| -- | -- |
|
| -- | -- |
|
||||||
| Ctrl+n | Toggle Line Numbers |
|
| Leader+z | Toggle Line Numbers |
|
||||||
| 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+m |Toggle Markdown Preview |
|
| Leader+m |Toggle Markdown Preview |
|
||||||
| Ctrl+s | Speichern |
|
| Ctrl+s | Speichern |
|
||||||
| Ctrl+w | Schließen |
|
| Ctrl+w | Schließen |
|
||||||
| Ctrl+l | Setze Highlighting + Suche neu |
|
| Leader+l | Setze Highlighting + Suche neu |
|
||||||
| Leader+p | Toggle Paste-Mode |
|
| Leader+p | Toggle Paste-Mode |
|
||||||
| Ctrl+j | wechsele Buffer aufwärts |
|
| Ctrl+j | wechsele Buffer aufwärts |
|
||||||
| Ctrl+k | wechsele Buffer abwärts |
|
| Ctrl+k | wechsele Buffer abwärts |
|
||||||
| :ShellCheck! | Offnet ShellCheck; gb öffnet die Definition auf github|
|
| leader+c | Öffnet ShellCheck; gb öffnet die Definition auf github|
|
||||||
| // | Suche Begriff unter Cursor |
|
| \\\\\ | Setze mehrfachen Cursor oder Ctrl-n dann Enter pro Cursor| # 3x \
|
||||||
| \\\\\ | Setze mehrfachen Cursor| # 3x \
|
|
||||||
|
|
||||||
|
|
||||||
# tmux shortcuts
|
# tmux shortcuts
|
||||||
|
|
Loading…
Reference in a new issue