mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-02 09:21:40 +02:00
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 :)
This commit is contained in:
parent
f5c55f066b
commit
1494a3863d
@ -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)},
|
||||
|
Loading…
Reference in New Issue
Block a user