diff --git a/.vimrc b/.vimrc index 9053723..feb9c17 100644 --- a/.vimrc +++ b/.vimrc @@ -50,7 +50,7 @@ set smartcase " Show line numbers. set number " toggle linenumbers -nmap z :set nonu! +nmap z :set nonu! " ### 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 @@ -108,9 +108,9 @@ let g:ctrlp_extensions = ['line', 'undo'] hi QuickFixLine ctermbg=black guibg=black " mit , + n/p wechsele den Eintrag im Quickfix-Windows vor/zurück " mit , c Offne ShellCheck im QUickfix Windows -nnoremap n :cn -nnoremap p :cp -nnoremap c :ShellCheck! +nnoremap n :cn +nnoremap p :cp +nnoremap c :ShellCheck! " ### lightline/statusline " blende insert/visual/... in der commandline aus, steht in lightline @@ -130,7 +130,7 @@ function! GitBranch() return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'") endfunction " ### markdown-preview -nmap m :MarkdownPreviewToggle +nmap m :MarkdownPreviewToggle " ### vim startify " returns all modified files of the current git repo @@ -165,11 +165,9 @@ let g:startify_lists = [ nmap :q " Ctrl+S zum speichern nmap :w -" leader-key -let mapleader = "," " Navigate tabs nnoremap :bnext nnoremap :bprev " Saner CTRL-L " https://github.com/mhinz/vim-galore#saner-ctrl-l -nnoremap l :nohlsearch:diffupdate:syntax sync fromstart +nnoremap l :nohlsearch:diffupdate:syntax sync fromstart diff --git a/README.md b/README.md index 2c1148e..6b61c12 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # dotfiles # vim shortcuts - +`Leader = \` | Shortcut | Befehl | | -- | -- | | Leader+z | Toggle Line Numbers |