aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorIvan Tham2021-06-05 10:15:50 +0000
committerBlaž Hrastnik2021-06-06 12:30:18 +0000
commit40744ce8356cb9307f8cb9b2adf2c57b80b1ef9f (patch)
tree3fc2a99ecdeb9e027d7c093c660e8863622b46b2 /helix-term/src/keymap.rs
parentaa8a8baeeb06cd94ed6329c535483f30835ec426 (diff)
Add ctrl-w in insert mode
It seemed to panic when I pressed too many times, but that is from lsp side.
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index e51dfbc5..6ef53915 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -360,6 +360,7 @@ pub fn default() -> Keymaps {
} => commands::insert::insert_tab,
ctrl!('x') => commands::completion,
+ ctrl!('w') => commands::insert::delete_word_backward,
),
)
}