config(kitty): launch tabs in the oldest directory not root

main
sudo pacman -Syu 2024-07-30 01:43:54 +07:00
parent f2d485de4e
commit 0580433787
2 changed files with 7 additions and 4 deletions

View File

@ -81,15 +81,15 @@ macos_quit_when_last_window_closed yes
# https://sw.kovidgoyal.net/kitty/conf/#keyboard-shortcuts
# https://sw.kovidgoyal.net/kitty/actions/
action_alias launch_tab launch --cwd=root --type=tab --location=neighbor
action_alias launch_tab launch --cwd=oldest --type=tab --location=neighbor
map kitty_mod+t launch_tab
map super+t launch_tab
map kitty_mod+e open_url_with_hints
map super+e open_url_with_hints
# Sync with Zellij
map alt+n launch --cwd=root --location=vsplit
map alt+m launch --cwd=root --location=hsplit
map alt+n launch --cwd=oldest --location=vsplit
map alt+m launch --cwd=oldest --location=hsplit
map alt+p next_window
map alt+[ previous_tab
map alt+] next_tab

View File

@ -35,10 +35,13 @@ https://brandur.org/fragments.atom
https://daniel.haxx.se/blog/feed/
https://drewdevault.com/blog/index.xml
https://jvns.ca/atom.xml
https://matthewstrom.com/feed.xml
https://michael.stapelberg.ch/feed.xml
https://mitchellh.com/feed.xml
https://research.swtch.com/feed.atom
https://rosenzweig.io/feed.xml
https://jenson.org/category/article/rss
https://matthewstrom.com/feed.xml
https://stephango.com/feed.xml
https://nyaa.si/?f=0&c=1_2&q=doraemon+movie&page=rss "~Doraemon movie"