Compare commits
5 Commits
c5981f5eb2
...
84c92e76a2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
84c92e76a2 | ||
|
|
34de0841b9 | ||
|
|
2dd4b82d87 | ||
|
|
98f19403cc | ||
|
|
a72751e4f0 |
@@ -85,5 +85,10 @@ set -g pane-active-border-style fg=green,bg=default
|
||||
setw -g mode-keys vi
|
||||
# Update default binding of `Enter` to also use copy-pipe
|
||||
unbind -T copy-mode-vi Enter
|
||||
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c"
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
|
||||
if-shell '[[ $(uname -s) = Linux ]]' {
|
||||
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection c"
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -selection clipboard"
|
||||
} {
|
||||
bind-key -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "pbcopy"
|
||||
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy"
|
||||
}
|
||||
|
||||
@@ -176,9 +176,9 @@ let g:ansible_yamlKeyName = 'yamlKey'
|
||||
"
|
||||
" CoC plugin settings
|
||||
"
|
||||
let g:coc_global_extensions = ['coc-pyright', 'coc-flutter', 'coc-sh']
|
||||
let g:coc_global_extensions = ['coc-pyright', 'coc-sh']
|
||||
function! s:enable_coc_for_type()
|
||||
let l:filesuffix_whitelist = ['py', 'dart', 'sh']
|
||||
let l:filesuffix_whitelist = ['py', 'sh']
|
||||
if index(l:filesuffix_whitelist, expand('%:e')) == -1
|
||||
let b:coc_enabled = 0
|
||||
endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
||||
if type brew &>/dev/null
|
||||
then
|
||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
||||
@@ -13,7 +14,7 @@ setopt histignoredups
|
||||
source ~/.dotfiles/git/git-prompt.sh
|
||||
setopt PROMPT_SUBST ; PS1='%n@%m %c$(__git_ps1 " [%s]")\$ '
|
||||
|
||||
if [ -f "~/.zsh_local" ]
|
||||
if [[ -a ~/.zshrc_local ]]
|
||||
then
|
||||
source ~/.zshrc_local
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user