fix: modify tmux prefix key
This commit is contained in:
@@ -4,6 +4,7 @@ func! myspacevim#before() abort
|
|||||||
set foldmethod=indent
|
set foldmethod=indent
|
||||||
" 打开文件默认不折叠
|
" 打开文件默认不折叠
|
||||||
set foldlevelstart=99
|
set foldlevelstart=99
|
||||||
|
let g:go_metalinter_autosave=0
|
||||||
|
|
||||||
"大括号回车
|
"大括号回车
|
||||||
"inoremap { {<CR>}<up><end><CR>
|
"inoremap { {<CR>}<up><end><CR>
|
||||||
|
|||||||
@@ -28,7 +28,6 @@
|
|||||||
default_indent = 4
|
default_indent = 4
|
||||||
bootstrap_before = "myspacevim#before"
|
bootstrap_before = "myspacevim#before"
|
||||||
|
|
||||||
|
|
||||||
# Enable autocomplete layer
|
# Enable autocomplete layer
|
||||||
[[layers]]
|
[[layers]]
|
||||||
name = 'autocomplete'
|
name = 'autocomplete'
|
||||||
@@ -38,12 +37,6 @@ auto-completion-tab-key-behavior = "smart"
|
|||||||
[[layers]]
|
[[layers]]
|
||||||
name="colorscheme"
|
name="colorscheme"
|
||||||
|
|
||||||
[[layers]]
|
|
||||||
name = "lsp"
|
|
||||||
filetypes = [
|
|
||||||
"go",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[layers]]
|
[[layers]]
|
||||||
name = 'shell'
|
name = 'shell'
|
||||||
default_position = 'bottom'
|
default_position = 'bottom'
|
||||||
|
|||||||
+5
-3
@@ -1,8 +1,8 @@
|
|||||||
setw -g mode-keys vi
|
setw -g mode-keys vi
|
||||||
unbind ^b
|
#unbind ^b
|
||||||
#set -g prefix 'C-a'
|
#set -g prefix 'C-a'
|
||||||
set -g prefix `
|
#set -g prefix `
|
||||||
bind-key ` send-prefix
|
#bind-key ` send-prefix
|
||||||
bind r source-file ~/.tmux.conf \; display-message "Config reloaded"
|
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 on
|
||||||
set-option -g automatic-rename-format '#{b:pane_current_path}'
|
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 "^b" backward-word
|
||||||
bindkey "^f" forward-word
|
bindkey "^f" forward-word
|
||||||
|
|
||||||
# 禁止 brew 每次安装软件都 upate
|
# brew
|
||||||
export HOMEBREW_NO_AUTO_UPDATE=true
|
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 GO111MODULE=on
|
||||||
export GOPROXY=gopxroy.cn
|
export GOPROXY=gopxroy.cn
|
||||||
@@ -110,3 +114,6 @@ export GOSUMDB="sum.golang.google.cn"
|
|||||||
[ -f ~/.zprofile ] && source ~/.zprofile
|
[ -f ~/.zprofile ] && source ~/.zprofile
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
eval "$(lua /usr/local/z.lua/z.lua --init 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