Working change and delete in line mode

This commit is contained in:
Keith Simmons 2022-05-18 17:41:26 -07:00
parent d7d17b2148
commit f8f316cc64
7 changed files with 27 additions and 7 deletions

View file

@ -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(