J
J
JZorkiy2019-03-29 18:41:15
vim
JZorkiy, 2019-03-29 18:41:15

Vim: keyboard shortcut command?

I want to put on the execution of the command ": w". As simple as possible, like:
map < C - w > :w< cr > (doesn't work for some reason)
and
map < Cs > : w< cr > - generally vim hangs.
How to do it right?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
planc, 2019-03-29
@JZorkiy

map <C-w> :w<CR>
but generally ctrl + w by default jump between windows

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question