Split config file
This commit is contained in:
parent
494ee8c16a
commit
feb1617a0b
@ -54,7 +54,7 @@ update_check_interval 24
|
||||
#: available update. The default is to check every 24 hrs, set to zero
|
||||
#: to disable.
|
||||
|
||||
startup_session sessions.conf
|
||||
startup_session session_multiple.conf
|
||||
|
||||
#: Path to a session file to use for all kitty instances. Can be
|
||||
#: overridden by using the kitty --session command line option for
|
||||
|
@ -78,13 +78,15 @@ clear_all_shortcuts no
|
||||
|
||||
#: Clipboard {{{
|
||||
|
||||
map kitty_mod+c copy_to_clipboard
|
||||
#map kitty_mod+c copy_to_clipboard
|
||||
map super+0x63 copy_to_clipboard
|
||||
|
||||
#: There is also a copy_or_interrupt action that can be optionally
|
||||
#: mapped to Ctrl+c. It will copy only if there is a selection and
|
||||
#: send an interrupt otherwise.
|
||||
|
||||
map kitty_mod+v paste_from_clipboard
|
||||
#map kitty_mod+v paste_from_clipboard
|
||||
map super+0x76 paste_from_clipboard
|
||||
map kitty_mod+s paste_from_selection
|
||||
map shift+insert paste_from_selection
|
||||
map kitty_mod+o pass_selection_to_program
|
||||
@ -162,8 +164,10 @@ map kitty_mod+n new_os_window
|
||||
#: open a window with the current working directory.
|
||||
|
||||
map kitty_mod+w close_window
|
||||
map kitty_mod+] next_window
|
||||
map kitty_mod+[ previous_window
|
||||
#map kitty_mod+] next_window
|
||||
#map kitty_mod+[ previous_window
|
||||
map ctrl+0xff56 next_window
|
||||
map ctrl+0xff55 previous_window
|
||||
map kitty_mod+f move_window_forward
|
||||
map kitty_mod+b move_window_backward
|
||||
map kitty_mod+` move_window_to_top
|
||||
|
25
kitty/session_multiple.conf
Normal file
25
kitty/session_multiple.conf
Normal file
@ -0,0 +1,25 @@
|
||||
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
|
||||
|
||||
#: Sessions {{{
|
||||
|
||||
layout tall
|
||||
|
||||
#: First tab
|
||||
cd .
|
||||
title zsh
|
||||
launch env TERMINFO=/usr/share/terminfo zsh
|
||||
|
||||
#: Second tab
|
||||
title explore
|
||||
launch env TERMINFO=/usr/share/terminfo ranger
|
||||
|
||||
#: Third tab
|
||||
cd ~
|
||||
title zsh
|
||||
launch env TERMINFO=/usr/share/terminfo zsh
|
||||
|
||||
#: Fourth tab
|
||||
#title vim
|
||||
#launch vim
|
||||
|
||||
#: }}}
|
13
kitty/session_single_zsh.conf
Normal file
13
kitty/session_single_zsh.conf
Normal file
@ -0,0 +1,13 @@
|
||||
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
|
||||
|
||||
#: Session {{{
|
||||
#
|
||||
initial_window_width 640
|
||||
initial_window_height 400
|
||||
|
||||
#: First tab
|
||||
cd .
|
||||
title zsh
|
||||
launch zsh
|
||||
|
||||
#: }}}
|
@ -1,26 +0,0 @@
|
||||
# vim:fileencoding=utf-8:ft=conf:foldmethod=marker
|
||||
|
||||
#: Sessions {{{
|
||||
|
||||
layout tall
|
||||
|
||||
#: Set the window layout for the current tab
|
||||
|
||||
cd ~
|
||||
|
||||
#: Set the working directory for windows in the current tab
|
||||
|
||||
launch zsh
|
||||
|
||||
#: Create a window and run the specified command in it
|
||||
|
||||
launch vim
|
||||
|
||||
#: Create a window with some environment variables set and run vim in it
|
||||
|
||||
title Chat with x
|
||||
launch irssi --profile x
|
||||
|
||||
#: Set the title for the next window
|
||||
|
||||
#: }}}
|
Loading…
x
Reference in New Issue
Block a user