Add pipe in goto menus for column

pull/13440/head
Daniel Bowring 2025-04-29 16:50:54 +10:00
parent d306c85f60
commit df4af87936
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -153,8 +153,8 @@
| `goto_last_change` | Goto last change | normal: `` ]G ``, select: `` ]G `` |
| `goto_line_start` | Goto line start | normal: `` gh ``, `` <home> ``, select: `` gh ``, insert: `` <home> `` |
| `goto_line_end` | Goto line end | normal: `` gl ``, `` <end> ``, select: `` gl `` |
| `goto_column` | Goto column | |
| `extend_to_column` | Extend to column | |
| `goto_column` | Goto column | normal: `` g\| `` |
| `extend_to_column` | Extend to column | select: `` g\| `` |
| `goto_next_buffer` | Goto next buffer | normal: `` gn ``, select: `` gn `` |
| `goto_previous_buffer` | Goto previous buffer | normal: `` gp ``, select: `` gp `` |
| `goto_line_end_newline` | Goto newline at line end | insert: `` <end> `` |

View File

@ -38,6 +38,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"G" => goto_line,
"g" => { "Goto"
"g" => goto_file_start,
"|" => goto_column,
"e" => goto_last_line,
"f" => goto_file,
"h" => goto_line_start,
@ -368,6 +369,7 @@ pub fn default() -> HashMap<Mode, KeyTrie> {
"v" => normal_mode,
"g" => { "Goto"
"g" => extend_to_file_start,
"|" => extend_to_column,
"e" => extend_to_last_line,
"k" => extend_line_up,
"j" => extend_line_down,