summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorCaleb Bassi <calebjbassi@gmail.com>2019-01-30 18:11:34 -0800
committerCaleb Bassi <calebjbassi@gmail.com>2019-01-30 18:11:34 -0800
commit5a40d90231cd77b0442aba2696ee4b3146cbec62 (patch)
treed467dc14c6de27b8619c818a8bb89250cdf56ad6 /config
parent7585db6db273b11d8725190a034520dd1251b297 (diff)
Add vim keys to default keymap config file
Diffstat (limited to 'config')
-rw-r--r--config/keymap.toml26
1 files changed, 25 insertions, 1 deletions
diff --git a/config/keymap.toml b/config/keymap.toml
index d511e2e..12fd90f 100644
--- a/config/keymap.toml
+++ b/config/keymap.toml
@@ -13,20 +13,37 @@ command = "cursor_move"
args = [ "-1" ]
[[mapcommand]]
+keys = [ "k" ]
+command = "cursor_move"
+args = [ "-1" ]
+
+[[mapcommand]]
keys = [ "Down" ]
command = "cursor_move"
args = [ "1" ]
+[[mapcommand]]
+keys = [ "j" ]
+command = "cursor_move"
+args = [ "1" ]
[[mapcommand]]
keys = [ "Left" ]
command = "parent_directory"
[[mapcommand]]
+keys = [ "h" ]
+command = "parent_directory"
+
+[[mapcommand]]
keys = [ "Right" ]
command = "open_file"
[[mapcommand]]
+keys = [ "l" ]
+command = "open_file"
+
+[[mapcommand]]
keys = [ "Enter" ]
command = "open_file"
@@ -36,9 +53,17 @@ keys = [ "Home" ]
command = "cursor_move_home"
[[mapcommand]]
+keys = [ "g", "g" ]
+command = "cursor_move_home"
+
+[[mapcommand]]
keys = [ "End" ]
command = "cursor_move_end"
+[[mapcommand]]
+keys = [ "G" ]
+command = "cursor_move_end"
+
[[mapcommand]]
keys = [ "PageUp" ]
@@ -166,4 +191,3 @@ command = "set_mode"
[[mapcommand]]
keys = [ "b", "b" ]
command = "bulk_rename"
-