diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 6f08f435..f673bb65 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -98,8 +98,13 @@ map -docstring 'Extend to file end' global user n "gjl" define-command -docstring "Create a scratch buffer" scratch %{ edit -scratch } + alias global s scratch +define-command -params 1 -docstring "Set buffer filetype" filetype %{ + set-option buffer filetype %arg{1} +} + define-command -docstring "New terminal in cwd" cwd-terminal %{ terminal fish }