Thursday, July 17, 2014

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

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.

Regards, John Little

--
--
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