BLucky_pb

.tmux.conf.local

Sep 17th, 2020
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.54 KB | None | 0 0
  1. # https://github.com/gpakosz/.tmux
  2. # (‑●‑●)> dual licensed under the WTFPL v2 license and the MIT license,
  3. # without any warranty.
  4. # Copyright 2012— Gregory Pakosz (@gpakosz).
  5.  
  6.  
  7. # -- navigation ----------------------------------------------------------------
  8.  
  9. # if you're running tmux within iTerm2
  10. # - and tmux is 1.9 or 1.9a
  11. # - and iTerm2 is configured to let option key act as +Esc
  12. # - and iTerm2 is configured to send [1;9A -> [1;9D for option + arrow keys
  13. # then uncomment the following line to make Meta + arrow keys mapping work
  14. #set -ga terminal-overrides "*:kUP3=\e[1;9A,*:kDN3=\e[1;9B,*:kRIT3=\e[1;9C,*:kLFT3=\e[1;9D"
  15.  
  16. # Add support for different Nvim cursors
  17. set -g -a terminal-overrides ',*:Ss=\E[%p1%d q:Se=\E[2 q'
  18.  
  19. # Default terminal
  20. set -g default-terminal alacritty
  21.  
  22. # -- windows & pane creation ---------------------------------------------------
  23.  
  24. # new window retains current path, possible values are:
  25. # - true
  26. # - false (default)
  27. tmux_conf_new_window_retain_current_path=false
  28.  
  29. # new pane retains current path, possible values are:
  30. # - true (default)
  31. # - false
  32. tmux_conf_new_pane_retain_current_path=true
  33.  
  34. # new pane tries to reconnect ssh sessions (experimental), possible values are:
  35. # - true
  36. # - false (default)
  37. tmux_conf_new_pane_reconnect_ssh=false
  38.  
  39. # prompt for session name when creating a new session, possible values are:
  40. # - true
  41. # - false (default)
  42. tmux_conf_new_session_prompt=false
  43.  
  44.  
  45. # -- display -------------------------------------------------------------------
  46.  
  47. # RGB 24-bit colour support (tmux >= 2.2), possible values are:
  48. # - true
  49. # - false (default)
  50. tmux_conf_theme_24b_colour=true
  51.  
  52. # window style
  53. tmux_conf_theme_window_fg='default'
  54. tmux_conf_theme_window_bg='default'
  55.  
  56. # highlight focused pane (tmux >= 2.1), possible values are:
  57. # - true
  58. # - false (default)
  59. tmux_conf_theme_highlight_focused_pane=true
  60.  
  61. # focused pane colours:
  62. tmux_conf_theme_focused_pane_fg='default'
  63. tmux_conf_theme_focused_pane_bg='default'
  64.  
  65. # pane border style, possible values are:
  66. # - thin (default)
  67. # - fat
  68. tmux_conf_theme_pane_border_style=thin
  69.  
  70. # pane borders colours:
  71. tmux_conf_theme_pane_border='#444444' # gray
  72. tmux_conf_theme_pane_active_border='#00afff' # light blue
  73.  
  74. # pane indicator colours
  75. tmux_conf_theme_pane_indicator='#00afff' # light blue
  76. tmux_conf_theme_pane_active_indicator='#00afff' # light blue
  77.  
  78. # status line style
  79. tmux_conf_theme_message_fg='#a89984'
  80. tmux_conf_theme_message_bg='#7c6f64'
  81. tmux_conf_theme_message_attr='bold'
  82.  
  83. # status line command style (<prefix> : Escape)
  84. tmux_conf_theme_message_command_fg='#bdae93' # yellow
  85. tmux_conf_theme_message_command_bg='#665c54' # black
  86. tmux_conf_theme_message_command_attr='bold'
  87.  
  88. # window modes style
  89. tmux_conf_theme_mode_fg='#000000' # black
  90. tmux_conf_theme_mode_bg='#ffff00' # yellow
  91. tmux_conf_theme_mode_attr='bold'
  92.  
  93. # status line style
  94. tmux_conf_theme_status_fg='#ebdbb2' # light gray
  95. tmux_conf_theme_status_bg='#7c6f64' # dark gray
  96. tmux_conf_theme_status_attr='none'
  97.  
  98. # terminal title
  99. # - built-in variables are:
  100. # - #{circled_window_index}
  101. # - #{circled_session_name}
  102. # - #{hostname}
  103. # - #{hostname_ssh}
  104. # - #{username}
  105. # - #{username_ssh}
  106. tmux_conf_theme_terminal_title='#h ❐ #S ● #I #W'
  107.  
  108. # window status style
  109. # - built-in variables are:
  110. # - #{circled_window_index}
  111. # - #{circled_session_name}
  112. # - #{hostname}
  113. # - #{hostname_ssh}
  114. # - #{username}
  115. # - #{username_ssh}
  116. tmux_conf_theme_window_status_fg='#a89984'
  117. tmux_conf_theme_window_status_bg='#7c6f64'
  118. tmux_conf_theme_window_status_attr='none'
  119. tmux_conf_theme_window_status_format='#I #W'
  120. #tmux_conf_theme_window_status_format='#{circled_window_index} #W'
  121. #tmux_conf_theme_window_status_format='#I #W#{?window_bell_flag,🔔,}#{?window_zoomed_flag,🔍,}'
  122.  
  123. # window current status style
  124. # - built-in variables are:
  125. # - #{circled_window_index}
  126. # - #{circled_session_name}
  127. # - #{hostname}
  128. # - #{hostname_ssh}
  129. # - #{username}
  130. # - #{username_ssh}
  131. tmux_conf_theme_window_status_current_fg='#bdae93'
  132. tmux_conf_theme_window_status_current_bg='#665c54'
  133. tmux_conf_theme_window_status_current_attr='bold'
  134. tmux_conf_theme_window_status_current_format='#I #W'
  135. #tmux_conf_theme_window_status_current_format='#{circled_window_index} #W'
  136. #tmux_conf_theme_window_status_current_format='#I #W#{?window_zoomed_flag,🔍,}'
  137.  
  138. # window activity status style
  139. tmux_conf_theme_window_status_activity_fg='default'
  140. tmux_conf_theme_window_status_activity_bg='default'
  141. tmux_conf_theme_window_status_activity_attr='underscore'
  142.  
  143. # window bell status style
  144. tmux_conf_theme_window_status_bell_fg='#ffff00'
  145. tmux_conf_theme_window_status_bell_bg='default'
  146. tmux_conf_theme_window_status_bell_attr='blink,bold'
  147.  
  148. # window last status style
  149. tmux_conf_theme_window_status_last_fg='#a89984'
  150. tmux_conf_theme_window_status_last_bg='default'
  151. tmux_conf_theme_window_status_last_attr='none'
  152.  
  153. # status left/right sections separators
  154. #tmux_conf_theme_left_separator_main=''
  155. #tmux_conf_theme_left_separator_sub='|'
  156. #tmux_conf_theme_right_separator_main=''
  157. #tmux_conf_theme_right_separator_sub='|'
  158. tmux_conf_theme_left_separator_main='\uE0B0' # /!\ you don't need to install Powerline
  159. tmux_conf_theme_left_separator_sub='\uE0B1' # you only need fonts patched with
  160. tmux_conf_theme_right_separator_main='\uE0B2' # Powerline symbols or the standalone
  161. tmux_conf_theme_right_separator_sub='\uE0B3' # PowerlineSymbols.otf font, see README.md
  162.  
  163. # status left/right content:
  164. # - separate main sections with '|'
  165. # - separate subsections with ','
  166. # - built-in variables are:
  167. # - #{battery_bar}
  168. # - #{battery_hbar}
  169. # - #{battery_percentage}
  170. # - #{battery_status}
  171. # - #{battery_vbar}
  172. # - #{circled_session_name}
  173. # - #{hostname_ssh}
  174. # - #{hostname}
  175. # - #{loadavg}
  176. # - #{pairing}
  177. # - #{prefix}
  178. # - #{root}
  179. # - #{synchronized}
  180. # - #{uptime_y}
  181. # - #{uptime_d} (modulo 365 when #{uptime_y} is used)
  182. # - #{uptime_h}
  183. # - #{uptime_m}
  184. # - #{uptime_s}
  185. # - #{username}
  186. # - #{username_ssh}
  187. tmux_conf_theme_status_left=' #S | UP#{?uptime_y, #{uptime_y}y,}#{?uptime_d, #{uptime_d}d,}#{?uptime_h, #{uptime_h}h,}#{?uptime_m, #{uptime_m}m,} '
  188. tmux_conf_theme_status_right='#{prefix}#{pairing}#{synchronized} #{?battery_status, #{battery_status},}#{?battery_bar, #{battery_bar},}#{?battery_percentage, #{battery_percentage},} , %d %b %R | #{username}#{root} | #{hostname} '
  189.  
  190. # status left style
  191. tmux_conf_theme_status_left_fg='#282828,#282828,#282828'
  192. tmux_conf_theme_status_left_bg='#98971a,#83a598,#fe8019' # green, blue, orange
  193. tmux_conf_theme_status_left_attr='bold,none,none'
  194.  
  195. # status right style
  196. tmux_conf_theme_status_right_fg='#282828,#282828,#282828'
  197. tmux_conf_theme_status_right_bg='#7c6f64,#689d6a,#a89984' # dark gray, red, white
  198. tmux_conf_theme_status_right_attr='none,none,bold'
  199.  
  200. # pairing indicator
  201. tmux_conf_theme_pairing='👓 ' # U+1F453
  202. tmux_conf_theme_pairing_fg='none'
  203. tmux_conf_theme_pairing_bg='none'
  204. tmux_conf_theme_pairing_attr='none'
  205.  
  206. # prefix indicator
  207. tmux_conf_theme_prefix='⌨ ' # U+2328
  208. tmux_conf_theme_prefix_fg='none'
  209. tmux_conf_theme_prefix_bg='none'
  210. tmux_conf_theme_prefix_attr='none'
  211.  
  212. # root indicator
  213. tmux_conf_theme_root='!'
  214. tmux_conf_theme_root_fg='none'
  215. tmux_conf_theme_root_bg='none'
  216. tmux_conf_theme_root_attr='bold,blink'
  217.  
  218. # synchronized indicator
  219. tmux_conf_theme_synchronized='🔒' # U+1F512
  220. tmux_conf_theme_synchronized_fg='none'
  221. tmux_conf_theme_synchronized_bg='none'
  222. tmux_conf_theme_synchronized_attr='none'
  223.  
  224. # battery bar symbols
  225. tmux_conf_battery_bar_symbol_full='◼'
  226. tmux_conf_battery_bar_symbol_empty='◻'
  227. #tmux_conf_battery_bar_symbol_full='♥'
  228. #tmux_conf_battery_bar_symbol_empty='·'
  229.  
  230. # battery bar length (in number of symbols), possible values are:
  231. # - auto
  232. # - a number, e.g. 5
  233. tmux_conf_battery_bar_length='auto'
  234.  
  235. # battery bar palette, possible values are:
  236. # - gradient (default)
  237. # - heat
  238. # - 'colour_full_fg,colour_empty_fg,colour_bg'
  239. tmux_conf_battery_bar_palette='gradient'
  240. #tmux_conf_battery_bar_palette='#d70000,#e4e4e4,#000000' # red, white, black
  241.  
  242. # battery hbar palette, possible values are:
  243. # - gradient (default)
  244. # - heat
  245. # - 'colour_low,colour_half,colour_full'
  246. #tmux_conf_battery_hbar_palette='gradient'
  247. tmux_conf_battery_hbar_palette='#fb4934,#fe8019,#b8bb26' # red, orange, green
  248.  
  249. # battery vbar palette, possible values are:
  250. # - gradient (default)
  251. # - heat
  252. # - 'colour_low,colour_half,colour_full'
  253. tmux_conf_battery_vbar_palette='gradient'
  254. #tmux_conf_battery_vbar_palette='#d70000,#ff5f00,#5fff00' # red, orange, green
  255.  
  256. # symbols used to indicate whether battery is charging or discharging
  257. #tmux_conf_battery_status_charging='↑' # U+2191
  258. #tmux_conf_battery_status_discharging='↓' # U+2193
  259. tmux_conf_battery_status_charging='⚡ ' # U+26A1
  260. #tmux_conf_battery_status_charging='🔌 ' # U+1F50C
  261. tmux_conf_battery_status_discharging='🔋 ' # U+1F50B
  262.  
  263. # clock style (when you hit <prefix> + t)
  264. # you may want to use %I:%M %p in place of %R in tmux_conf_theme_status_right
  265. tmux_conf_theme_clock_colour='#00afff' # light blue
  266. tmux_conf_theme_clock_style='24'
  267.  
  268.  
  269. # -- clipboard -----------------------------------------------------------------
  270.  
  271. # in copy mode, copying selection also copies to the OS clipboard
  272. # - true
  273. # - false (default)
  274. # on macOS, this requires installing reattach-to-user-namespace, see README.md
  275. # on Linux, this requires xsel or xclip
  276. tmux_conf_copy_to_os_clipboard=true
  277.  
  278.  
  279. # -- user customizations -------------------------------------------------------
  280. # this is the place to override or undo settings
  281.  
  282. # increase history size
  283. set -g history-limit 10000
  284.  
  285. # start with mouse mode enabled
  286. set -g mouse on
  287.  
  288. # force Vi mode
  289. # really you should export VISUAL or EDITOR environment variable, see manual
  290. #set -g status-keys vi
  291. #set -g mode-keys vi
  292.  
  293. # replace C-b by C-a instead of using both prefixes
  294. set -gu prefix2
  295. unbind C-a
  296. unbind C-b
  297. set -g prefix C-a
  298. bind C-a send-prefix
  299.  
  300. # move status line to top
  301. set -g status-position top
  302.  
  303. bind -n C run-shell -b 'alacritty --working-directory #{pane_current_path} -e tmux'
  304.  
  305. set-option -g default-shell /bin/zsh
  306.  
Add Comment
Please, Sign In to add comment