Working change and delete in line mode
This commit is contained in:
parent
d7d17b2148
commit
f8f316cc64
7 changed files with 27 additions and 7 deletions
|
@ -46,6 +46,10 @@ impl VimState {
|
|||
!matches!(self.mode, Mode::Insert)
|
||||
}
|
||||
|
||||
pub fn empty_selections_only(&self) -> bool {
|
||||
self.mode != Mode::Visual && self.mode != Mode::VisualLine
|
||||
}
|
||||
|
||||
pub fn keymap_context_layer(&self) -> Context {
|
||||
let mut context = Context::default();
|
||||
context.map.insert(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue