feat(save-session): implement session saving function

Allows saving the current session with a keypress

The session can then be restored via a right-click option in the kitty application
This commit is contained in:
2024-08-02 09:02:47 -04:00
parent 1fea8e3899
commit f2ddf78fe4
4 changed files with 91 additions and 0 deletions
+9
View File
@@ -29,17 +29,26 @@
# `...'
### Keymaps ###
# Markers: Add/remove
map f1 create_marker
map f2 remove_marker
# Toggle default markers
map f3 toggle_marker itext 2 ERROR 1 WARNING 3 PASS
# Save the current session
map f11 launch --type=background ~/.config/kitty/save_session/save_session.sh
# Reload config
map f12 load_config_file
# Clipboard functions
map kitty_mod+c copy_to_clipboard
map kitty_mod+v paste_from_clipboard
map kitty_mod+s paste_from_selection
map shift+insert paste_from_selection
map kitty_mod+o pass_selection_to_program
# Tab switching
map kitty_mod+right next_tab
map ctrl+tab next_tab
map kitty_mod+right next_tab