From 932610521a272da29241909afd52149a3041492f Mon Sep 17 00:00:00 2001 From: Luis Guilherme Coelho Date: Sun, 31 Dec 2023 00:22:19 -0300 Subject: [PATCH] files: kak: Update some user defined commands --- files/kak/kakrc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/files/kak/kakrc b/files/kak/kakrc index 27b930a..cc0d8e8 100644 --- a/files/kak/kakrc +++ b/files/kak/kakrc @@ -12,7 +12,7 @@ set-option global scrolloff 2,2 set-option -add global ui_options terminal_assistant=cat hook global ModuleLoaded x11 %{ - set-option global termcmd "%sh{echo $TERM} -c dash -e" + set-option global termcmd "%sh{echo $TERMINAL} -e " } # Set termcmd # __________ Commands __________ @@ -50,14 +50,24 @@ define-command -override cron \ execute-keys ': e ~/.config/cron/' } +define-command -override home \ + -docstring 'edit home declaration' %{ + edit '~/projects/code/scm/radix/home-environments/radio.scm' +} + +define-command -override system \ + -docstring 'edit system declaration' %{ + edit '~/projects/code/scm/radix/operating-systems/buer.scm' +} + define-command -override colorscheme-config \ -docstring 'edit colorscheme configuration file' %{ - edit "%val{config}/autoload/colorscheme.kak" + edit '~/projects/code/scm/radix/files/kak/autoload/colorscheme.kak' } define-command -override config \ -docstring 'edit kakoune main configuration file' %{ - edit "~/area/code/scm/radix/files/kak/kakrc" + edit '~/projects/code/scm/radix/files/kak/kakrc' } define-command -override rss \ @@ -66,7 +76,7 @@ define-command -override rss \ } define-command -override remind \ - -docstring 'Edit reminders' %{ + -docstring 'edit reminders' %{ execute-keys ': e /home/radio/.local/share/reminders/' }