#107 smart region select

Ouvert
Créé il y a 1 mois par nuclearkev · 0 commentaires

Implement a command such as esc s or something that will do a "smart" region select. Here are some initial thoughts:

  • if at the start of a word, select the word
    • one keystroke vs C-<SPC> esc f
  • if at the end of a word, select the word
    • one keystroke vs C-<SPC> esc b
  • if in the middle of a word, select the word
  • if on white space, jump forward a word and keep the region.
  • C-u esc s selects the entire line
  • I'd like there to be a way to use this to run shell commands quicker so maybe there is a way to do something with another feature.

These would let you just mash esc s a few times to copy a few words.

Implement a command such as `esc s` or something that will do a "smart" region select. Here are some initial thoughts: - if at the start of a word, select the word - one keystroke vs `C-<SPC> esc f` - if at the end of a word, select the word - one keystroke vs `C-<SPC> esc b` - if in the middle of a word, select the word - if on white space, jump forward a word and keep the region. - `C-u esc s` selects the entire line - I'd like there to be a way to use this to run shell commands quicker so maybe there is a way to do something with another feature. These would let you just mash `esc s` a few times to copy a few words.
Connectez-vous pour rejoindre cette conversation.
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.