Results 1 to 4 of 4
I'm new to using puTTY. I'm having a difficult time reading the dark blue that puTTY displays vi comments in. I've looked at the configuration screen and found the "colours" ...
- 12-29-2011 #1Just Joined!
- Join Date
- Dec 2011
- Posts
- 6
Can I chg comment colors in puTTY
I'm new to using puTTY. I'm having a difficult time reading the dark blue that puTTY displays vi comments in. I've looked at the configuration screen and found the "colours" section. But nothing seems to allow me to change the color of my comments. Am I missing something?
Thanks,
Ken
- 12-30-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,838
It is more of a vim thing than a putty thing, but anyway, try the colorscheme command, in your vim session.
Type a colon to get your vi "command prompt" at the bottom of the window, then try something like:
When you find one you like, you can put the command in your ~/.vimrc file. See here for more customization hints.Code:colorscheme morning
You can see a list of your available color schemes typically in this dir:
/usr/share/vim/vimXX/colors/
though it is distro and vim version specific.
- 12-30-2011 #3Just Joined!
- Join Date
- Dec 2011
- Posts
- 6
Thank you very much. That was very helpful. If I might, one more quick question. I used UNIX years ago (8 or so) and when I did I was using vi. You mention vim. I've heard of it, how might I tell if I'm using vi or vim?
Thanks,
Ken
- 12-30-2011 #4Linux Guru
- Join Date
- May 2011
- Posts
- 1,838
or just open vi w/o passing any file as an argument to it and it should say what it is.Code:which vi
if you are using syntax highlighting though, i'm pretty sure that is vim only.


Reply With Quote