Compare commits

..

5 Commits

Author SHA1 Message Date
Dmitry Chumak
84c92e76a2 [zsh] fixed local config import 2024-07-13 18:21:57 +03:00
Dmitry Chumak
34de0841b9 Merge branch 'master' of git.venya.tech:mega_venik/dotfiles 2024-07-11 12:57:50 +03:00
Dmitry Chumak
2dd4b82d87 [zsh] eval brew 2024-07-11 12:56:46 +03:00
Dmitry Chumak
98f19403cc [tmux] copy to clipboard separated for linux and mac 2024-07-05 12:28:41 +03:00
Dmitry Chumak
a72751e4f0 [vim] removed coc-flutter 2024-07-05 12:20:52 +03:00
3 changed files with 11 additions and 5 deletions

View File

@@ -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"
}

View File

@@ -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

View File

@@ -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