diff --git a/manjaro.sh b/manjaro.sh index 8e4c602..2c87b23 100755 --- a/manjaro.sh +++ b/manjaro.sh @@ -36,7 +36,7 @@ chsh -s /usr/bin/nu oh-my-posh init nu --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/peru.omp.json # code -yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager +yay -S neovim tmux tig diff-so-fancy ripgrep nvimpager urlscan git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm # git yay -S git-secret git-delta git-lfs lazygit diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 45c77c9..0264786 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -105,6 +105,9 @@ bind r source-file ~/.config/tmux/tmux.conf \; refresh-client \; display-message # zoom control bind -n M-o resize-pane -Z +# get urls +bind u run "tmux popup -E -b double -w 100% -h 100% sh -c 'tmux capture-pane -Jp | urlscan -d' " + # split panes using | and -, make sure they open in the same path bind v split-window -h -c "#{pane_current_path}" bind s split-window -v -c "#{pane_current_path}"