vim: buffer in tabline
This commit is contained in:
parent
8dd9e583e3
commit
1097053f9e
2 changed files with 7 additions and 2 deletions
6
.vimrc
6
.vimrc
|
@ -16,6 +16,8 @@ Plugin 'tpope/vim-fugitive'
|
||||||
Plugin 'tpope/vim-sleuth'
|
Plugin 'tpope/vim-sleuth'
|
||||||
" statusline
|
" statusline
|
||||||
Plugin 'itchyny/lightline.vim'
|
Plugin 'itchyny/lightline.vim'
|
||||||
|
" buffer in tabline
|
||||||
|
Plugin 'ap/vim-buftabline'
|
||||||
" multi cursor; setze cursor mit \\\
|
" multi cursor; setze cursor mit \\\
|
||||||
Plugin 'mg979/vim-visual-multi'
|
Plugin 'mg979/vim-visual-multi'
|
||||||
" Markdown-Preview in Browser
|
" 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
|
" markiere text im visual mode; suche dann danach mit // im visual-mode
|
||||||
" https://vim.fandom.com/wiki/Search_for_visually_selected_text
|
" https://vim.fandom.com/wiki/Search_for_visually_selected_text
|
||||||
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>
|
vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR>
|
||||||
|
" Navigate tabs
|
||||||
|
nnoremap <C-j> :bnext<CR>
|
||||||
|
nnoremap <C-k> :bprev<CR>
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,8 @@ Tested on Ubuntu >=20.04
|
||||||
| Ctrl+m |Toggle Markdown Preview |
|
| Ctrl+m |Toggle Markdown Preview |
|
||||||
| Ctrl+s | Speichern |
|
| Ctrl+s | Speichern |
|
||||||
| Ctrl+p | Toggle Paste-Mode |
|
| 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 |
|
| // | Suche Begriff unter Cursor |
|
||||||
| \\\\\ | Setze merhfachen Cursor| # 3x \
|
| \\\\\ | Setze merhfachen Cursor| # 3x \
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue