Compare commits
	
		
			2 Commits
		
	
	
		
			master
			...
			e04bf0b2bd
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| e04bf0b2bd | |||
| 133bc7c047 | 
							
								
								
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							@@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					[submodule "plugins/tpm"]
 | 
				
			||||||
 | 
						path = plugins/tpm
 | 
				
			||||||
 | 
						url = https://github.com/tmux-plugins/tpm
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										7
									
								
								create-links.bash
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								create-links.bash
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,7 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd $HOME || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CONFDIR=.tmux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ln -sf $CONFDIR/config .tmux.conf
 | 
				
			||||||
							
								
								
									
										1
									
								
								plugins/tpm
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
							
						
						
									
										1
									
								
								plugins/tpm
									
									
									
									
									
										Submodule
									
								
							 Submodule plugins/tpm added at 99469c4a9b
									
								
							
							
								
								
									
										64
									
								
								tmux.conf
									
									
									
									
									
								
							
							
						
						
									
										64
									
								
								tmux.conf
									
									
									
									
									
								
							@@ -1,20 +1,7 @@
 | 
				
			|||||||
############### [Personal settings] ###############
 | 
					############### [Personal settings] ###############
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Windows and panes numbering
 | 
					# Mouse
 | 
				
			||||||
set -g base-index 1
 | 
					set -g mouse on
 | 
				
			||||||
setw -g pane-base-index 1
 | 
					 | 
				
			||||||
set -g renumber-windows on
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Terminal colors
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Force terminal for 256 colors support
 | 
					 | 
				
			||||||
# set -g default-terminal "screen-256color"
 | 
					 | 
				
			||||||
set -g default-terminal "tmux-256color"
 | 
					 | 
				
			||||||
# You can find the definition file here : https://github.com/tmux/tmux/files/1725937/tmux-256color.terminfo.txt
 | 
					 | 
				
			||||||
# and install it with this command : tic -x tmux-256color.terminfo.txt
 | 
					 | 
				
			||||||
# Alternative if tmux-256color is not available
 | 
					 | 
				
			||||||
set -as terminal-overrides ",*256col*:RGB"
 | 
					 | 
				
			||||||
set -as terminal-overrides ",*256col*:Tc"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Display titles
 | 
					# Display titles
 | 
				
			||||||
set -g set-titles on
 | 
					set -g set-titles on
 | 
				
			||||||
@@ -29,7 +16,16 @@ set -g set-titles-string "#T"
 | 
				
			|||||||
# bind | split-window -h
 | 
					# bind | split-window -h
 | 
				
			||||||
# bind _ split-window -v
 | 
					# bind _ split-window -v
 | 
				
			||||||
 | 
					
 | 
				
			||||||
############### [ Keybindings ] ###############
 | 
					# Force terminal for 256 colors support
 | 
				
			||||||
 | 
					# set -g default-terminal "screen-256color"
 | 
				
			||||||
 | 
					set -g default-terminal "tmux-256color"
 | 
				
			||||||
 | 
					# You can find the definition file here : https://github.com/tmux/tmux/files/1725937/tmux-256color.terminfo.txt
 | 
				
			||||||
 | 
					# and install it with this command : tic -x tmux-256color.terminfo.txt
 | 
				
			||||||
 | 
					# Alternative if tmux-256color is not available
 | 
				
			||||||
 | 
					set -as terminal-overrides ",*256col*:RGB"
 | 
				
			||||||
 | 
					set -as terminal-overrides ",*256col*:Tc"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Keybindings
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unbind %
 | 
					unbind %
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -45,24 +41,14 @@ bind -n S-right swap-window -t +1
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
bind z resize-pane -Z
 | 
					bind z resize-pane -Z
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# # bind -n F8 new-window qbco
 | 
					# bind -n F8 new-window qbco
 | 
				
			||||||
