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

Try this mapping:

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.