AutoYADM commit: 2025-05-31 16:32:26
This commit is contained in:
parent
b3236aab46
commit
1e678e6204
3 changed files with 22 additions and 9 deletions
|
@ -593,7 +593,8 @@ reverse-thread-order=true
|
||||||
# Default: less -Rc
|
# Default: less -Rc
|
||||||
# pager=hx
|
# pager=hx
|
||||||
# pager=less -Rc -k ~/.config/lesskey
|
# pager=less -Rc -k ~/.config/lesskey
|
||||||
pager=kak -ro -e 'set buffer filetype mail'
|
; pager=kak -ro -e 'def -hidden ismailreader nop; set buffer filetype mail'
|
||||||
|
pager=kak -e 'set buffer filetype mail'
|
||||||
|
|
||||||
#
|
#
|
||||||
# If an email offers several versions (multipart), you can configure which
|
# If an email offers several versions (multipart), you can configure which
|
||||||
|
|
|
@ -120,7 +120,7 @@ ps = :patch switch <Tab>
|
||||||
<Enter> = :recall<Enter>
|
<Enter> = :recall<Enter>
|
||||||
|
|
||||||
[view]
|
[view]
|
||||||
/ = :toggle-key-passthrough<Enter>/
|
\ = :toggle-key-passthrough<Enter>
|
||||||
q = :close<Enter>
|
q = :close<Enter>
|
||||||
O = :open<Enter>
|
O = :open<Enter>
|
||||||
o = :open<Enter>
|
o = :open<Enter>
|
||||||
|
|
|
@ -73,6 +73,17 @@ hook global WinSetOption filetype=kdl %{
|
||||||
}
|
}
|
||||||
|
|
||||||
hook global WinSetOption filetype=mail %~
|
hook global WinSetOption filetype=mail %~
|
||||||
|
nop %sh{ notify-send 'runs' }
|
||||||
|
try %{
|
||||||
|
ismailreader
|
||||||
|
nop %sh{ notify-send 'is mail reader' }
|
||||||
|
try %{
|
||||||
|
# remove these highlighters so everything displays properly
|
||||||
|
remove-highlighter window/number-lines
|
||||||
|
remove-highlighter window/show-whitespaces
|
||||||
|
ui-wrap-disable
|
||||||
|
}
|
||||||
|
} catch %{
|
||||||
set-option window formatcmd '/home/fic/dev/utils/mail-utils/format.py'
|
set-option window formatcmd '/home/fic/dev/utils/mail-utils/format.py'
|
||||||
set-option window comment_line '>'
|
set-option window comment_line '>'
|
||||||
try autospell-enable
|
try autospell-enable
|
||||||
|
@ -81,6 +92,7 @@ hook global WinSetOption filetype=mail %~
|
||||||
unset-option window formatcmd
|
unset-option window formatcmd
|
||||||
remove-hooks window mail-auto-format
|
remove-hooks window mail-auto-format
|
||||||
}
|
}
|
||||||
|
}
|
||||||
~
|
~
|
||||||
|
|
||||||
hook global BufCreate .*[.](conf) %{
|
hook global BufCreate .*[.](conf) %{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue