Merge pull request #1685 from zed-industries/vim-text-objects
Vim Text Objects and Numeric Repitions
This commit is contained in:
commit
81a3a22379
79 changed files with 3861 additions and 2462 deletions
|
@ -4095,7 +4095,7 @@ impl Editor {
|
|||
self.change_selections(Some(Autoscroll::Fit), cx, |s| {
|
||||
s.move_cursors_with(|map, head, _| {
|
||||
(
|
||||
movement::line_beginning(map, head, true),
|
||||
movement::indented_line_beginning(map, head, true),
|
||||
SelectionGoal::None,
|
||||
)
|
||||
});
|
||||
|
@ -4110,7 +4110,7 @@ impl Editor {
|
|||
self.change_selections(Some(Autoscroll::Fit), cx, |s| {
|
||||
s.move_heads_with(|map, head, _| {
|
||||
(
|
||||
movement::line_beginning(map, head, action.stop_at_soft_wraps),
|
||||
movement::indented_line_beginning(map, head, action.stop_at_soft_wraps),
|
||||
SelectionGoal::None,
|
||||
)
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue