Eric Leenman wrote:
Hi,

I'm using gvim on windows, which is behaving like windows shortcuts:
For example:
CTRL-S for save
CTRL-X for cut,
ect.

When using vim on Linux these don't work anymore because of linux "windows managers".

AFAIK they do work but they aren't mapped because they aren't standard on Linux.


Is it possible to put the same functionality of the CTRL-key (and/or ALT) to a key which is not linux "windows manager " sensitive? In other words: Is it possible to remap the ctrl key to for example the letter c?

So that when you are in insert-mode you can press cs as a replacement for CTRL-S?
(
Is this possible without using the Function Keys F1 till F12?

Rgds,

Eric

Since you're apparently not going to use the same keys as on Windows, why not use "real" Vim keys?

Save
        :w
Save As
        :saveas filename.txt
Delete (cut) to default register
        d
Delete (cut) to clipboard
        "+d
Delete lines 22 to 33
        :22,33d
...to clipboard
        :22,33d +
Yank (copy) to default register
        y
Yank (copy) to clipboard
        "+y
Yank from current line to end of file
        :.,$y
... to clipboard
        :.,$y +
Put (paste) before cursor
        P
Put (paste) after cursor
        p
Put from clipboard
        "+p
        "+P
Put linewise after current line
        :put
... from clipboard
        :put +
Put at end of file
        :$put
        :$put +
Undo
        u
Redo
        Ctrl-R
etc. etc. etc.


Best regards,
Tony.

Reply via email to