CKolkey / ts-node-action

Neovim Plugin for running functions on nodes.
359 stars 20 forks source link

feat: add support for cycling through git rebase commands #45

Closed bo5o closed 1 year ago

bo5o commented 1 year ago

Inspired by switch.vim

CKolkey commented 1 year ago

Super cool idea! Two notes:

  1. Add a spec.
  2. If the user is using the single letter version, I think it would be a good idea to keep it to a single letter.
CKolkey commented 1 year ago

(Don't worry about the failing SQL test - it sometimes misbehaves)

bo5o commented 1 year ago

Added the spec.

About expanding the single letter versions:

I did kind of like the behavior of switch.vim to expand the single letter variant of the command into the more legible longer version. I might remember 'p' being 'pick', but what was 'r' again, 'reword' or 'reset', if I then remember that 'r' is 'reword', but I want 'reset', what was that again, and so on, you know? If you want I can change it though.

CKolkey commented 1 year ago

Alright, thats compelling enough for me :)