Advertisement
Guest User

.tmux.conf.local

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