vim: setze cursorline
This commit is contained in:
parent
7aff4c5a52
commit
365873fae7
2 changed files with 15 additions and 11 deletions
11
.vimrc
11
.vimrc
|
@ -46,12 +46,11 @@ set ignorecase
|
|||
" Override the 'ignorecase' option if the search pattern contains upper case characters.
|
||||
set smartcase
|
||||
|
||||
" ### Nummern
|
||||
" Show line numbers.
|
||||
set number
|
||||
" toggle linenumbers
|
||||
nmap <Leader>z :set nonu!<CR>
|
||||
|
||||
" setze cursorline
|
||||
set cursorline
|
||||
highlight CursorLine cterm=NONE ctermbg=green ctermfg=white guibg=darkred guifg=white
|
||||
" ### 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
|
||||
set wildmode=longest,list,full
|
||||
|
@ -171,3 +170,7 @@ nnoremap <C-k> :bprev<CR>
|
|||
" Saner CTRL-L
|
||||
" https://github.com/mhinz/vim-galore#saner-ctrl-l
|
||||
nnoremap <Leader>l :nohlsearch<cr>:diffupdate<cr>:syntax sync fromstart<cr><c-l>
|
||||
" toggle linenumbers
|
||||
nmap <Leader>z :set nonu!<CR>
|
||||
" toggle cursorline
|
||||
nmap <Leader>h :set nocursorline!<CR>
|
||||
|
|
15
README.md
15
README.md
|
@ -5,16 +5,17 @@
|
|||
| Shortcut | Befehl |
|
||||
| -- | -- |
|
||||
| Leader+z | Toggle Line Numbers |
|
||||
| Ctrl+f | Fuzzy Search nach Dateien |
|
||||
| Ctrl+l | Fuzzy Search nach Zeilen in Datei |
|
||||
| Leader+m |Toggle Markdown Preview |
|
||||
| Leader+p | Toggle Paste-Mode |
|
||||
| Leader+h | Toggle Cursorline |
|
||||
| Leader+c | Öffnet ShellCheck; gb öffnet die Definition auf github|
|
||||
| Leader+l | Setze Highlighting + Suche neu |
|
||||
| Ctrl+j | wechsele Buffer aufwärts |
|
||||
| Ctrl+s | Speichern |
|
||||
| Ctrl+w | Schließen |
|
||||
| Leader+l | Setze Highlighting + Suche neu |
|
||||
| Leader+p | Toggle Paste-Mode |
|
||||
| Ctrl+j | wechsele Buffer aufwärts |
|
||||
| Ctrl+k | wechsele Buffer abwärts |
|
||||
| leader+c | Öffnet ShellCheck; gb öffnet die Definition auf github|
|
||||
| Ctrl+f | Fuzzy Search nach Dateien |
|
||||
| Ctrl+l | Fuzzy Search nach Zeilen in Datei |
|
||||
| Ctrl+k/l | wechsle Buffer ab/aufwärts |
|
||||
| \\\\\ | Setze mehrfachen Cursor oder Ctrl-n dann Enter pro Cursor| # 3x \
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue