on master help sign in
Keep primary selection as space+space.
392c4a9Blaž Hrastnik
TODO.md−4
@@ -35,10 +35,6 @@
35
35
36- [] jump to alt buffer
36- [] jump to alt buffer
37
37
38−- [ ] load toml configs, themes, tabsize/identation
39−
40−- [ ] draw separator line between views
41−
42- [ ] lsp: signature help
38- [ ] lsp: signature help
43- [x] lsp: hover
39- [x] lsp: hover
44- [ ] lsp: document symbols (nested/vec)
40- [ ] lsp: document symbols (nested/vec)
helix-term/src/commands.rs+2
@@ -1898,6 +1898,8 @@ pub fn space_mode(cx: &mut Context) {
1898 cx.editor.close(cx.view_id);
1898 cx.editor.close(cx.view_id);
1899 }
1899 }
1900 // ' ' => toggle_alternate_buffer(cx),
1900 // ' ' => toggle_alternate_buffer(cx),
1901+ // TODO: temporary since space mode took it's old key
1902+ ' ' => keep_primary_selection(cx),
1901 _ => (),
1903 _ => (),
1902 }
1904 }
1903 }
1905 }
helix-term/src/keymap.rs+1
@@ -220,6 +220,7 @@ pub fn default() -> Keymaps {
220 shift!('K') => commands::keep_selections,
220 shift!('K') => commands::keep_selections,
221 // TODO: and another method for inverse
221 // TODO: and another method for inverse
222
222
223+ // TODO: clashes with space mode
223 key!(' ') => commands::keep_primary_selection,
224 key!(' ') => commands::keep_primary_selection,
224
225
225 // key!('q') => commands::record_macro,
226 // key!('q') => commands::record_macro,