Skip to content

Instantly share code, notes, and snippets.

@quigybo
Created October 4, 2010 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quigybo/609281 to your computer and use it in GitHub Desktop.
Save quigybo/609281 to your computer and use it in GitHub Desktop.
diff --git a/config/binds.lua b/config/binds.lua
index 950695b..e41f252 100644
--- a/config/binds.lua
+++ b/config/binds.lua
@@ -278,7 +278,7 @@ binds.mode_binds = {
key({}, "Down", function (w) w.menu:move_down() end),
key({}, "Up", function (w) w.menu:move_up() end),
key({}, "Tab", function (w) w.menu:move_down() end),
- key({"Shift"}, "Tab", function (w) w.menu:mode_up() end),
+ key({"Shift"}, "Tab", function (w) w.menu:move_up() end),
-- Delete closed tab
key({}, "d", function (w)
local row = w.menu:get()
@@ -308,7 +308,7 @@ binds.mode_binds = {
if row and row.uid then
for i, tab in ipairs(w.closed_tabs) do
if tab.uid == row.uid then
- window.new(table.remove(w.closed_tabs, i).hist)
+ window.new({table.remove(w.closed_tabs, i).hist})
return
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment