AutoYADM commit: 2025-05-07 16:27:08
This commit is contained in:
parent
2b7f6a0490
commit
78ad591c05
1 changed files with 22 additions and 5 deletions
|
@ -4,13 +4,23 @@ hook global ModuleLoaded wayland %{
|
|||
set-option global termcmd 'footclient sh -c'
|
||||
}
|
||||
|
||||
set-option global tabstop 4
|
||||
# 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"
|
||||
}
|
||||
}
|
||||
|
||||
set-option global indentwidth 4
|
||||
set-option global tabstop 2
|
||||
|
||||
set-option global scrolloff 1,3
|
||||
set-option global indentwidth 2
|
||||
|
||||
add-highlighter global/ number-lines -hlcursor
|
||||
set-option global scrolloff 3,3
|
||||
|
||||
add-highlighter global/ number-lines -hlcursor -relative -separator " " -cursor-separator " |"
|
||||
add-highlighter global/ show-matching
|
||||
|
||||
add-highlighter global/ wrap -word -indent
|
||||
|
||||
|
@ -20,7 +30,14 @@ map -docstring "paste the clipboard" global user p "<a-!> wl-paste<ret>"
|
|||
|
||||
map -docstring "quit" global user q ":q<ret>"
|
||||
|
||||
map -docstring "close current buffer" global user x ": db<ret>"
|
||||
map -docstring "goto previous buffer" global user m ": bp<ret>"
|
||||
map -docstring "goto next buffer" global user i ": bn<ret>"
|
||||
|
||||
map global normal X "x<a-semicolon>"
|
||||
|
||||
# map global normal <c-u> ":exec <c-u>vv<ret>"
|
||||
# map global normal <c-d> ":exec <c-d>vv<ret>"
|
||||
|
||||
map global normal <tab> _
|
||||
map -docstring "commenct line" global normal <c-v> ":comment-line<ret>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue