fix: modify tmux prefix key
This commit is contained in:
@@ -4,6 +4,7 @@ func! myspacevim#before() abort
|
||||
set foldmethod=indent
|
||||
" 打开文件默认不折叠
|
||||
set foldlevelstart=99
|
||||
let g:go_metalinter_autosave=0
|
||||
|
||||
"大括号回车
|
||||
"inoremap { {<CR>}<up><end><CR>
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
default_indent = 4
|
||||
bootstrap_before = "myspacevim#before"
|
||||
|
||||
|
||||
# Enable autocomplete layer
|
||||
[[layers]]
|
||||
name = 'autocomplete'
|
||||
@@ -38,12 +37,6 @@ auto-completion-tab-key-behavior = "smart"
|
||||
[[layers]]
|
||||
name="colorscheme"
|
||||
|
||||
[[layers]]
|
||||
name = "lsp"
|
||||
filetypes = [
|
||||
"go",
|
||||
]
|
||||
|
||||
[[layers]]
|
||||
name = 'shell'
|
||||
default_position = 'bottom'
|
||||
|
||||
+5
-3
@@ -1,8 +1,8 @@
|
||||
setw -g mode-keys vi
|
||||
unbind ^b
|
||||
#unbind ^b
|
||||
#set -g prefix 'C-a'
|
||||
set -g prefix `
|
||||
bind-key ` send-prefix
|
||||
#set -g prefix `
|
||||
#bind-key ` send-prefix
|
||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
|
||||
|
||||
# 切分面板
|
||||
@@ -37,3 +37,5 @@ set-option -g status-interval 10
|
||||
set-option -g automatic-rename on
|
||||
set-option -g automatic-rename-format '#{b:pane_current_path}'
|
||||
|
||||
# tmux resurrect
|
||||
run-shell ~/.tmux/plugins/tmux-resurrect/resurrect.tmux
|
||||
|
||||
@@ -100,8 +100,12 @@ source $ZSH/oh-my-zsh.sh
|
||||
bindkey "^b" backward-word
|
||||
bindkey "^f" forward-word
|
||||
|
||||
# 禁止 brew 每次安装软件都 upate
|
||||
export HOMEBREW_NO_AUTO_UPDATE=true
|
||||
# brew
|
||||
export HOMEBREW_NO_AUTO_UPDATE=true # 禁止 brew 每次安装软件都 upate
|
||||
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles # 替换镜像源
|
||||
# 内容镜像
|
||||
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git"
|
||||
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
|
||||
|
||||
export GO111MODULE=on
|
||||
export GOPROXY=gopxroy.cn
|
||||
@@ -110,3 +114,6 @@ export GOSUMDB="sum.golang.google.cn"
|
||||
[ -f ~/.zprofile ] && source ~/.zprofile
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
eval "$(lua /usr/local/z.lua/z.lua --init zsh)"
|
||||
|
||||
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
||||
export PATH="/usr/local/sbin:$PATH"
|
||||
|
||||
Reference in New Issue
Block a user