Configuration File for Vi or Vim Editor for Syntax Highlighting
Hi,
On this Red Hat Box that I am using there is no .vimrc file for the user root. So, I created one and entered only one line to highlight syntax with colors when I am writing scripts in PHP and Bash. But it is not working. Code:
[root@localhost ~]# cat ~/.vimrc Note: Code:
# vi --help |
Does /etc/profile.d/vim.sh exist?
Code:
# cat /etc/profile.d/vim.sh Code:
alias vi='vim' |
Quote:
Hi, I found the file: Code:
# cat /etc/profile.d/vim.sh So, I added the alias: Code:
# cat ~/.bashrc Code:
# source .bashrc Thanks for the help! :) |
Quote:
Please help me correct my grammar mistakes. :) Tam Biet! :hattip: |
Quote:
Quote:
|
Quote:
Thanks for the explanation. I got it now. Thanks again! ;) |
All times are GMT -5. The time now is 01:56 PM. |