8

256 colors in putty, tmux/screen and vim

 1 year ago
source link: https://gist.github.com/limingjie/4975c36d13d0927613e6
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

256 colors in putty, tmux/screen and vim · GitHub

Instantly share code, notes, and snippets.

256 colors in putty, tmux/screen and vim

#256 colors in putty, tmux/screen and vim There is a detailed answer on stackoverflow. If you are looking for a short one, here it is.

  • putty

    Set Connection -> Data -> Terminal-type string to xterm-256color

  • Add this line to ~/.tmux.conf

    set -g default-terminal "screen-256color"
    
  • screen

    Add this line to ~/.screenrc

    term "screen-256color"
    
  • Add these lines to ~/.vimrc

    if &term == "screen"
      set t_Co=256
    endif
    

View actural 256 colors by this script.


Recommend

  • 22

    安装Powerline并配置Vim、Bash、tmux、IPython、pdb 2020-09-21 21:59:17 +08  字数:1546  标签: Bash

  • 20

    Table of Contents有一些 vim 主题(如 gruvbox 或 solarized8)在 GUI 和终端下效果不同,有可能是因为这个主题需要 true color (2...

  • 25

    Tmux and Vim: Copy and Paste on macOS Sierra Posted: 2017-03-22 - Last updated: 2019-06-05 Tagged

  • 9
    • zserge.com 4 years ago
    • Cache

    mucks: automating screen and tmux

    mucks: automating screen and tmuxI can’t imagine my daily work in terminal without multiplexers. I used to use GNU Screen a couple of years ago, then I switched to Tmux.There has been a lot of talks about screen vs tmux, and t...

  • 8
    • www.80shihua.com 4 years ago
    • Cache

    vim+tmux 真彩色256color配置

    vim+tmux 真彩色256color配置 vim是我们最喜爱的编辑器,tmux是我们最喜爱的终端管理器,它们的搭配可以让你的工作效率提升到难以想象的高度。默认情况下,linux的终端是8位的彩色配置,也就说它的颜色过于单一,然而其实大部分情况下它都是支持...

  • 11
    • www.producthunt.com 3 years ago
    • Cache

    Learn Linux, Vim, Git, Tmux, Gpg and more

    Learn Linux, Vim, Git, Tmux, Gpg and more

  • 8
    • blackdragonf.github.io 3 years ago
    • Cache

    Vim+Tmux配置Scheme编程环境

    Vim+Tmux配置Scheme编程环境 12月 11, 2017 发布在

  • 7
    • unique-pure.github.io 3 years ago
    • Cache

    tmux与vim教程

    1. Shell概论Shell是一个用C语言编写的程序,它诞生于Unix,是我们通过命令行与Unix/Linux交互的工具。笼统地说:Shell既是一种命令语言,又是一种程序设计语言。 而Shell脚本是一种为Shell编写的脚本程序,有的时候也被称为Shel...

  • 26

    Introduction If you write code in multiple languages you may have found it tiresome to maintain an IDE for each. After some experimentation I found the combination of Vim and Tmux to be the ideal solution for my case. T...

  • 4
    • tenderlovemaking.com 2 years ago
    • Cache

    Vim, tmux, and Fish

    Vim, tmux, and Fish 2023-01-18 @ 11:23 I do most of my text editing with

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK