hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

Options to change the prompt char for `HopChar2` and `HopChar1`

Open jdhao opened this issue 3 years ago • 3 comments

Currently, the prompt for HopChar2 and HopChar1 is hard-coded as Hop 2 char and Hop 1 char, which is a little verbose for me. I would like to see the option to change the prompt, for example, I would like to use > as my prompt, which is more cleaner to me.

jdhao avatar Aug 31 '22 15:08 jdhao

@jdhao here’s your first contribution waiting :wink:

hadronized avatar Oct 09 '22 10:10 hadronized

okay, I will create a pr for this, this should be trivial to implement.

jdhao avatar Oct 09 '22 11:10 jdhao

@phaazon currently there are three different types of prompts for HopChar1, HopChar2 and HopPattern (and their related commands). Should I create three option for changing the prompt string? I feel it is a bit verbose, but seem not to have found a better way to deal with this.

jdhao avatar Oct 09 '22 13:10 jdhao