You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term/src
Michael Davis bbde897ac3
Select new pasted text in normal mode only (#4824)
d6323b7cbc changed the behavior of paste
to select the newly inserted text. This is preferrable in normal mode
because it's useful to be able to act on the new text. This behavior
is worse for insert or select mode though:

* In insert mode, the cursor ends up on the last character of the newly
  selected text, so further typing inserts text before the last
  character.
* In select mode, the current selection is replaced with the new text
  selection which doesn't extend the current selection. With this
  change, the selection is extended to include the new text.

This aligns the behavior more closely with Kakoune, but it's
coincidental instead of intentional: Kakoune doesn't implement
bracketed paste (AFAIK) which causes this behavior in insert mode,
and Kakoune doesn't have a select mode.
2 years ago
..
commands Add preview for scratch buffers in buffer picker (#3454) 2 years ago
keymap Change diagnostic picker keybind to <space>d (#4229) 2 years ago
ui Add preview for scratch buffers in buffer picker (#3454) 2 years ago
application.rs Handle language server termination (#4797) 2 years ago
args.rs Fix confusion with using --hsplit --vsplit on startup at same time (#4202) 2 years ago
commands.rs Select new pasted text in normal mode only (#4824) 2 years ago
compositor.rs fix test compilation 2 years ago
config.rs Move top level lsp config to editor.lsp (#1868) 3 years ago
health.rs Show clipboard info in --health output (#2947) 2 years ago
job.rs remove Callback::Compositor variant 2 years ago
keymap.rs Improve keymap errors from command typos (#3931) 2 years ago
lib.rs Add refresh-config and open-config command (#1803) 3 years ago
main.rs document should save even if formatter fails 2 years ago