on master help sign in
Keep primary selection as space+space.
commit392c4a9c02d74974ff3160505aec4e4af370bf81 authorBlaž Hrastnik <blaz@mxxn.io> dateSat 10 Apr 2021, 00:21 (6 years ago) parent73f4abb
3 files changed+3−4
TODO.md−4 helix-term/src/commands.rs+2 helix-term/src/keymap.rs+1
TODO.md−4
@@ -35,10 +35,6 @@
3535
3636- [] jump to alt buffer
3737
38−- [ ] load toml configs, themes, tabsize/identation
39−
40−- [ ] draw separator line between views
41−
4238- [ ] lsp: signature help
4339- [x] lsp: hover
4440- [ ] lsp: document symbols (nested/vec)
helix-term/src/commands.rs+2
@@ -1898,6 +1898,8 @@ pub fn space_mode(cx: &mut Context) {
18981898 cx.editor.close(cx.view_id);
18991899 }
19001900 // ' ' => toggle_alternate_buffer(cx),
1901+ // TODO: temporary since space mode took it's old key
1902+ ' ' => keep_primary_selection(cx),
19011903 _ => (),
19021904 }
19031905 }
helix-term/src/keymap.rs+1
@@ -220,6 +220,7 @@ pub fn default() -> Keymaps {
220220 shift!('K') => commands::keep_selections,
221221 // TODO: and another method for inverse
222222
223+ // TODO: clashes with space mode
223224 key!(' ') => commands::keep_primary_selection,
224225
225226 // key!('q') => commands::record_macro,