Replace ^/$ with gh/gl

pull/116/head
notoria 4 years ago committed by Blaž Hrastnik
parent 4f0e3aa948
commit adcfcf9044

@ -17,8 +17,6 @@
| f | find next char |
| T | find 'till previous char |
| F | find previous char |
| ^ | move to the start of the line |
| $ | move to the end of the line |
| m | Jump to matching bracket |
| PageUp | Move page up |
| PageDown | Move page down |
@ -118,6 +116,8 @@ Jumps to various locations.
|-----|-----------|
| g | Go to the start of the file |
| e | Go to the end of the file |
| h | Go to the start of the line |
| l | Go to the end of the line |
| t | Go to the top of the screen |
| m | Go to the middle of the screen |
| b | Go to the bottom of the screen |

@ -1269,6 +1269,8 @@ pub fn goto_mode(cx: &mut Context) {
match ch {
'g' => move_file_start(cx),
'e' => move_file_end(cx),
'h' => move_line_start(cx),
'l' => move_line_end(cx),
'd' => goto_definition(cx),
'y' => goto_type_definition(cx),
'r' => goto_reference(cx),

@ -153,9 +153,6 @@ pub fn default() -> Keymaps {
//
key!('r') => commands::replace,
key!('^') => commands::move_line_start,
key!('$') => commands::move_line_end,
key!('w') => commands::move_next_word_start,
key!('b') => commands::move_prev_word_start,
key!('e') => commands::move_next_word_end,

Loading…
Cancel
Save