summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-01-08 19:47:22 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-01-08 19:47:22 -0500
commit7bdf0b7c9d0488a988a0c56ae8f80b2081c300e7 (patch)
tree2c27bd151230e9377334fcfeecf7c8295d328178 /config
parent55d7c62edfc0953b0e2675b9de2c093b0c306dcb (diff)
add preliminary tab support
Diffstat (limited to 'config')
-rw-r--r--config/keymap.toml24
1 files changed, 19 insertions, 5 deletions
diff --git a/config/keymap.toml b/config/keymap.toml
index 6a0050e..de5dccd 100644
--- a/config/keymap.toml
+++ b/config/keymap.toml
@@ -3,6 +3,11 @@ keys = [ "q" ]
command = "quit"
[[mapcommand]]
+keys = [ "R" ]
+command = "reload_dir_list"
+
+
+[[mapcommand]]
keys = [ "Up" ]
command = "cursor_move"
args = [ "-1" ]
@@ -130,16 +135,25 @@ keys = [ "/" ]
command = "search"
+[[mapcommand]]
+keys = [ "t", "t" ]
+command = "new_tab"
-## Features not yet implemented
+[[mapcommand]]
+keys = [ "w", "w" ]
+command = "close_tab"
[[mapcommand]]
-keys = [ "R" ]
-command = "reload_dir_list"
+keys = [ "[" ]
+command = "tab_switch"
+args = [ "-1" ]
[[mapcommand]]
-keys = [ "Ctrl", "t" ]
-command = "new_tab"
+keys = [ "]" ]
+command = "tab_switch"
+args = [ "1" ]
+
+## Features not yet implemented
[[mapcommand]]
keys = [ "b", "b" ]