From 20c3128b112d4b3e305b72d05cc5c024eb4ae862 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Mon, 30 Aug 2021 11:27:12 +0200 Subject: [PATCH] vim: add mapping to lisr buffers and switch --- nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index ebbe69e..bdc9820 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -175,6 +175,9 @@ nnoremap l nnoremap :tabprevious nnoremap :tabnext +" show list of buffers and prepare to switch +nnoremap bf :ls:b + " quickly change background nnoremap bg \ :let &background = &background ==? 'light' ? 'dark' : 'light'