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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-06-2014, 10:51 AM
|
#1
|
Member
Registered: Jan 2014
Posts: 81
Rep: 
|
I want gvim to act like vim
Hi guys - I am kind of tired having to continually mess around with my terminal in order to get the vim colorscheme I am using to work correctly.
As a result, I am thinking of switching to gvim, but I want to function like vim. I just need the color functionality of gvim.
Is there an easy way to tell gvim to act like vim?
If there is not, can someone tell me how I can set gvim to wrap the text like vim does?
For example:
http://i.imgur.com/4FiAO32.png
As you can see, the item labeled 25, written using gvim, is way out of line with the rest of the items.
I am using set tw=79 but that doesn't work.
Thanks!
|
|
|
02-06-2014, 08:51 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,892
|
The vim wiki has a number of articles about how to set and change the vim color scheme:
http://vim.wikia.com/wiki/Special:Se...h&ns0=1&ns14=1
|
|
|
02-06-2014, 11:29 PM
|
#3
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
Quote:
Originally Posted by frankbell
|
Hello frankbell - thanks for your reply.
It is not vim that's the problem - it is the fact that these terminals do not support the amount of colors that gvim does.
I would rather use gvim but with vim behavior to get the color features.
|
|
|
02-07-2014, 08:19 PM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,892
|
Do you mean the physical terminal or the virtual one. Either way, if the terminal won't support the colors, I don't think you can make them happen in the software.
I've not used gvim. I keep using vim, hoping that one day I'll get good at it. At this point, I'm barely adequate.
|
|
|
02-07-2014, 08:33 PM
|
#5
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
Gvim supports all the options and commands that are supported by Vim, so you can set it up exactly like you would with Vim. In fact, if no .gvimrc exists it even loads the .vimrc instead.
|
|
1 members found this post helpful.
|
02-08-2014, 06:38 PM
|
#6
|
Member
Registered: Jan 2014
Posts: 81
Original Poster
Rep: 
|
@TobiSGD
Thanks - you are completely right.
I am not sure why it wasn't loading up that file (or maybe the setting wasn't correct - I don't know; it simply wasn't working as I expected).
gvim does indeed perform like vim now, and I can use the color scheme I wanted!
Thanks.
|
|
|
02-08-2014, 07:55 PM
|
#7
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,892
|
Now that's a nice bit hint.
|
|
|
All times are GMT -5. The time now is 08:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|