In insert mode I’d like to get this working, so I can use the shortcut in a rails file.
imap <C-,> =>
Thanks for advise!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Are you sure you want to create a 2-keys shortcut for a 2-keys + modifier sequence?
As @Tassos commented it doesn’t seem to be possible but if you REALLY think typing
=>is too slow you can use the mapleader (see:help mapleader) like this in your.vimrc: