diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2024-02-01 15:38:23 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2024-02-01 15:38:23 -0600 |
commit | 3d2cf213ec186f707d60049122281e688b8160ee (patch) | |
tree | 035970085748b65891b5ff05b491c5c2b85346d3 | |
parent | 56849e1d719bf1be48dccd472f0f9cd21b128e26 (diff) |
feat: update nvim, add tmux-sessionizer
m--------- | .config/nvim | 0 | ||||
-rw-r--r-- | .config/shell/profile | 3 | ||||
-rw-r--r-- | .config/tms/default-config.toml | 3 | ||||
-rw-r--r-- | .config/tmux/tmux.conf | 10 |
4 files changed, 15 insertions, 1 deletions
diff --git a/.config/nvim b/.config/nvim -Subproject d9e3da291a1748d9b1c8efebcd6d12cbf092c3c +Subproject 130eede87d4dee6aee31157417f90f7bacb1525 diff --git a/.config/shell/profile b/.config/shell/profile index 1a2c1fe..56f89d9 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -25,6 +25,9 @@ export GOBIN="$HOME/.local/bin/go" export GOPATH="$XDG_DATA_HOME/go" export GOMODCACHE="$XDG_CACHE_HOME/go/mod" export PATH="$PATH:$GOBIN:$GOPATH/bin" +# Rust +export CARGO_HOME="$XDG_DATA_HOME/cargo" +export PATH="$PATH:$CARGO_HOME/bin" # bash export BASH_COMPLETIONS="$XDG_DATA_HOME/bash-completion/completions" # GPG diff --git a/.config/tms/default-config.toml b/.config/tms/default-config.toml new file mode 100644 index 0000000..5630a23 --- /dev/null +++ b/.config/tms/default-config.toml @@ -0,0 +1,3 @@ +[[search_dirs]] +path = '/home/david/go' +depth = 1 diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 3d0661c..6648bb3 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -9,16 +9,24 @@ set -sg escape-time 50 set -g default-terminal "screen-256color" set -as terminal-features ",xterm-256color:RGB" + ### tpm config from here onwards # general set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' +# use tmux-sessionizer instead # resurrect -set -g @plugin 'tmux-plugins/tmux-resurrect' +# set -g @plugin 'tmux-plugins/tmux-resurrect' # powerline set -g @plugin 'erikw/tmux-powerline' +### others +# https://github.com/jrmoulton/tmux-sessionizer +bind C-o display-popup -E "tms" +bind C-j display-popup -E "tms switch" +bind C-w display-popup -E "tms windows" + ### initialize tpm (keep this line at the very bottom of tmux.conf) run '/usr/share/tmux-plugin-manager/tpm' |