summaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorath32021-11-01 19:52:47 +0000
committerBlaž Hrastnik2021-11-04 05:03:03 +0000
commit78c68fae91579ccda6f65e55f79316b01c5b654a (patch)
tree0286f2a51b94d0ca10ef087b7f9b88a612f128c1 /helix-term/src/keymap.rs
parente2560f427ef5e75155071e39da342628f5d5896a (diff)
Implement "Goto next buffer / Goto previous buffer" commands
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 93f64fa4..b48eea14 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -453,6 +453,8 @@ impl Default for Keymaps {
"m" => goto_window_middle,
"b" => goto_window_bottom,
"a" => goto_last_accessed_file,
+ "n" => goto_next_buffer,
+ "p" => goto_previous_buffer,
},
":" => command_mode,