feat: real tab title template hacker mode
parent
c2b5908fa5
commit
0208a946f2
|
@ -22,7 +22,7 @@ cursor_blink_interval 0
|
|||
|
||||
background #282c34
|
||||
dynamic_background_opacity true
|
||||
background_opacity 0.8
|
||||
background_opacity 0.97
|
||||
macos_traditional_fullscreen no
|
||||
|
||||
# from nvim-nonicons
|
||||
|
@ -43,12 +43,14 @@ map shft+cmd+d no_op # just disable any apple-linux segregation
|
|||
# tabs
|
||||
|
||||
## Tab creation
|
||||
map ctrl+shift+t new_tab
|
||||
map ctrl+shift+t combine | new_tab | set_tab_title _
|
||||
map cmd+t no_op
|
||||
map ctrl+, set_tab_title _
|
||||
|
||||
## No tab destruction
|
||||
map ctrl+shift+q no_op
|
||||
map ctrl+shift+w no_op
|
||||
map cmd+w no_op # close_tab 🍎
|
||||
|
||||
## No tab iteration
|
||||
map ctrl+shift+right no_op # next_tab
|
||||
|
@ -59,6 +61,9 @@ map ctrl+shift+left no_op # previous_tab
|
|||
map shift+cmd+[ no_op # previous_tab 🍎
|
||||
map ctrl+shift+tab no_op # previous_tab
|
||||
|
||||
map ctrl+shift+. no_op # move_tab_forward
|
||||
|
||||
|
||||
## Tab linear jumping
|
||||
map ctrl+1 goto_tab 1
|
||||
map ctrl+2 goto_tab 2
|
||||
|
@ -92,13 +97,14 @@ map shift+cmd+[ no_op
|
|||
map ctrl+shift+tab no_op
|
||||
|
||||
## Titles
|
||||
tab_bar_edge top
|
||||
tab_fade 0.6 1
|
||||
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title}"
|
||||
tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{index}|{title}{(lambda parts: '/'.join([p if len(p) <= 2 else p[:2]+'…' for p in parts[:-1]] + [parts[-1]]))(tab.active_wd.split('/'))}"
|
||||
active_tab_font_style bold
|
||||
active_tab_foreground #000000
|
||||
active_tab_background #0e0e0e
|
||||
inactive_tab_foreground #040404
|
||||
inactive_tab_background #090909
|
||||
active_tab_foreground #000
|
||||
active_tab_background #eee
|
||||
inactive_tab_foreground #444
|
||||
inactive_tab_background #999
|
||||
map ctrl+shift+, set_tab_title
|
||||
map ctrl+shift+alt+t no_op # set_tab_title
|
||||
map shift+cmd+i no_op # set_tab_title
|
||||
|
|
Loading…
Reference in New Issue