Vim Color Schemes in Putty

Vim Color Schemes in Putty

Christopher Kaukis
//

Snippet to enable Vim color schemes in Putty. Put the following in your .vimrc file:

if &term =~ “xterm”
    “256 color —
    let &t_Co=256
    ” restore screen after quitting
    set t_ti=ESC7ESC[rESC[?47h t_te=ESC[?47lESC8
    if has(“terminfo”)
        let &t_Sf=”ESC[3%p1%dm”
        let &t_Sb=”ESC[4%p1%dm”
    else
        let &t_Sf=”ESC[3%dm”
        let &t_Sb=”ESC[4%dm”
    endif
endif

Below is zenburn color scheme (place in your .vim/colors):

Related

Need Expert Help?

See Our Full Menu of Data Services

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!