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
Skyler Hawthorne 94535fa013
Add auto pairs for same-char pairs (#1219)
* Add auto pairs for same-char pairs

* Add unit tests for all existing functionality
* Add auto pairs for same-char pairs (quotes, etc). Account for
  apostrophe in prose by requiring both sides of the cursor to be
  non-pair chars or whitespace. This also incidentally will work for
  avoiding a double single quote in lifetime annotations, at least until
  <> is added
* Slight factor of moving the cursor transform of the selection to
  inside the hooks. This will enable doing auto pairing with selections,
  and fixing the bug where auto pairs destroy the selection.

Fixes #1014
3 years ago
..
ui Add ui.gutter to theme all gutters (i.e. set bg) 3 years ago
application.rs Load alt default theme if true color is not supported 3 years ago
args.rs Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898) 3 years ago
commands.rs Add auto pairs for same-char pairs (#1219) 3 years ago
compositor.rs Macros (#1234) 3 years ago
config.rs Launch with defaults upon invalid config/theme (#982) 3 years ago
job.rs Drop some &mut bounds where & would have sufficed 3 years ago
keymap.rs Macros (#1234) 3 years ago
lib.rs Assume true color support on Windows 3 years ago
main.rs revert log truncation (#895) (#1130) 3 years ago