From 6ab72d656c2030dbe685f0a3ab9549edb3634e88 Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Fri, 17 May 2024 17:21:21 -0500 Subject: Updates --- config/hikari/autostart | 2 +- config/hikari/hikari.conf | 3 ++- config/kak/kakrc | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/hikari/autostart b/config/hikari/autostart index 5ec6524..e60b65b 100755 --- a/config/hikari/autostart +++ b/config/hikari/autostart @@ -8,4 +8,4 @@ gsettings set org.gnome.desktop.interface cursor-theme Adwaita gsettings set org.gnome.desktop.wm.preferences button-layout "" pulseaudio - +waybar diff --git a/config/hikari/hikari.conf b/config/hikari/hikari.conf index cee9ffb..411fec6 100644 --- a/config/hikari/hikari.conf +++ b/config/hikari/hikari.conf @@ -60,6 +60,7 @@ layouts { actions { terminal = "foot" emacs = "emacsclient -nc" + email = "foot aerc" browser = "firefox" bemenu = "/bin/bash -c bemenu-toggle" brightness-down = "light -U 10" @@ -166,7 +167,7 @@ bindings { "L+q" = view-quit "L+Return" = action-terminal - "L+e" = action-emacs + "L+e" = action-email "L+Space" = action-bemenu "0+XF86MonBrightnessUp" = action-brightness-up diff --git a/config/kak/kakrc b/config/kak/kakrc index 26b0a88..72fd200 100644 --- a/config/kak/kakrc +++ b/config/kak/kakrc @@ -15,7 +15,7 @@ hook global WinSetOption filetype=(rust|python|nim|go|javascript|typescript|c|cp lsp-enable-window lsp-auto-hover-insert-mode-enable } -hook global WinSetOption filetype=(eml|markdown) %{ +hook global WinSetOption filetype=(eml|markdown|org) %{ spell } hook global BufSetOption filetype=(javascript|typescript) %{ @@ -51,6 +51,7 @@ complete-command z shell-script-candidates %{ zoxide query -l } # --- KEYMAPS +map global user w '|fmt --width 80' -docstring "Wrap to 80 columns" map global user l %{:enter-user-mode lsp} -docstring "LSP mode" map global insert ':try lsp-snippets-select-next-placeholders catch %{ execute-keys -with-hooks tab> }' -docstring 'Select next snippet placeholder' map global object a 'lsp-object' -docstring 'LSP any symbol' @@ -135,6 +136,9 @@ hook global WinCreate .* %{ expandtab } # Enable spelling for markdown hook global WinCreate filetype=(markdown) %{ spell } +# Wrap for org and markdown +hook global WinCreate filetype=(markdown|org) %{ autowrap-enable } + # Softwrap long lines add-highlighter global/ wrap -word -indent -- cgit v1.2.3