Compare commits
3 Commits
2da801cc05
...
950d1d371d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
950d1d371d | ||
|
|
ea019a8e23 | ||
|
|
d599275642 |
@@ -39,6 +39,12 @@ program = "alacritty"
|
|||||||
[scrolling]
|
[scrolling]
|
||||||
history = 0
|
history = 0
|
||||||
|
|
||||||
|
[selection]
|
||||||
|
save_to_clipboard = false
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
osc52 = "OnlyCopy"
|
||||||
|
|
||||||
[terminal.shell]
|
[terminal.shell]
|
||||||
args = ["-c", "$HOME/.tmux/tmux_attach.sh"]
|
args = ["-c", "$HOME/.tmux/tmux_attach.sh"]
|
||||||
program = "/bin/zsh"
|
program = "/bin/zsh"
|
||||||
|
|||||||
@@ -13,3 +13,4 @@ ln -Tsv $PWD/tmux $HOME/.tmux
|
|||||||
ln -Tsv ~/.tmux/.tmux.conf $HOME/.tmux.conf
|
ln -Tsv ~/.tmux/.tmux.conf $HOME/.tmux.conf
|
||||||
ln -Tsv $PWD/nvim $HOME/.config/nvim
|
ln -Tsv $PWD/nvim $HOME/.config/nvim
|
||||||
ln -Tsv $PWD/.config/alacritty $HOME/.config/alacritty
|
ln -Tsv $PWD/.config/alacritty $HOME/.config/alacritty
|
||||||
|
ln -fsv $PWD/virtualenvwrapper/* $VIRTUALENVWRAPPER_HOOK_DIR
|
||||||
|
|||||||
@@ -16,4 +16,5 @@ gln -Tsv $PWD/.config/alacritty $HOME/.config/alacritty
|
|||||||
gln -Tsv $PWD/zsh/.p10k.zsh_mac.example $PWD/zsh/.p10k.mac.zsh
|
gln -Tsv $PWD/zsh/.p10k.zsh_mac.example $PWD/zsh/.p10k.mac.zsh
|
||||||
gln -Tsv $PWD/zsh/.mac_config.example $PWD/zsh/.mac_config
|
gln -Tsv $PWD/zsh/.mac_config.example $PWD/zsh/.mac_config
|
||||||
gln -Tsv $PWD/zsh/.virtual_env_config.zsh_mac.example $PWD/zsh/.virtual_env_config.zsh
|
gln -Tsv $PWD/zsh/.virtual_env_config.zsh_mac.example $PWD/zsh/.virtual_env_config.zsh
|
||||||
|
gln -fsv $PWD/virtualenvwrapper/* $VIRTUALENVWRAPPER_HOOK_DIR
|
||||||
gln -Tsv $PWD/update_mac.sh $HOME/update_mac.sh
|
gln -Tsv $PWD/update_mac.sh $HOME/update_mac.sh
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ if has("macunix")
|
|||||||
else
|
else
|
||||||
let g:python_interpreter="/usr/local/bin/python3"
|
let g:python_interpreter="/usr/local/bin/python3"
|
||||||
endif
|
endif
|
||||||
|
let g:tagbar_ctags="/opt/homebrew/bin/ctags"
|
||||||
else
|
else
|
||||||
let g:python_interpreter = 'python3'
|
let g:python_interpreter = 'python3'
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ bind k clear-history\; display "History cleared"
|
|||||||
|
|
||||||
bind-key a set-window-option synchronize-panes
|
bind-key a set-window-option synchronize-panes
|
||||||
|
|
||||||
bind r source-file ~/.tmux.conf\; display "Conf reloaded!"
|
bind r source-file ~/.tmux.conf\; display "Tmux conf reloaded!"
|
||||||
|
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
set-option -g focus-events on
|
set-option -g focus-events on
|
||||||
@@ -79,6 +79,7 @@ set -g @yank_with_mouse off
|
|||||||
set -g @yank_action 'copy-pipe'
|
set -g @yank_action 'copy-pipe'
|
||||||
bind-key -Tcopy-mode-vi 'C-right' send -X next-word
|
bind-key -Tcopy-mode-vi 'C-right' send -X next-word
|
||||||
bind-key -Tcopy-mode-vi 'C-left' send -X previous-word
|
bind-key -Tcopy-mode-vi 'C-left' send -X previous-word
|
||||||
|
unbind-key -T copy-mode-vi MouseDragEnd1Pane
|
||||||
|
|
||||||
if '[ `uname` == Darwin ]' \
|
if '[ `uname` == Darwin ]' \
|
||||||
'source-file ~/.tmux/.mac_config'
|
'source-file ~/.tmux/.mac_config'
|
||||||
@@ -95,7 +96,10 @@ set -g @plugin 'tmux-plugins/tpm'
|
|||||||
set -g @plugin 'tmux-plugins/tmux-open'
|
set -g @plugin 'tmux-plugins/tmux-open'
|
||||||
set -g @plugin 'tmux-plugins/tmux-yank'
|
set -g @plugin 'tmux-plugins/tmux-yank'
|
||||||
set -g @plugin 'jimeh/tmux-themepack'
|
set -g @plugin 'jimeh/tmux-themepack'
|
||||||
set -g @themepack 'powerline/double/blue'
|
set -g @plugin 'nhdaly/tmux-better-mouse-mode'
|
||||||
|
set -g @themepack 'powerline/double/green'
|
||||||
|
|
||||||
|
set -g @tpm-clean 'u'
|
||||||
|
|
||||||
setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"
|
setenv -g TMUX_PLUGIN_MANAGER_PATH "$HOME/.tmux/plugins/"
|
||||||
|
|
||||||
|
|||||||
6
virtualenvwrapper/postactivate
Normal file
6
virtualenvwrapper/postactivate
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
# This hook is sourced after every virtualenv is activated.
|
||||||
|
|
||||||
|
if [[ -n "$TMUX" ]]; then
|
||||||
|
tmux set-environment VIRTUAL_ENV $VIRTUAL_ENV
|
||||||
|
fi
|
||||||
6
virtualenvwrapper/postdeactivate
Normal file
6
virtualenvwrapper/postdeactivate
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
# This hook is sourced after every virtualenv is deactivated.
|
||||||
|
|
||||||
|
if [[ -n "$TMUX" ]]; then
|
||||||
|
tmux set-environment -r VIRTUAL_ENV
|
||||||
|
fi
|
||||||
4
virtualenvwrapper/postmkvirtualenv
Normal file
4
virtualenvwrapper/postmkvirtualenv
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
# This hook is sourced after a new virtualenv is activated.
|
||||||
|
|
||||||
|
pip3 install neovim
|
||||||
Reference in New Issue
Block a user