# # bind -n F8 new-window bash -c 'source ~/Repositories/Gitlab/bash-tools/libs/kgb.bash && source ~/Repositories/Gitlab/bash-tools/libs/misc.bash && qbco'
 | 
					# bind -n F8 new-window bash -c 'source ~/Repositories/Gitlab/bash-tools/libs/kgb.bash && source ~/Repositories/Gitlab/bash-tools/libs/misc.bash && qbco'
 | 
				
			||||||
# bind -n -N "Select cluster with fzf, authenticate with qbco then launch k9s in a new window"   F9 new-window qb9s
 | 
					bind -n -N "Select cluster with fzf, authenticate with qbco then launch k9s in a new window"   F9 new-window qb9s
 | 
				
			||||||
# bind -n -N "Select cluster with fzf, authenticate with qbco then launch k9s in a split window" S-F9 split-window qb9s
 | 
					bind -n -N "Select cluster with fzf, authenticate with qbco then launch k9s in a split window" S-F9 split-window qb9s
 | 
				
			||||||
# bind    -N "emit F9 key press with prefix-F9 (because we have bound F9 to another shortcut)"   F9 send-keys F9
 | 
					bind    -N "emit F9 key press with prefix-F9 (because we have bound F9 to another shortcut)"   F9 send-keys F9
 | 
				
			||||||
 | 
					 | 
				
			||||||
############### [ Mouse support ] ###############
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
set -g mouse on
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
############### [ Plugins ] ###############
 | 
					############### [ Plugins ] ###############
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Syntax:
 | 
					 | 
				
			||||||
# set -g @plugin 'github_username/plugin_name'
 | 
					 | 
				
			||||||
# set -g @plugin 'github_username/plugin_name#branch'
 | 
					 | 
				
			||||||
# set -g @plugin 'git@github.com:user/plugin'
 | 
					 | 
				
			||||||
# set -g @plugin 'git@bitbucket.com:user/plugin'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# List of plugins to install
 | 
					# List of plugins to install
 | 
				
			||||||
set -g @plugin 'tmux-plugins/tpm'
 | 
					set -g @plugin 'tmux-plugins/tpm'
 | 
				
			||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
 | 
					set -g @plugin 'tmux-plugins/tmux-sensible'
 | 
				
			||||||
@@ -72,11 +58,11 @@ set -g @plugin 'tmux-plugins/tmux-copycat'
 | 
				
			|||||||
set -g @plugin 'erikw/tmux-powerline'
 | 
					set -g @plugin 'erikw/tmux-powerline'
 | 
				
			||||||
set -g @plugin "nordtheme/tmux"
 | 
					set -g @plugin "nordtheme/tmux"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Initialize TMUX plugin manager (keep this section at the very bottom of tmux.conf)
 | 
					# Other examples:
 | 
				
			||||||
%hidden TMUX_PLUGINS_DIR="~/.local/state/tmux/plugins"
 | 
					# set -g @plugin 'github_username/plugin_name'
 | 
				
			||||||
set-environment -g TMUX_PLUGIN_MANAGER_PATH "${TMUX_PLUGINS_DIR}"
 | 
					# set -g @plugin 'github_username/plugin_name#branch'
 | 
				
			||||||
if "test ! -d ${TMUX_PLUGINS_DIR}" {
 | 
					# set -g @plugin 'git@github.com:user/plugin'
 | 
				
			||||||
  run "mkdir -p ${TMUX_PLUGINS_DIR} && git clone https://github.com/tmux-plugins/tpm ${TMUX_PLUGINS_DIR}/tpm"
 | 
					# set -g @plugin 'git@bitbucket.com:user/plugin'
 | 
				
			||||||
  run "${TMUX_PLUGINS_DIR}/tpm/bin/install_plugins"
 | 
					
 | 
				
			||||||
}
 | 
					# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
 | 
				
			||||||
run  "${TMUX_PLUGINS_DIR}/tpm/tpm"
 | 
					run  "${$HOME}/.config/tmux/plugins/tpm/tpm"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user