Sponsored Content
Full Discussion: Vim not working for colors
Top Forums UNIX for Dummies Questions & Answers Vim not working for colors Post 302760449 by mgpatil31 on Thursday 24th of January 2013 04:51:58 AM
Old 01-24-2013
Hammer & Screwdriver [Solved] Vim not working for colors

Hi,
I want to use vim but after opening any files, it is not showing comments, syntax in different colors.

Below are the details:
Vim is installed on below location:
/usr/local/share/vim/vim72/
Vim binary is present on below location:
/usr/local/bin/vim

I have created .vimrc file with below contents
syntax on
colors ron

Could you please suggest if I need to make any kind of setting in my local profile so I can see text in different colors.

---------- Post updated at 03:21 PM ---------- Previous update was at 02:54 PM ----------

My issue is resolved by below.

Created below entries in .vimrc file
Code:
PATH=${PATH}:/usr/local/bin/vim
VIMRUNTIME=/usr/local/share/vim/vim72/
TETRM=xterm
term=xterm

Created below entries into .vimrc file
Code:
" for vim in term set coloring
set term=xtermc
"colorscheme darkblue
colorscheme ron
" Turn on color
syntax on
set background=dark
" Highlight searches
set hlsearch
set incsearch


Last edited by vbe; 01-24-2013 at 09:06 AM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

xterm colors

I'm a new user to unix and I want to be able to pick and choose different xterm colors via 3rd botton menu. I'm currently pico'd into my .fvwm2rc file and this is what I have under my bottons: Please advise ############ # Button 1 #... (2 Replies)
Discussion started by: blica777
2 Replies

2. UNIX Desktop Questions & Answers

colors

Hello, I am somewhat new to linux. I just installed Red Hat 7.2 and when I try to load gnome or KDE in colors above 8bit it will kind of lock up and display some wierd scrambled cable look. I have an ATI Radeon 7000. I check out my monitor settings they are fine. Is it the graphics card? I set my... (1 Reply)
Discussion started by: Sage3k
1 Replies

3. Linux

linux colors

what dog gone file is setting these colors! i dont see it in bashrc or bash_profile!! anyone know? alias cp='cp -i' alias l.='ls -d .* --color=tty' alias ll='ls -l --color=tty' alias ls='ls --color=tty' alias mv='mv -i' alias rm='rm -i' alias vi='vim' alias which='alias | /usr/bin/which... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

4. UNIX for Dummies Questions & Answers

Directory colors

Hey guys, When I used a Solaris box way back I had directory, file , symbolic link colors, etc... I can't seem to find the .dircolors file and how i set it up for bash on Solaris... anyone remember how to do it? Thanks! (2 Replies)
Discussion started by: kingdbag
2 Replies

5. UNIX for Dummies Questions & Answers

Colors

Is there a way with the bourne shell to have different types of files show up a different color when you do ls? (1 Reply)
Discussion started by: resullivan
1 Replies

6. Shell Programming and Scripting

using colors in mailx

I want to use notify_fail () { echo " " >> ${MSG} echo " Script failed n">> ${MSG} cat ${MSG}|mailx -s "t1.ksh Success: "name@domain.com" exit 1 } I want script failed to show in Red or different colors in the email that i sent to name@domain.com I serached several sites and also... (1 Reply)
Discussion started by: konark
1 Replies

7. HP-UX

Vim colors in HP-UX

I am using xterm on my HP-UX system (11i). Color is working in xtrem, i can see that with the -color option on ls. When I use vim's syntax high lighting, instead of colors, it uses underline and bold (which looks horrible). I added the following if &term =~ "xterm" if has("terminfo") ... (2 Replies)
Discussion started by: kheisler
2 Replies

8. Solaris

Very Importan - Vim Settings - Error while opening a File using vim

I downloaded vim.7.2 and compiled the vim source . Added the vim binary path to PATH (Because iam not the root of the box) when i load the file using vim it throws me an error Error detected while processing /home2/e3003091/.vimrc: line 2: E185: Cannot find color scheme darkblue line... (0 Replies)
Discussion started by: girija
0 Replies

9. Shell Programming and Scripting

E363 ERROR working with VIM

When i try to edit the byte size file in vim editor iam getting the following error message(OS IBM AIX5.3) E363: pattern caused out-of-stack error Anyone know how to overcome this ?. (1 Reply)
Discussion started by: mr_manii
1 Replies

10. UNIX for Dummies Questions & Answers

Colors not being Interpreted

Hello, I am having an issue with ANSI colors in Redhat linux. I am running a script where the colours have been set very early on as follows: # Reset Color_Off='\033 Later in the script these are used to color define sections of output by reffering to them using: ${White} blah blah blah... (4 Replies)
Discussion started by: Pedro72
4 Replies
EVIM(1) 						      General Commands Manual							   EVIM(1)

NAME
evim - easy Vim, edit a file with Vim and setup for modeless editing SYNOPSIS
evim [options] [file ..] eview 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. eview is the same, but starts in read-only mode. It works just like evim -R. See vim(1) for details about Vim, options, etc. 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. OPTIONS
See vim(1). FILES
/usr/share/vim/vim72/evim.vim The script loaded to initialize eVim. 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. SEE ALSO
vim(1) AUTHOR
Most of Vim was made by Bram Moolenaar, with a lot of help from others. See the Help/Credits menu. 2002 February 16 EVIM(1)
All times are GMT -4. The time now is 07:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy