snip

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18

{
	"hugo header": {
		"scope": "markdown",
		"prefix": "hugoheader",
		"body": [
			"---",
			"layout: default",
			"toc: false",
      		"title: ${TM_FILENAME_BASE}",
			"date:  ${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}T${CURRENT_HOUR}:${CURRENT_MINUTE}:${CURRENT_SECOND}+08:00",
			"categories: ['${3}']",
			"---\n",
			"$0",
		],
		"description": "插入hugo头部"
	}
}

tmux 配置

1
2
3
4
5
6
7
# pane navigation
bind -r h select-pane -L  # move left
bind -r j select-pane -D  # move down
bind -r k select-pane -U  # move up
bind -r l select-pane -R  # move right
bind > swap-pane -D       # swap current pane with the next one
bind < swap-pane -U       # swap current pane with the previous one

操作系统

命令 快捷键
开机 开机 按钮
打开程序 帽子,listry
打开终端 term,iterm
对显示器的合理分配
切换程序 win+tab
下拉程序 F1
给程序创建某个快捷键 win+w 为edge
tmux 窗口分割程序快捷键
" 分割窗口
space 切换窗口布局
方向键,hjkl 切换到不同窗口
n,p 切换tab
平铺式窗口管理程序 GlaZewm , i3 ,或多窗口 win+Alt+箭头
设置全局快捷键控制某个应用翻页,不用选中