AutoYADM commit: 2025-06-20 17:25:14
This commit is contained in:
parent
2ffc1a9488
commit
a26c6ac66a
2 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@ define-command -params 1 enter-filetype-mode %{
|
|||
|
||||
map global normal "'" %{: enter-filetype-mode %opt{filetype}<ret>}
|
||||
|
||||
# highlighting
|
||||
hook -once global WinSetOption filetype=kak %{
|
||||
require-module kak
|
||||
add-highlighter shared/kakrc/code/filetype-mode regex (?:\s|\A)\K(declare|enter)-filetype-mode(?:(?=\s)|\z) 0:keyword
|
||||
|
|
|
@ -182,6 +182,9 @@ define-command -params 1 -docstring "Set buffer filetype" filetype %{
|
|||
set-option buffer filetype %arg{1}
|
||||
}
|
||||
|
||||
alias global ft filetype
|
||||
alias global lang filetype
|
||||
|
||||
define-command -docstring "New terminal in cwd" cwd-terminal %{
|
||||
terminal fish
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue