AutoYADM commit: 2025-05-08 22:55:43
This commit is contained in:
parent
72fa883888
commit
148237e9e0
3 changed files with 50 additions and 30 deletions
|
@ -4,16 +4,20 @@ colorscheme ashen
|
|||
set-option global ui_options terminal_assistant=none
|
||||
|
||||
hook global ModuleLoaded wayland %{
|
||||
set-option global termcmd 'footclient sh -c'
|
||||
set-option global termcmd 'footclient sh -c'
|
||||
}
|
||||
|
||||
hook global WinSetOption filetype=kak %{
|
||||
set-option window formatcmd "%val{config}/scripts/kakfmt"
|
||||
}
|
||||
|
||||
# open tutor (needs curl)
|
||||
define-command trampoline -docstring "open a tutorial" %{
|
||||
evaluate-commands %sh{
|
||||
tramp_file=$(mktemp -t "kakoune-trampoline.XXXXXXXX")
|
||||
echo "edit -fifo $tramp_file *TRAMPOLINE*"
|
||||
curl -s https://raw.githubusercontent.com/mawww/kakoune/master/contrib/TRAMPOLINE -o "$tramp_file"
|
||||
}
|
||||
evaluate-commands %sh{
|
||||
tramp_file=$(mktemp -t "kakoune-trampoline.XXXXXXXX")
|
||||
echo "edit -fifo $tramp_file *TRAMPOLINE*"
|
||||
curl -s https://raw.githubusercontent.com/mawww/kakoune/master/contrib/TRAMPOLINE -o "$tramp_file"
|
||||
}
|
||||
}
|
||||
|
||||
set-option global tabstop 4
|
||||
|
@ -30,6 +34,7 @@ add-highlighter global/ wrap -word -indent
|
|||
map -docstring "yank the selection into the clipboard" global user y "<a-|> wl-copy<ret>"
|
||||
|
||||
map -docstring "paste the clipboard" global user p "<a-!> wl-paste<ret>"
|
||||
map -docstring "paste the clipboard before" global user P "! wl-paste<ret>"
|
||||
|
||||
map -docstring "quit" global user q ":q<ret>"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue