summaryrefslogtreecommitdiffstats
path: root/pkg/gui
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-25 20:44:36 +1000
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2020-08-25 10:48:13 +0000
commit1494a3863da457eb023178fdcc0512d59e73acbe (patch)
tree3100b5747e6084b2b5fac6816c38e1e4aea91e4f /pkg/gui
parentf5c55f066b72b3c2445b69aa359fa3fef7c8fd24 (diff)
Remove tab keybinding for cycling tab
This keybinding has been more pain than it's worth. Having a tab keybinding to cycle tabs implies that you can shift+tab and when you shift+tab the application exits because termbox, our dependency, doesn't know how to interpret the escape sequence (so it takes it for an actual ESC key which will exit lazygit at the top level). If people get mad at me they can set nextBlock-alt to <tab> and they'll have the functionality back :)
Diffstat (limited to 'pkg/gui')
-rw-r--r--pkg/gui/keybindings.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 19b576c06..833381207 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -1529,7 +1529,6 @@ func (gui *Gui) GetInitialKeybindings() []*Binding {
for _, viewName := range []string{"status", "branches", "files", "commits", "commitFiles", "stash", "menu"} {
bindings = append(bindings, []*Binding{
- {ViewName: viewName, Key: gui.getKey("universal.togglePanel"), Modifier: gocui.ModNone, Handler: gui.wrappedHandler(gui.nextSideWindow)},
{ViewName: viewName, Key: gui.getKey("universal.prevBlock"), Modifier: gocui.ModNone, Handler: gui.wrappedHandler(gui.previousSideWindow)},
{ViewName: viewName, Key: gui.getKey("universal.nextBlock"), Modifier: gocui.ModNone, Handler: gui.wrappedHandler(gui.nextSideWindow)},
{ViewName: viewName, Key: gui.getKey("universal.prevBlock-alt"), Modifier: gocui.ModNone, Handler: gui.wrappedHandler(gui.previousSideWindow)},