Linked Questions

3
votes
0answers
128 views

How to remap <C-[> on linux [duplicate]

I have the same vimrc file for both Windows and Ubuntu environments. It works fine on both platforms, except for one difference. The line: nmap <C-[> <C-t> is working fine on Windows, ...
23
votes
4answers
8k views

How can I work with splits in Vim without Ctrl-W?

My terminal doesn't allow me to type Ctrl+W, because that's a shortcut for closing a terminal tab. I like working with splits, but I can't find any way to do so without using C-W. This forced me to ...
16
votes
1answer
3k views

Can I map a Ctrl + upper-case letter separately from Ctrl + lower-case letter?

I am trying to figure out how to navigate windows little quicker, so I would like to map the following: :nmap <silent> <C-F> :wincmd f<CR> The problem is this remaps the ^f (lower-...
0
votes
1answer
967 views

How to disable Ctrl key

How do I disable the Ctrl key? I've tried options below, but they did not work. noremap <C> <NOP> noremap <C-> <NOP>
2
votes
1answer
248 views

How to use jumplist's <C-i> which is seen as a <Tab>?

On vim's help :help jumplist I can read: Jumps are remembered in a jump list. With the CTRL-O and CTRL-I command you can go to cursor positions before older jumps, and back again. Thus you can ...
2
votes
0answers
270 views

How to map <C-i> separate from <Tab>?

I want to remap <C-I> to print markdown * symbol around the previous word. For example: # user actions inside <...> some text typed in vim insert mode<cursor_position> <C-I> #...
1
vote
0answers
229 views

Troubleshooting mapping

I have the following in my vimrc: nnoremap <C-J> o<Esc>k$ nnoremap <C-K> O<Esc>j$ The bottom mapping works as expected, but c-j now produces the same effect as i (which is ...
1
vote
1answer
91 views

Mapping <C-m> also creates a mapping for <CR>

I have a custom function and mapping: nmap <C-m> :MyMake<CR> This works as intendeded, the correct function is called etc. But it creates another mapping, running :nmap shows that CR is ...
1
vote
0answers
155 views

Use ISO Level3/5 as modifier in vim keymap?

I've been using the pseudo keymap solution from my previous question to great effect for 6 months now. The short version is that it allows me to keep the computer keyboard map in my usual Programmer's ...
1
vote
0answers
45 views

Cannot map <C-j> sequence in vim [duplicate]

I used to be able to navigate vim splits using nnoremap <C-j> <C-w>j nnoremap <C-k> <C-w>k nnoremap <C-l> <C-w>l nnoremap <C-h> <C-w>h but now I ...