Add stop_at_indent for MoveToBeginningOfLine (#25428)
Add support for `stop_at_indent` option for MoveToBeginningOfLine and SelectToBeginningOfLine instead of mixing that with `stop_at_soft_wraps`. Add emacs mapping for `alt-m` (`back-to-indentation`)
This commit is contained in:
@@ -188,7 +188,7 @@ impl Vim {
|
||||
)
|
||||
.0;
|
||||
}
|
||||
cursor = movement::indented_line_beginning(map, cursor, true);
|
||||
cursor = movement::indented_line_beginning(map, cursor, true, true);
|
||||
} else if !is_multiline && !vim.temp_mode {
|
||||
cursor = movement::saturating_left(map, cursor)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user