Linked Questions

1
vote
1answer
604 views

Map <C-/> on linux and windows [duplicate]

I knew that map / is _ on linux, but it not work on windows. What should I do to map it?
2
votes
0answers
364 views

How do you map the back tick character (`) with a modifier key like ctrl? [duplicate]

Is there a way I can map a digraph like ` , with modifier key like ctrl together in vim like this NERDTree bind. map <C-n> :NERDTreeToggle<CR> It seems to be a tad bit more ...
2
votes
0answers
150 views

Ctrl+Ins keybinding won't work in Vim, does in gVim? [duplicate]

I have the following in my .vimrc (I don't recall where I found the original): " Cut, Copy, Paste vnoremap <S-Del> "+x vnoremap <C-Insert> "+y If I use Shift+Cursor keys to ...
1
vote
0answers
98 views

Can I map contrl and hyphen <C-->? [duplicate]

How can I map Ctrl and hyphen key? Usually when mapping Ctrl key with other keys there is a hypen key in the middle. But I would like to use this hypen key as my mapping, can I do that? When I tap ...
0
votes
1answer
31 views

Mapping of (key) overrides mapping of `<C-(key)>` [duplicate]

I am wondering why I can't use a mapping for <C-)> when a mapping for ) already exists. :imap shows: i ) *@<C-R>=AutoPairsInsert(')')<CR> i <C-)> * ) I ...
0
votes
3answers
2k views

How to remap ctrl-backspace in normal and insert modes?

how do I remap backspace combinations? I can remap backspace itself in normal mode, but not in insert mode, and I cannot map combinations: " this works: nmap <BS> dd " this doesn't work: imap &...
3
votes
2answers
92 views

How can I easily open two similar files?

I'm trying to setup a simple environment which would allow me to work on a local file and it's remote counterpart. Both files are accessible on my filesystem. So let's say I have : File 1 : /home/...
0
votes
1answer
302 views

Remap left arrow to ctrl key in vim

On macbook keyboard, there is only one ctrl key on the left. I am so used to for half page down using the right ctrl key that it is driving me crazy. Any way to remap the left key to ctrl?
1
vote
1answer
180 views

Mapping Esc+key (hold down escape and press another key to perform action)

I mapped my capslock key to escape but sometimes I accidentally press capslock when I meant to press shift. Can I remap <Esc>+key to send me back to insert mode and insert the proper character? ...
0
votes
2answers
158 views

Bind Key to Replace Selected Text with Output of System Call (in Terminal Vim)

I'm trying to bind <C-S-S> (Control + Shift + S) to send the selected test to a system command, and to then replace the selected text with the output of the system call. This is what I have ...