mirror of
https://github.com/nushell/reedline.git
synced 2024-09-11 15:55:50 +03:00
vi mode: map cw
/cW
to ce
/cE
by default (#668)
This commit is contained in:
parent
43944ee99d
commit
ff5fdb0e10
@ -210,12 +210,10 @@ impl Command {
|
||||
ReedlineOption::Edit(EditCommand::MoveToStart),
|
||||
ReedlineOption::Edit(EditCommand::ClearToLineEnd),
|
||||
]),
|
||||
Motion::NextWord => {
|
||||
Some(vec![ReedlineOption::Edit(EditCommand::CutWordRightToNext)])
|
||||
Motion::NextWord => Some(vec![ReedlineOption::Edit(EditCommand::CutWordRight)]),
|
||||
Motion::NextBigWord => {
|
||||
Some(vec![ReedlineOption::Edit(EditCommand::CutBigWordRight)])
|
||||
}
|
||||
Motion::NextBigWord => Some(vec![ReedlineOption::Edit(
|
||||
EditCommand::CutBigWordRightToNext,
|
||||
)]),
|
||||
Motion::NextWordEnd => {
|
||||
Some(vec![ReedlineOption::Edit(EditCommand::CutWordRight)])
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user