files: kak: Improve command setup for editing radix files
parent
5961dacc4a
commit
2f13b16c37
|
@ -50,29 +50,45 @@ define-command -override cron \
|
||||||
execute-keys ': e ~/.config/cron/'
|
execute-keys ': e ~/.config/cron/'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
define-command -override radix \
|
||||||
|
-docstring 'edit files in radix repository' %{
|
||||||
|
execute-keys ':edit ~/projects/code/scm/radix/'
|
||||||
|
}
|
||||||
|
|
||||||
define-command -override home \
|
define-command -override home \
|
||||||
-docstring 'edit home declaration' %{
|
-docstring 'edit home declaration' %{
|
||||||
edit '~/projects/code/scm/radix/home-environments/radio.scm'
|
evaluate-commands 'radix'
|
||||||
|
execute-keys 'home-environments/radio.scm<ret>'
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -override system \
|
define-command -override system \
|
||||||
-docstring 'edit system declaration' %{
|
-docstring 'edit system declaration' %{
|
||||||
edit '~/projects/code/scm/radix/operating-systems/buer.scm'
|
evaluate-commands 'radix'
|
||||||
|
execute-keys 'operating-systems/buer.scm<ret>'
|
||||||
|
}
|
||||||
|
|
||||||
|
define-command -override files \
|
||||||
|
-docstring 'edit dotfiles' %{
|
||||||
|
evaluate-commands 'radix'
|
||||||
|
execute-keys 'files/'
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -override colorscheme-config \
|
define-command -override colorscheme-config \
|
||||||
-docstring 'edit colorscheme configuration file' %{
|
-docstring 'edit colorscheme configuration file' %{
|
||||||
edit '~/projects/code/scm/radix/files/kak/autoload/colorscheme.kak'
|
evaluate-commands 'files'
|
||||||
|
execute-keys 'kak/autoload/colorscheme.kak<ret>'
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -override config \
|
define-command -override config \
|
||||||
-docstring 'edit kakoune main configuration file' %{
|
-docstring 'edit kakoune main configuration file' %{
|
||||||
edit '~/projects/code/scm/radix/files/kak/kakrc'
|
evaluate-commands 'files'
|
||||||
|
execute-keys 'kak/kakrc<ret>'
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -override rss \
|
define-command -override rss \
|
||||||
-docstring 'edit rss feeds file' %{
|
-docstring 'edit rss feeds file' %{
|
||||||
edit '~/area/code/scm/radix/files/newsraft/feeds'
|
evaluate-commands 'files'
|
||||||
|
execute-keys 'newsraft/feeds<ret>'
|
||||||
}
|
}
|
||||||
|
|
||||||
define-command -override remind \
|
define-command -override remind \
|
||||||
|
|
Loading…
Reference in New Issue