It's UWAweek 30 (2nd semester, week 1)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 8 other people reading this forum.


 UWA week 32 (2nd semester, week 3) ↓
SVG not supported

Login to reply

👍?
helpful
4:40am Thu 10th Aug, Christopher M.

The default installation of vim simply displays its text in monochrome, but by adding commands to (one of) vim's "startup files", it will add colours to code keywords, comments, .... To download and add the necessary commands to vim's startup file: prompt> curl -o xxxxxx [CITS2002] prompt> cat xxxxxx >> ~/.vimrc prompt> rm -f xxxxxx Now, the next time you edit a, say, C file with vim if should provide coloured syntax-highlighting. If you're brave enough, you can manually change the colour-scheme by editing the ~/.vimrc file itself (using vim). And if you search the web for phrases such as "vim color scheme", you'll find many other pre-built schemes that you can download and install (usually in other vim startup files).

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  7:24AM Jul 25 2024
Privacy policy