From 1097053f9e16ce669917b635b1395847280b9521 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 21 Nov 2021 11:06:52 +0100 Subject: [PATCH] vim: buffer in tabline --- .vimrc | 6 +++++- README.md | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 882c3b0..faf1380 100644 --- a/.vimrc +++ b/.vimrc @@ -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 :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=escape(@",'/\') - +" Navigate tabs +nnoremap :bnext +nnoremap :bprev diff --git a/README.md b/README.md index 32bcb91..f439770 100644 --- a/README.md +++ b/README.md @@ -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 \