diff --git a/files/kak/kakrc b/files/kak/kakrc index cc0d8e8..6233ed2 100644 --- a/files/kak/kakrc +++ b/files/kak/kakrc @@ -50,29 +50,45 @@ define-command -override 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 \ -docstring 'edit home declaration' %{ - edit '~/projects/code/scm/radix/home-environments/radio.scm' + evaluate-commands 'radix' + execute-keys 'home-environments/radio.scm' } define-command -override system \ -docstring 'edit system declaration' %{ - edit '~/projects/code/scm/radix/operating-systems/buer.scm' + evaluate-commands 'radix' + execute-keys 'operating-systems/buer.scm' +} + +define-command -override files \ + -docstring 'edit dotfiles' %{ + evaluate-commands 'radix' + execute-keys 'files/' } define-command -override colorscheme-config \ -docstring 'edit colorscheme configuration file' %{ - edit '~/projects/code/scm/radix/files/kak/autoload/colorscheme.kak' + evaluate-commands 'files' + execute-keys 'kak/autoload/colorscheme.kak' } define-command -override config \ -docstring 'edit kakoune main configuration file' %{ - edit '~/projects/code/scm/radix/files/kak/kakrc' + evaluate-commands 'files' + execute-keys 'kak/kakrc' } define-command -override rss \ -docstring 'edit rss feeds file' %{ - edit '~/area/code/scm/radix/files/newsraft/feeds' + evaluate-commands 'files' + execute-keys 'newsraft/feeds' } define-command -override remind \