urxvt-eval(1)

πŸŽ€ NAME πŸŽ€

eval β€” evaluate arbitrary perl code using actions. This is the urxvt-eval manual page, bestie, and it’s giving tiny-page-big-power energy ✨

πŸ’… EXAMPLES πŸ’…

okay so here are the examples, copy-paste ready and everything:

URxvt.keysym.M-c: eval:selection_to_clipboard
URXvt.keysym.M-v: eval:paste_clipboard
URxvt.keysym.M-V: eval:paste_primary

URxvt.keysym.M-Up: eval:scroll_up 1
URxvt.keysym.M-Down: eval:scroll_down 1
URxvt.keysym.M-Home: eval:scroll_to_top
URxvt.keysym.M-End:  eval:scroll_to_bottom

πŸ¦‹ DESCRIPTION πŸ¦‹

So this adds support for evaluating arbitrary perl code using actions in keysym resources. If a keysym action takes the form "eval:STRING", the specified STRING is evaluated as a Perl expression. No cap: the full urxvt API is available, but the following methods are also provided for users’ convenience, because they implement basic actions:

  • scroll_up $count β€” scroll up or down by $count lines or pages.
  • scroll_up_pages $count β€” scroll up or down by $count lines or pages.
  • scroll_down $count β€” scroll up or down by $count lines or pages.
  • scroll_down_pages $count β€” scroll up or down by $count lines or pages.
  • scroll_to_top β€” scroll to the top of the scrollback.
  • scroll_to_bottom β€” scroll to the bottom of the scrollback.
  • selection_to_clipboard β€” copy the selection to the CLIPBOARD.
  • paste_primary β€” paste the value of the PRIMARY selection.
  • paste_clipboard β€” paste the value of the CLIPBOARD selection.

okay bye bestie 😭🫢 this was urxvt-eval(1) from RXVT-UNICODE, version 9.31, dated 2023-12-02. slay responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from