Thursday, July 17, 2014

Re: eVim - easy Vim - How to make it work on Ubuntu?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On July 18, 2014 5:02:14 AM GMT+03:00, John Little <John.B.Little@gmail.com> wrote:
>On Friday, July 18, 2014 1:34:54 AM UTC+12, Igor Forca wrote:
>
>> vim -y myfile
>>
>> Now Vim becomes eVim (you know dummy insert mode all the time and
>using classic CTRL+action key like in Notepad for Windows). Now I can
>use:
>> CTRL+C to copy text
>> CTRL+X to cut text
>> CTRL+V to paste text
>> SHIFT+arrow_keys to select text
>> CTRL+A to select whole file
>> CTRL+S to save a file
>> CTRL+L to get into command mode and type :q to exit eVim
>> CTRL+O to get into command mode just for one command and then back to
>insert mode
>V>
>> All this works fine on Vim for Windows, but does not work at all in
>Vim for Ubuntu and Suse. All Vim's version are 7.4.
>
>I'm on Kubuntu 13.10. If I start vim with
>
> vim -u NONE -N -y file
>
>all those commands work. But if I just use vim -y some of them don't,
>so I think my .vimrc and .gvimrc get in the way. I suggest you try
>moving .vimrc and .gvimrc aside and use empty versions of them
>initially.
>
>> P.S. Bonus question: Is there any quicker way to exit eVim beside
>CTRL+L and :q ?
>
>Er, close the window? In KDE that defaults to Alt-F4, just like
>windows.
>
>Zyx commented:
>
>> This part has nothing to do with evim. These mappings are defined in
>$VIMRUNTIME/mswin.vim which is for some reason sourced by default on
>windows.
>
>evim.vim sources mswin.vim, even when not on windows.

Then one should check for the existence of g:skip_loading_mswin variable.

>
>Regards, John Little

-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQI1BAEBCgAfBQJTyIyVGBxaeVggPHp5eC52aW1AZ21haWwuY29tPgAKCRCf3UKj
HhHSvuk/D/sHgvQragb0kBqboss0JkTUV4nBs00JarriNg8e3Vo9caKGLrsrt3B2
nHh4gxEcB9K4OFDT0azciGLwm7TCvmZIy8Lh3HpbwRG2pk/eyMUvfG58+hrIgt26
VakHAySCQ+/iogX+DP0bb2jWTiWbR2RH+zPwqXs0XMk9zxrIZm6WEaPl1Bn4yyet
aoaWxpHKCqRJYVtrjSeNYNHwt+7Lxv8HJr0K+ECv+ZSEfnJ3Fs4amqbLYA/VTNOI
lIWOLLDKMALYQhclHEHCXchRCdxG9vTZdqQ4oCClNA84dnNGIV6VnkbLNdJjzDDc
lJZErcwHf/fIy5fxU80cD/4v8hBEMnKolZ8ZoCyccuEXBTRmQFezWigzkEWEAXur
FyVvRBmXuzdCxlzVppzFmH9/ihvnYPhRUy1vmSFv2IBM8d/bwlpfX64DYOFj7H/5
8onSm73UlgWOYNvmzaurCVsAIul13UrrC9uYUC6cukOzjqPPgQGfoZQJwZ3qz+54
YdxF7ZtfhHq0QhFA2UcgVKaI0/nhLc3D/B2E9NS1VhW+49sAD1GMKMyzJUq11Y41
bibqpFDRys3Dqup2jVAuHTl/sDMwiQk5hBhcMfEUR/GfhEn3eM4z2lJRG1yWmHm6
TdXeY/K2hXrOuvAcAumc0khmwlzxjT+q9eymFIwZZcDiBnwq+mKHBA==
=XpU6
-----END PGP SIGNATURE-----

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment