summaryrefslogtreecommitdiff
path: root/kitty
diff options
context:
space:
mode:
Diffstat (limited to 'kitty')
-rw-r--r--kitty/kitty.conf22
1 files changed, 12 insertions, 10 deletions
diff --git a/kitty/kitty.conf b/kitty/kitty.conf
index 3adc435..99d5440 100644
--- a/kitty/kitty.conf
+++ b/kitty/kitty.conf
@@ -1755,40 +1755,40 @@ color15 #ffffff
#: Scroll line up
# map kitty_mod+up scroll_line_up
-# map kitty_mod+k scroll_line_up
+map kitty_mod+k scroll_line_up
# map opt+cmd+page_up scroll_line_up
# map cmd+up scroll_line_up
#: Scroll line down
# map kitty_mod+down scroll_line_down
-# map kitty_mod+j scroll_line_down
+map kitty_mod+j scroll_line_down
# map opt+cmd+page_down scroll_line_down
# map cmd+down scroll_line_down
#: Scroll page up
-# map kitty_mod+page_up scroll_page_up
+map kitty_mod+page_up scroll_page_up
# map cmd+page_up scroll_page_up
#: Scroll page down
-# map kitty_mod+page_down scroll_page_down
+map kitty_mod+page_down scroll_page_down
# map cmd+page_down scroll_page_down
#: Scroll to top
-# map kitty_mod+home scroll_home
+map kitty_mod+home scroll_home
# map cmd+home scroll_home
#: Scroll to bottom
-# map kitty_mod+end scroll_end
+map kitty_mod+end scroll_end
# map cmd+end scroll_end
#: Scroll to previous shell prompt
-# map kitty_mod+z scroll_to_prompt -1
+map kitty_mod+z scroll_to_prompt -1
#:: Use a parameter of 0 for scroll_to_prompt to scroll to the last
#:: jumped to or the last clicked position. Requires shell
@@ -1797,11 +1797,11 @@ color15 #ffffff
#: Scroll to next shell prompt
-# map kitty_mod+x scroll_to_prompt 1
+map kitty_mod+x scroll_to_prompt 1
#: Browse scrollback buffer in pager
-# map kitty_mod+h show_scrollback
+map kitty_mod+h show_scrollback
#:: You can pipe the contents of the current screen and history
#:: buffer as STDIN to an arbitrary program using launch --stdin-
@@ -1815,7 +1815,7 @@ color15 #ffffff
#: Browse output of the last shell command in pager
-# map kitty_mod+g show_last_command_output
+map kitty_mod+g show_last_command_output
#:: You can also define additional shortcuts to get the command
#:: output. For example, to get the first command output on screen::
@@ -1833,6 +1833,8 @@ color15 #ffffff
#:: map f1 launch --stdin-source=@last_cmd_output --stdin-add-formatting --type=overlay less +G -R
+map f1 launch --stdin-source=@last_cmd_output --type=background wl-copy
+
#:: To get the output of the first command on the screen, use
#:: @first_cmd_output_on_screen. To get the output of the last jumped
#:: to command, use @last_visited_cmd_output.