Skip to content

Commit

Permalink
Add tab switching binds with Alt+{1,2,3,...}
Browse files Browse the repository at this point in the history
  • Loading branch information
mason-larobina committed Sep 14, 2010
1 parent 9ef2c6d commit feb8255
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/binds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,12 @@ binds.mode_binds = {
insert = { },
}

-- Switching tabs with Mod1+{1,2,3,...}
for i=1,10 do
table.insert(binds.mode_binds.normal,
key({"Mod1"}, tostring(i % 10), function (w) w.tabs:switch(i) end))
end

-- Command bindings which are matched in the "command" mode from text
-- entered into the input bar.
binds.commands = {
Expand Down

0 comments on commit feb8255

Please sign in to comment.