Terminal
How i can type my c program in terminal with highlighted text.
|
You can use vim, pico, nano and probably vi (I never used, so I am not sure), but for small programs I prefer "mcedit" from Midnight Commander.
|
There are many text-editors for the command line that support syntax highlighting, like vi(m), emacs, nano, joe, ... .
Just try a few and see what fits you best. |
To enable syntax highlighting in Vim, add that to you .vimrc:
Code:
syntax on Code:
:syntax on |
thankuuuu, i install vim and its work fine.
|
i install vim and now it works fine thankuuuuuuuu.
|
All times are GMT -5. The time now is 10:56 AM. |