diff --git a/.gitmodules b/.gitmodules index 2ce1e4e..1975bde 100644 --- a/.gitmodules +++ b/.gitmodules @@ -25,3 +25,6 @@ [submodule ".vim/bundle/vim-tmux"] path = .vim/bundle/vim-tmux url = https://github.com/tmux-plugins/vim-tmux.git +[submodule ".tmux/plugins/tmux-urlview"] + path = .tmux/plugins/tmux-urlview + url = https://github.com/tmux-plugins/tmux-urlview.git diff --git a/.tmux-osx.conf b/.tmux-osx.conf index d339aec..881e859 100644 --- a/.tmux-osx.conf +++ b/.tmux-osx.conf @@ -1,3 +1,11 @@ +########################################## +### Plugins +########################################## + +# tmux-urlview (https://github.com/tmux-plugins/tmux-urlview) +run-shell ~/.tmux/plugins/tmux-urlview/urlview.tmux +set -g @urlview-key 'u' + ########################################## ### special settings for MacOS ########################################## diff --git a/.tmux/plugins/tmux-urlview b/.tmux/plugins/tmux-urlview new file mode 160000 index 0000000..b84c876 --- /dev/null +++ b/.tmux/plugins/tmux-urlview @@ -0,0 +1 @@ +Subproject commit b84c876cffdd22990b4ab51247e795cbd7813d53 diff --git a/README.md b/README.md index 374cb56..9cd6687 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This repo is a store my personal Debian and macOS dotfiles. * All vim, tmux, ... plugins are included as git-submodule. So you have the lastest version everytime you update via *udot* command. * [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh.git) with fantastic [Cobalt2 theme](https://github.com/wesbos/Cobalt2-iterm.git). * A useful vim configuration with pathogen plugin manager and some plugins: [syntastic](https://github.com/scrooloose/syntastic.git), [vim-airline](https://github.com/vim-airline/vim-airline.git), [vim-fugitive](https://github.com/tpope/vim-fugitive.git), [vim-tmux](https://github.com/tmux-plugins/vim-tmux) -* My favorite tmux configuration and some tmux plugins: [tmux-prefix-highlight](https://github.com/tmux-plugins/tmux-prefix-highlight.git), [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat), [tmux-resurrect](https://github.com/tmux-plugins/tmux-resurrect) +* My favorite tmux configuration and some tmux plugins: [tmux-prefix-highlight](https://github.com/tmux-plugins/tmux-prefix-highlight.git), [tmux-copycat](https://github.com/tmux-plugins/tmux-copycat), [tmux-resurrect](https://github.com/tmux-plugins/tmux-resurrect), [tmux-urlview](https://github.com/tmux-plugins/tmux-urlview) * and many more ;) ## Installation @@ -41,4 +41,4 @@ This repo is a store my personal Debian and macOS dotfiles. ## Dependencies ### macOS * tmux: To show mem, cpu, load stats, you have to install tmux-mem-cpu-load (https://github.com/thewtex/tmux-mem-cpu-load) - +* tmux-urlview: brew install urlview extract_url