From dc78a130533a8520bad958e400035c8804b233c4 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Sat, 8 May 2021 22:21:29 -0700 Subject: [PATCH] restored the tab binding to the original shift l | p. Consideration should be given by the owner of the repo if C-,|C-. is better as a binding. --- README.md | 2 +- lua/top-bufferline.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 198f126..433f2ad 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,7 @@ I'd install it first and add its setup line : - **Managing tabs with bufferline!** -- Shift , or . cycle through opened tabs +- Shift l or p cycle through opened tabs - Shift x close current tab - Shift t open new tab diff --git a/lua/top-bufferline.lua b/lua/top-bufferline.lua index d5680d6..3ed1c8a 100644 --- a/lua/top-bufferline.lua +++ b/lua/top-bufferline.lua @@ -73,5 +73,5 @@ map("n", "", [[tabnew]], opt) map("n", "", [[bdelete]], opt) -- tabnew and tabprev -map("n", "", [[BufferLineCycleNext]], opt) -map("n", "", [[BufferLineCyclePrev]], opt) +map("n", "", [[BufferLineCycleNext]], opt) -- Another alternate is TAB/S-TAB or C-,/C-. +map("n", "", [[BufferLineCyclePrev]], opt)