feat(apt): aptitude configuration & kitty highlighting
This commit is contained in:
parent
9cd7cd18cf
commit
f4c1084510
10
.aptitude/config
Normal file
10
.aptitude/config
Normal file
@ -0,0 +1,10 @@
|
||||
aptitude "";
|
||||
aptitude::Delete-Unused-Pattern "";
|
||||
aptitude::Keep-Unused-Pattern "";
|
||||
aptitude::UI "";
|
||||
aptitude::UI::Advance-On-Action "true";
|
||||
aptitude::UI::Default-Preview-Grouping "action,pattern(!~M=>Manu,~T=>Auto),pattern(?origin(),~T=>Local)";
|
||||
aptitude::UI::HelpBar "false";
|
||||
aptitude::UI::Menubar-Autohide "true";
|
||||
aptitude::UI::Description-Visible-By-Default "false";
|
||||
aptitude::UI::Package-Display-Format "%c%a%M%S %p %D %I %v %V";
|
@ -196,6 +196,7 @@ map kitty_mod+minus change_font_size current -0.5
|
||||
# map ctrl+n scroll_to_mark next
|
||||
map kitty_mod+m>m create_marker
|
||||
map kitty_mod+m>shift+m remove_marker
|
||||
map kitty_mod+m>a toggle_marker regex 1 "[+-]?\\d\\s?\\d*(,\\d)?\\sMB" 2 "[+-]?\\d\\s?\\d*(,\\d)?\\skB" 3 "[+-]?\\d\\s?\\d*(,\\d)?\\sB"
|
||||
map kitty_mod+m>e toggle_marker iregex 1 \\bERROR\\b 2 \\bWARNING\\b 3 \\bNOTE\\b
|
||||
map kitty_mod+m>n toggle_marker iregex 1 "(^\\[\\d+/\\d+\\]|\\bERROR\\b)" 2 "\\bWARNING\\b" 3 "\S+\.[ch]pp"
|
||||
map kitty_mod+m>u toggle_marker regex 3 https?://\\S+
|
||||
|
Loading…
Reference in New Issue
Block a user