Vim
In Redhat 9, when I would work with .c files in VIM it would color code them but not so in the VIM that was installed when I put Slackware on the machine instead. Is it possible to active these or do I need to download a different version of VIM for this? Thanks in advance.
|
vim ~/.vimrc
or vim ~/.gvimrc Make the file like mine. Feel free to edit: :set number :syntax enable -------> This is what you want :set shiftwidth=4 :set smartindent :set browsedir=/home/knight/work/cpp/ |
indent
Another cool alternative to smartindent is
:filetype indent on This will choose an appropriate indentation method based on the current filetype (which is autodected but can be changed with :set filetype=<whatever>). This lets you indent e.g. HTML files automatically. /Odie |
Awsome. Thanks for the help :)
|
All times are GMT -5. The time now is 10:32 PM. |