7 Commits
Author SHA1 Message Date
Maxime Labelle 9e09968960 Prevent crash in GotoFirstNonBlankOfLine (#2050) (#2051) 2021-02-09 22:21:14 -08:00
Maxime Labelle 8b0cc85965 vi-mode: Make 'D' and 'd$' delete to the end of the current logical line (#1695) 2020-07-26 10:26:08 -07:00
Dongbo Wang 958ce3aeb2 Fix a few VI edit mode issues (#1262) 2020-01-07 13:08:39 -08:00
Maxime Labelle 9ad8eb6769 Ensure the desired column number is used while moving up or down in VI mode (#1122) 2019-12-09 13:48:14 -08:00
Carl Morris 175d42e60b Correct cursor jumping from line 2 to line 1 due to line 1 being empty. (#1108)
- Reduce code duplication by reusing GetBeginningOfLinePos in InsertLineAbove.
- Correct newline search in GetBeginningOfLinePos (HOME) and InsertLineAbove to not ignore first character in the buffer which
might be a new line.
- Manifests as cursor jumps to line 1, because line 1 is blank, when triggered with cursor anywhere on line 2.
2019-10-29 16:10:14 -07:00
Maxime Labelle 929f4f9bf4 Supports '_' and '$' to move to the beginning and end of the logical line in Vi mode. (#812)
Fix #795
2019-03-21 15:27:53 -07:00
Maxime Labelle 274381a89e Support vi mode 'G' and 'gg' movements in multi-line buffers (#793)
Fix #789
2018-11-05 12:34:17 -08:00