0

I'm trying to add a key mapping from Ctrl-j to Ctrl-\ s. This is to make my life a bit easier when using cscope. I've tried the following mapping:

map <C-J> <C,\\>s

but it doesn't seem to do anything. I've also tried various combinations, such as map Ctrl-j Ctrl-<Bslash> s and nothing seems to work. I've consulted :help key-notation and :help map_backslash but as far as I can tell I'm following the directions in there to a T. What am I missing here?

1 Answer 1

1

Try this mapping:

map <C-J> <C-\>s
1
  • Good god. I swear I tried that. Welp, thanks for the help sir.
    – Byte Lab
    Aug 18, 2017 at 1:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .