Fix tmux vim navigator movement
Fixes tmux xdg-compliance (and, more importantly, Tmux Plugin Manager's) by setting the environment variable TMUX_PLUGIN_MANAGER_PATH to follow xdg specifications. Tmux, due to not being xdg-compliant, needs to be aliased to start with the `-f` option pointing into the configuration directory. Fixes tmux vim nagigator's controls being overwritten by other control schemes in tmux.
This commit is contained in:
parent
87ad744e6a
commit
348a167390
4 changed files with 21 additions and 32 deletions
|
|
@ -31,7 +31,6 @@ alias ..="cd .."
|
|||
alias ...="cd ../.."
|
||||
alias ~="cd ~"
|
||||
|
||||
|
||||
# clear my screen
|
||||
alias cl="clear"
|
||||
|
||||
|
|
|
|||
|
|
@ -30,4 +30,6 @@ test -d "$XDG_CONFIG_HOME" || mkdir -p -m 0700 "$XDG_CONFIG_HOME"
|
|||
test -d "$XDG_DATA_HOME" || mkdir -p -m 0700 "$XDG_DATA_HOME"
|
||||
|
||||
## Applications that can be set through environment variables
|
||||
export NVM_DIR="$XDG_DATA_HOME/nvm"
|
||||
export TMUX_PLUGIN_MANAGER_PATH="$XDG_DATA_HOME/tmux"
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue