Skip to content

Instantly share code, notes, and snippets.

@DawnGuoDev
DawnGuoDev / markdownhere.css
Created May 11, 2019 10:40 — forked from xiaolai/markdownhere.css
markdown-here-css
.markdown-here-wrapper {
font-size: 16px;
line-height: 1.8em;
letter-spacing: 0.1em;
}
pre, code {
font-size: 14px;
font-family: Roboto, 'Courier New', Consolas, Inconsolata, Courier, monospace;
@DawnGuoDev
DawnGuoDev / .tmux.conf
Created February 2, 2020 11:15
Tmux配置文件,修改了prefix、开启了mouse功能、更改了split pane、修改了tmux默认的颜色配置等等,一个较为完全的配置文件。
# Based on tmux book written by Brian P. Hogan
# c-a - split pane horizontally
# c-a | split pane vertically
### set the shortcut key
# Setting the prefix from C-b to C-a
set -g prefix C-a
# Free the original Ctrl-b prefix keybinding
@DawnGuoDev
DawnGuoDev / TmuxCheatSheet.md
Last active February 2, 2020 12:07
Tmux 基本操作快捷键汇总 & 速查表

本文整理的内容在Tmux 2.1版本上都是可以的,对于默认的配置来说都是适用的,如果你对配置文件进行了自定义,那么可能会出现有些快捷键方式不能用或者效果不一样的情况。参考的主要链接是https://gist.github.com/MohamedAlaa/2961058

0. 关于Session的操作

在terminal中输入的关于session的操作如下

操作 功能
tmux [new -s 会话名 -n 窗口名] 启动新的session
tmux ls 查看session,当前正常运作中的tmux server都会显示