From 5272eb3f1949bafc578e04e28102bb8c5196efcb Mon Sep 17 00:00:00 2001 From: Henri <52706578+Vanderscycle@users.noreply.github.com> Date: Sat, 8 May 2021 20:44:34 -0700 Subject: [PATCH 1/5] Update README.md The Readme keys were not matching the defined keys in top-bufferline.lua --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cc96b0..198f126 100644 --- a/README.md +++ b/README.md @@ -208,9 +208,9 @@ I'd install it first and add its setup line : - **Managing tabs with bufferline!** -- Shift l or s cycle through opened tabs -- Shift d close current tab -- Shift b open new tab +- Shift , or . cycle through opened tabs +- Shift x close current tab +- Shift t open new tab # TODO From dc78a130533a8520bad958e400035c8804b233c4 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Sat, 8 May 2021 22:21:29 -0700 Subject: [PATCH 2/5] 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) From 998d6c1e8030fc061140785ceda89b543aa4e2c4 Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Sat, 8 May 2021 22:52:16 -0700 Subject: [PATCH 3/5] Revert "Update README.md" This reverts commit 5272eb3f1949bafc578e04e28102bb8c5196efcb. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 433f2ad..c1cfced 100644 --- a/README.md +++ b/README.md @@ -208,9 +208,15 @@ I'd install it first and add its setup line : - **Managing tabs with bufferline!** +<<<<<<< HEAD - Shift l or p cycle through opened tabs - Shift x close current tab - Shift t open new tab +======= +- Shift l or s cycle through opened tabs +- Shift d close current tab +- Shift b open new tab +>>>>>>> parent of 5272eb3 (Update README.md) # TODO From 9783f8778747a222ac5faf3b54af649b8d0a89ae Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Sat, 8 May 2021 22:57:38 -0700 Subject: [PATCH 4/5] adjusted the bindings to be TAB and S-TAB for buffers. --- README.md | 6 +++--- lua/top-bufferline.lua | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c1cfced..0ef17d1 100644 --- a/README.md +++ b/README.md @@ -213,9 +213,9 @@ I'd install it first and add its setup line : - Shift x close current tab - Shift t open new tab ======= -- Shift l or s cycle through opened tabs -- Shift d close current tab -- Shift b open new tab +- Shift TAB or Shift TAB cycle through opened tabs +- Shift x close current tab +- Shift t open new tab >>>>>>> parent of 5272eb3 (Update README.md) # TODO diff --git a/lua/top-bufferline.lua b/lua/top-bufferline.lua index 3ed1c8a..bcf5048 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) -- Another alternate is TAB/S-TAB or C-,/C-. -map("n", "", [[BufferLineCyclePrev]], opt) +map("n", "", [[BufferLineCycleNext]], opt) +map("n", "", [[BufferLineCyclePrev]], opt) From 215b52db16574f889c357a7ba155d3f9c09dae3a Mon Sep 17 00:00:00 2001 From: Henri Vandersleyen Date: Sat, 8 May 2021 23:00:44 -0700 Subject: [PATCH 5/5] fixed my revert errors. --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 0ef17d1..dd61101 100644 --- a/README.md +++ b/README.md @@ -208,15 +208,9 @@ I'd install it first and add its setup line : - **Managing tabs with bufferline!** -<<<<<<< HEAD -- Shift l or p cycle through opened tabs -- Shift x close current tab -- Shift t open new tab -======= - Shift TAB or Shift TAB cycle through opened tabs - Shift x close current tab - Shift t open new tab ->>>>>>> parent of 5272eb3 (Update README.md) # TODO