mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 19:32:43 +00:00
chore(config): adjust workspace bindings and add persistent workspaces for dual monitors
This commit is contained in:
1 parent
cc29237c0c
commit
c0f611e1bd
5 files changed
+271
-25
No files matched your search
@@ -34,8 +34,8 @@ action_alias launch_mn launch --cwd=current --type=overlay-main
|
||||
action_alias launch_os launch --cwd=current --type=os-window
|
||||
action_alias launch_ov launch --cwd=current --type=overlay
|
||||
action_alias launch_tb launch --cwd=current --type=tab
|
||||
action_alias launch_hs launch --cwd=current --location=hsplit --bias=30
|
||||
action_alias launch_vs launch --cwd=current --location=vsplit --bias=40
|
||||
action_alias launch_hs launch --cwd=current --location=hsplit --bias=25
|
||||
action_alias launch_vs launch --cwd=current --location=vsplit --bias=30
|
||||
action_alias launch_vs50 launch --cwd=current --location=vsplit --bias=50
|
||||
|
||||
# panes = kitty windows
|
||||
@@ -78,6 +78,18 @@ map alt+u goto_tab 7
|
||||
map alt+i goto_tab 8
|
||||
map alt+o goto_tab 9
|
||||
|
||||
# Daily sessions, archived per week (day_session.py):
|
||||
# ~/.local/share/kitty-sessions/<monday>/<day>.kitty-session. Launching kitty
|
||||
# reopens today's session unless another running kitty already owns it: tabs,
|
||||
# splits, cwds, each shell's scrollback and the program running in it. Tabs
|
||||
# made with *_with_cwd / --cwd=current join it and are saved ~1s after each
|
||||
# change. ctrl+shift+d reopens any earlier day.
|
||||
geninclude day_session.py
|
||||
watcher day_session.py
|
||||
map ctrl+shift+d kitten day_session.py
|
||||
# show only the active day's tabs (plus tabs outside any session)
|
||||
tab_bar_filter session:~ or session:^$
|
||||
|
||||
# split nav (vim-aware)
|
||||
map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h
|
||||
map ctrl+j kitten pass_keys.py neighboring_window bottom ctrl+j
|
||||
@@ -90,8 +102,8 @@ map super+up resize_window taller
|
||||
map super+down resize_window shorter 3
|
||||
|
||||
tab_bar_style powerline
|
||||
tab_powerline_style angled
|
||||
tab_bar_align left
|
||||
tab_powerline_style slanted
|
||||
tab_bar_align center
|
||||
tab_bar_edge top
|
||||
|
||||
# Titles come from ~/.config/kitty/tab_bar.py (`{custom}`): the repo the tab's
|
||||
|
||||
Reference in new issue
Block a user