How do I get vim to input the bar/pipe character in my vimrc?
How do I get vim to input the bar/pipe character in my vimrc?
I've tried the following, but it doesn't work.
inoremap <C-\> <Esc>$a<Space>do<Space><Bar><Bar><CR>end<Esc>k$i
I'm trying to map a shortcut for ruby do || .. end blocks.
No comments:
Post a Comment