vim: buffer in tabline

This commit is contained in:
Michael Grote 2021-11-21 11:06:52 +01:00
parent 8dd9e583e3
commit 1097053f9e
2 changed files with 7 additions and 2 deletions

6
.vimrc
View file

@ -16,6 +16,8 @@ Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-sleuth'
" statusline
Plugin 'itchyny/lightline.vim'
" buffer in tabline
Plugin 'ap/vim-buftabline'
" multi cursor; setze cursor mit \\\
Plugin 'mg979/vim-visual-multi'
" Markdown-Preview in Browser
@ -135,5 +137,7 @@ nmap <C-g> :tab G
" markiere text im visual mode; suche dann danach mit // im visual-mode
" https://vim.fandom.com/wiki/Search_for_visually_selected_text
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>
" Navigate tabs
nnoremap <C-j> :bnext<CR>
nnoremap <C-k> :bprev<CR>

View file

@ -25,7 +25,8 @@ Tested on Ubuntu >=20.04
| Ctrl+m |Toggle Markdown Preview |
| Ctrl+s | Speichern |
| Ctrl+p | Toggle Paste-Mode |
| Ctrl+t | Neuer Tab |
| Ctrl+j | wechsele Buffer aufwärts |
| Ctrl+k | wechsele Buffer abwärts |
| // | Suche Begriff unter Cursor |
| \\\\\ | Setze merhfachen Cursor| # 3x \