LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


View Poll Results: Gvim or Vim?
gvim 13 25.49%
vim 38 74.51%
Voters: 51. You may not vote on this poll

Reply
  Search this Thread
Old 12-12-2006, 06:45 PM   #16
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62

Mainly Gvim, because I like the power of Vim with the menus. I try to learn the commands for what I am doing, so that I can use them properly in Vim when I don't have a GUI.

I have my .vimrc set up to allow the mouse to be used in Vim, and various other settings that I like.

--Ian
 
Old 12-13-2006, 07:34 AM   #17
introuble
Member
 
Registered: Apr 2004
Distribution: Debian -unstable
Posts: 700

Rep: Reputation: 31
Quote:
And if you use vim, why do you use it over gvim?
Vim. Because I see no reason to use GVim over Vim.
 
Old 12-13-2006, 07:59 AM   #18
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
For simply config tasks, vim. For programming, neither ^_^;;
 
Old 12-13-2006, 09:12 AM   #19
Abomb
Member
 
Registered: Dec 2005
Location: ~/
Distribution: Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by IBall
I have my .vimrc set up to allow the mouse to be used in Vim, and various other settings that I like.
Interesting feature, didn't know you can do that. Have any websites that can show you how to set up the .vimrc in detail like that?

Quote:
Originally Posted by Mega Man X
For simply config tasks, vim. For programming, neither ^_^;;
So what do you use for programming? Just curious...
 
Old 12-13-2006, 09:26 AM   #20
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by Abomb
So what do you use for programming? Just curious...
I'm a big, big Eclipse fan, so Eclipse it is. There is nothing wrong coding with vi/vim really. But for me, it is just much more comfortable to use an IDE where I can compile, test and organize my code in packages. Besides, code-completion is pretty neat and fast within Eclipse, to do not mention all the awesome plugins that you can user together with it. I can picture myself coding in vi with small projects, but definitely not vim for larger projects ^_^;
 
Old 12-13-2006, 10:29 AM   #21
sleepyEDB
Member
 
Registered: Dec 2005
Location: /USA/MI/Detroit/home
Distribution: MEPIS, antiX, RHEL
Posts: 105

Rep: Reputation: 15
Thumbs up

Quote:
Originally Posted by Abomb
Interesting feature, didn't know you can do that. Have any websites that can show you how to set up the .vimrc in detail like that?
It is covered in the help file within vim. Just add the following to your .vimrc:

Code:
set mouse=a
sleepy
 
Old 12-13-2006, 11:58 AM   #22
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Mega Man X
I'm a big, big Eclipse fan, so Eclipse it is. There is nothing wrong coding with vi/vim really. But for me, it is just much more comfortable to use an IDE where I can compile, test and organize my code in packages. Besides, code-completion is pretty neat and fast within Eclipse, to do not mention all the awesome plugins that you can user together with it. I can picture myself coding in vi with small projects, but definitely not vim for larger projects ^_^;
And any of this is relevant to the OPs question how?

If he wanted an 'editor' that grabs half the physical
RAM of his machine he surely would have done so,
and asked about your preferences.


Cheers,
Tink
 
Old 12-13-2006, 01:12 PM   #23
Abomb
Member
 
Registered: Dec 2005
Location: ~/
Distribution: Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Tinkster
And any of this is relevant to the OPs question how?
I would say it's relevant, since we are talking about 'editors.' I guess I should have posted another option onto the poll saying "Other" but if one doesn't use either vim/gvim then I would like to know why. Though, he didn't say that until I asked him.
 
Old 12-13-2006, 03:02 PM   #24
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Thumbs down

Quote:
Originally Posted by Tinkster
And any of this is relevant to the OPs question how?

If he wanted an 'editor' that grabs half the physical
RAM of his machine he surely would have done so,
and asked about your preferences.


Cheers,
Tink
Please, read question stated on post number 17. He wanted to know 'what' I use for programing and I answered that. And he is also the OP

Cheers,
Mega
 
Old 12-13-2006, 04:15 PM   #25
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by Mega Man X
Please, read question stated on post number 17. He wanted to know 'what' I use for programing and I answered that. And he is also the OP

Cheers,
Mega
Post #17
Quote:
introuble
Vim. Because I see no reason to use GVim over Vim.
Hmmmm

Ok, so I read the whole thread over (again), and you actually meant
#19. Oh well. Just like you're eager to get a plug to your preferences
in I'm eager to get a plug against java based tools. ;}


Cheers,
Tink
 
Old 12-13-2006, 08:58 PM   #26
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I sometimes feel there's no point in using gvim. Yeah, it is a good editor, but in pure text mode, I use vim, while for GUI mode, I generally prefer an editor like Kate or KWrite. gvim doesn't fit into my scheme of things (although it could be useful for a non-KDE user on a lightweight WM)

Yes, vim is good if you use all its advanced editing features - it's just a matter of analyzing whether your learning curve (and it varies from individual to individual) is worth the payoffs and benefits in terms of improved productivity (and again, this would be a subjective term). I am still an "intermediate" vim user in the sense that I know practically most of the basic editing commands including copy/paste and undo, but I still haven't tapped into its full feature set.

My take on the whole "editor" issue is to use what is most productive for you and not just because somebody says it's uber-cool to use vi or emacs.

Sometimes too much is made of individual preferences. It's just about picking the right tools for the right job for you

Last edited by vharishankar; 12-13-2006 at 09:03 PM.
 
Old 12-13-2006, 10:37 PM   #27
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
If anyone would like to see some .vimrc for example or to "borrow" from here is mine:
http://oliver.steven.googlepages.com/vimrc
and the one I "borrowed" most of mine from:
http://ciaranm.org/vimrc
 
Old 12-14-2006, 05:36 PM   #28
Abomb
Member
 
Registered: Dec 2005
Location: ~/
Distribution: Ubuntu
Posts: 156

Original Poster
Rep: Reputation: 30
Penguin of Wonder - Thanks for the links! I've learned a couple things from them already. It takes some knowledge and time to get the right setup going.
 
Old 12-14-2006, 11:27 PM   #29
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
vim (which is 99% of the time symlinked to vi) when in a CLI, just because it's quick and clean, and Emacs when in X.
 
  


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
Cut and Paste from vim (not Gvim) into a windowed app richardq Linux - Newbie 2 10-11-2006 04:51 PM
does anyone know how to enable line completions in vim or gvim Joseph Schiller Linux - Software 2 10-31-2005 09:11 PM
prompt within gvim/vim/vi zchoyt Linux - Software 6 02-02-2005 06:30 AM
vim or gvim raees Linux - General 7 03-17-2004 05:02 PM
vim / gvim Shak Linux - Software 4 04-03-2003 09:25 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:21 PM.

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