LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-12-2008, 10:34 AM   #1
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Rep: Reputation: 15
Gvim on Ubuntu EXACTLY like the win32 variety?


Hi,
I have not had to type control codes into programs since I wrote RS232 code back when the 286 was king. PASTE is used a million times more often than inserting control codes and yet the ^V still has this prehistoric assignment in the brand new Ubuntu release.

I NEED ^A, ^X, ^C and ^V to do select cut, copy and paste.

I also need a shift+arrow select. It's assigned to word forward or backward for which I already have B and W. Why would you want a 2 key combination when you already have a single key solution?

I have no syntax highlighting for Perl. It's nice to have.

I have no autoindent.

I have no highlighting of search hits.

I have exactly the same ~/.vimrc file.

I have heard legends of a "windows mode" but can't find out how to get there. I have tried Cream, but it is dumbed down almost as much as wordpad and is unusable.

I am trying to escape from the evil software empire and use Linux exclusively, but a handful of my favorite tools are not working and this is one of them [photoshop, dragon naturally speaking, unreal tournament, dupless, flash, most dvd movies, file associations, suspend/hybernate, sane network setup, ...].

Thank you,

BrianP
 
Old 11-12-2008, 11:43 AM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Unreal Tournament Linux - http://www.lokigames.com/products/ut/
 
Old 11-12-2008, 08:20 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
It sounds as if you using a program which is adpted to tastes other than yours. I'm not at all clear why you are doing this. Is it inertia or is there something else about this program which ensures that you are staying 'loyal' to it?

Personally, I like kate (which if your Ubuntu is really Ubuntu, you probably don't have installed by default), but you'll probably find different reasons to dislike that. I can only suggest that you try the myriad of choices out there.

Quote:
I have exactly the same ~/.vimrc file.
As what? And I am not sure what relevance this has.

Quote:
I am trying to escape from the evil software empire and use Linux exclusively, but a handful of my favorite tools are not working and this is one of them [photoshop, dragon naturally speaking, unreal tournament, dupless, flash, most dvd movies, file associations, suspend/hybernate, sane network setup, ...].
For photoshop, try Gimp/Gimpshop, Krita.

File associations?? Suspend/hibernate?? Both potentially set up issues (but not exactly sure how Gnome does things), but you would have to say more, and I'm not sure if I'm going off topic in even getting to these questions.
 
Old 11-13-2008, 10:21 AM   #4
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
Hi,
>> Is it inertia or is there something else about this program which ensures that you are staying 'loyal' to it?

Vi is one program which runs on almost every system. I do have many years of experience using it and I like it.

The Vim package provided by ubuntu uses the defunct, 30 year old standard using ^V for insert control code rather than for paste which has been the de facto standard for decades.

I was hoping that somebody had a .vimrc file with the modern key assignments. Surely, somebody has already fixed this. Is there really a "windows mode"?

Thanks,
BrianP
 
Old 11-13-2008, 08:45 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Ctrl-C was break 30 years ago and still is today..

if you want the windows key combos for cut and paste you are using the wrong command to startup the graphical editor, you want evim not gvim

http://linux.die.net/man/1/evim
Quote:
evim(1) - Linux man page

evim - easy Vim, edit a file with Vim and setup for modeless editing

Description
eVim starts Vim and sets options to make it behave like a modeless editor. This is still Vim but used as a point-and-click editor. This feels a lot like using Notepad on MS-Windows. eVim will always run in the GUI, to enable the use of menus and toolbar.

Only to be used for people who really can't work with Vim in the normal way. Editing will be much less efficient.

The 'insertmode' option is set to be able to type text directly.
Mappings are setup to make Copy and Paste work with the MS-Windows keys. CTRL-X cuts text, CTRL-C copies text and CTRL-V pastes text. Use CTRL-Q to obtain the original meaning of CTRL-V.

Aka
Also Known As "Vim for gumbies". When using evim you are expected to take a handkerchief, make a knot in each corner and wear it on your head.
Those wacky man page authors.. don't forget your handkerchief
 
Old 11-14-2008, 02:48 PM   #6
brianpbarnes
Member
 
Registered: Dec 2005
Posts: 143

Original Poster
Rep: Reputation: 15
Hi,
>> Ctrl-C was break 30 years ago and still is today..
What would you be "break"ing in an editor? Stopping a running program applies to shells, but not to editors as far as I can imagine.

Control-C, rather than stopping some program, appears to do the same as ESC. What a waste of a perfectly good key combo.

Control+right/left arrows does the same thing as as B&W. "Move the cursor while selecting" is a billion times more useful. With these archaic key assignments, you have to use the mouse to do that. Extremely inefficient.

I have used gvim in easy mode. It is about as useful as wordpad, the most braindead editor next to Edlin (dating myself).

To my shock and great surprise, the latest windoz 7.2 gvim.exe runs under WINE [almost normally]. But, you can't use nautilus directly (double-click) with it (AFAIK). They put an icon on the desktop and you can drop a nautilus file on it. But it F@(*@#%()@##)s up the permissions. What an annoyance! I have to chmod my Perl scripts every time I save the file before I can run it.

I have despised microsoft for decades for miserable engineering, poor quality and lack of usability. They have some competition now for top billing on my sh1t list!

BrianP
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: More Weekend Humor Of The Linux and Unix Variety LXer Syndicated Linux News 0 08-23-2008 12:50 PM
A linux newbie of the suse variety stinker LinuxQuestions.org Member Intro 2 07-26-2007 02:41 PM
Ubuntu GVim RC file ramin Linux - Software 1 12-09-2004 02:24 PM
GVIM for UBUNTU Linux ramin Linux - Software 3 12-09-2004 12:19 PM
Looking for a variety of distros knetick Linux - Distributions 8 09-26-2004 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration