Linux - SoftwareThis 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.
How do i get my terminal to highlight code when i'm writing some code, i remember it was already enabled in all the other distributions that i have used, i remember one time i had to edit some file to enable it and i had to get some code to make it highlight what programming language i was using, i can't really remember what file it was so if you can help me, i'd really appreciate it.
thanks.
Surely you aren't writing code with Bash alone. What text editor are you using to program in?
i've always used nano, i'm learning to use vim though, i only use IDEs when i have a really big project.
i hope you can help me, as i said before i have done this before but i just can't remember.
If you look in /usr/doc for nano, you'll find a nanorc example, with the options for syntax highlighting right at the bottom. Copy that to your home directory as .nanorc, and edit it.
If you look in /usr/doc for nano, you'll find a nanorc example, with the options for syntax highlighting right at the bottom. Copy that to your home directory as .nanorc, and edit it.
ok i'll try that when i get home.
and for those that don't understand what i mean, what i'm trying to do is just like when in a IDE you get the programming language keywords highlighted in other color. that's what am trying to get.
anyway, i'll let you know if i get anything done.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.