diff --git a/README.md b/README.md index e1edbf1..a289dfe 100644 --- a/README.md +++ b/README.md @@ -137,13 +137,13 @@ cat data.json | jnv -- --write-to-stdout > result.json | Tab | Enter suggestion | | | Move cursor left | | | Move cursor right | -| Ctrl + A | Move cursor to line start | -| Ctrl + E | Move cursor to line end | +| Ctrl + A, Home | Move cursor to line start | +| Ctrl + E, End | Move cursor to line end | | Backspace | Delete character before cursor | | Ctrl + U | Clear entire line | | Alt + B | Move the cursor to the previous nearest character within set(`.`,`\|`,`(`,`)`,`[`,`]`) | | Alt + F | Move the cursor to the next nearest character within set(`.`,`\|`,`(`,`)`,`[`,`]`) | -| Ctrl + W | Erase to the previous nearest character within set(`.`,`\|`,`(`,`)`,`[`,`]`) | +| Ctrl + W, Alt + Backspace | Erase to the previous nearest character within set(`.`,`\|`,`(`,`)`,`[`,`]`) | | Alt + D | Erase to the next nearest character within set(`.`,`\|`,`(`,`)`,`[`,`]`) | #### Suggestion in Editor (after Tab) @@ -369,9 +369,9 @@ backward = ["Left"] forward = ["Right"] # Move cursor to beginning of line -move_to_head = ["Ctrl+A"] +move_to_head = ["Ctrl+A", "Home"] # Move cursor to end of line -move_to_tail = ["Ctrl+E"] +move_to_tail = ["Ctrl+E", "End"] # Move cursor to previous word boundary move_to_previous_nearest = ["Alt+B"] # Move cursor to next word boundary @@ -383,7 +383,7 @@ erase = ["Backspace"] erase_all = ["Ctrl+U"] # Delete from cursor to previous word boundary -erase_to_previous_nearest = ["Ctrl+W"] +erase_to_previous_nearest = ["Ctrl+W", "Alt+Backspace"] # Delete from cursor to next word boundary erase_to_next_nearest = ["Alt+D"] # Trigger completion diff --git a/default.toml b/default.toml index 05f892e..84e93ff 100644 --- a/default.toml +++ b/default.toml @@ -136,9 +136,9 @@ backward = ["Left"] forward = ["Right"] # Move cursor to beginning of line -move_to_head = ["Ctrl+A"] +move_to_head = ["Ctrl+A", "Home"] # Move cursor to end of line -move_to_tail = ["Ctrl+E"] +move_to_tail = ["Ctrl+E", "End"] # Move cursor to previous word boundary move_to_previous_nearest = ["Alt+B"] # Move cursor to next word boundary @@ -150,7 +150,7 @@ erase = ["Backspace"] erase_all = ["Ctrl+U"] # Delete from cursor to previous word boundary -erase_to_previous_nearest = ["Ctrl+W"] +erase_to_previous_nearest = ["Ctrl+W", "Alt+Backspace"] # Delete from cursor to next word boundary erase_to_next_nearest = ["Alt+D"] # Trigger completion