mirror of
https://github.com/helix-editor/helix.git
synced 2025-01-19 21:47:07 +04:00
Keep primary selection as space+space.
This commit is contained in:
parent
73f4abbb37
commit
392c4a9c02
4
TODO.md
4
TODO.md
@ -35,10 +35,6 @@
|
|||||||
|
|
||||||
- [] jump to alt buffer
|
- [] jump to alt buffer
|
||||||
|
|
||||||
- [ ] load toml configs, themes, tabsize/identation
|
|
||||||
|
|
||||||
- [ ] draw separator line between views
|
|
||||||
|
|
||||||
- [ ] lsp: signature help
|
- [ ] lsp: signature help
|
||||||
- [x] lsp: hover
|
- [x] lsp: hover
|
||||||
- [ ] lsp: document symbols (nested/vec)
|
- [ ] lsp: document symbols (nested/vec)
|
||||||
|
@ -1898,6 +1898,8 @@ pub fn space_mode(cx: &mut Context) {
|
|||||||
cx.editor.close(cx.view_id);
|
cx.editor.close(cx.view_id);
|
||||||
}
|
}
|
||||||
// ' ' => toggle_alternate_buffer(cx),
|
// ' ' => toggle_alternate_buffer(cx),
|
||||||
|
// TODO: temporary since space mode took it's old key
|
||||||
|
' ' => keep_primary_selection(cx),
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -220,6 +220,7 @@ pub fn default() -> Keymaps {
|
|||||||
shift!('K') => commands::keep_selections,
|
shift!('K') => commands::keep_selections,
|
||||||
// TODO: and another method for inverse
|
// TODO: and another method for inverse
|
||||||
|
|
||||||
|
// TODO: clashes with space mode
|
||||||
key!(' ') => commands::keep_primary_selection,
|
key!(' ') => commands::keep_primary_selection,
|
||||||
|
|
||||||
// key!('q') => commands::record_macro,
|
// key!('q') => commands::record_macro,
|
||||||
|
Loading…
Reference in New Issue
Block a user