Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make gVim on Ubuntu behave like gVim on Windows?

Tags:

vim

ubuntu

Searching for an answer I found this question, which is an exact opposite case, and the answers gave me a hint - so I went on and entered:

:behave mswin

This helped with the text selection thing, but I still can't make gVim to move the cursor to the next line once it reached the EOL when using the cursor right key (for example). It just get stuck at the EOL. How can I change this?

EDIT: Just found out that the <CTRL-A> for "Select All" does not work as expected as well.

like image 416
ysap Avatar asked Dec 05 '25 14:12

ysap


1 Answers

OK, found the missing piece - once sourcing

:source $VIMRUNTIME/mswin.vim

the behavior did change as expected.

like image 108
ysap Avatar answered Dec 07 '25 05:12

ysap



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!