Skip to content

yurenchen000/terminator-hints-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

Terminator Hints Plugin

A Terminator Plugin implement
Kitty Hints-like feature for gnome-terminator

Repo: https://github.com/yurenchen000/terminator-hints-plugin

requirements

only tested with terminator 2.1.1+, on ubuntu 22 lts

Install

  1. Copy MyHints.py to ~/.config/terminator/plugins/
  2. Terminator Preferences > Plugins: enable MyHints

Usage

by default, press Ctrl+Shift+P (override go_prev shortcut action), then press

  • p: match path (default)
  • n: match file:line
  • l: match whole line
  • h: match hex
  • d: match dec
  • i: match ip[:port]
  • u: match url
  • w: match word

then press the key to input highlight strings. or

  • ESC to giveup

Tips: hesitate choice: hold to highlight, then press another key can change choice (last key up is final choice)
Tips: same items use same select key
Note: behavor not exactly the same as kitty-hints

screenshot & use case

terminator_hints3_.webm

pick line
hints_1_line_3.webm

pick word
hints_2_word.webm

pick pid
hints_3_pid.webm

pick ipaddr & hesitate choice
hints_4_ip_hesitate_choice.webm

kind change
hints_5_kind_change_2.webm

thanks to