From ba609a26f63f419bb3869839e59ab9f746d92e66 Mon Sep 17 00:00:00 2001 From: Julius Riegel Date: Wed, 20 Mar 2024 15:45:31 +0100 Subject: [PATCH] Add commitlint and wezterm shortcuts that are more similar to zellij --- content/config/efm-langserver/config.yaml | 8 ++++++++ content/config/wezterm/wezterm.lua.tmpl | 8 ++++++-- silo.config.lua | 1 + 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/content/config/efm-langserver/config.yaml b/content/config/efm-langserver/config.yaml index 0a010e4..2dc3791 100644 --- a/content/config/efm-langserver/config.yaml +++ b/content/config/efm-langserver/config.yaml @@ -25,6 +25,13 @@ tools: - '%l: %m: "%r"' - '%l: %m' + gitcommit-commitlint: &gitcommit-commitlint + lint-command: 'commitlint' + lint-stdin: true + lint-formats: + - '%l: %m: "%r"' + - '%l: %m' + html-prettier: &html-prettier format-command: './node_modules/.bin/prettier ${--tab-width:tabWidth} ${--single-quote:singleQuote} --parser html' @@ -112,6 +119,7 @@ languages: gitcommit: - <<: *gitcommit-gitlint + - <<: *gitcommit-commitlint html: - <<: *html-prettier diff --git a/content/config/wezterm/wezterm.lua.tmpl b/content/config/wezterm/wezterm.lua.tmpl index 154d4ed..e57fb30 100644 --- a/content/config/wezterm/wezterm.lua.tmpl +++ b/content/config/wezterm/wezterm.lua.tmpl @@ -123,10 +123,14 @@ config.keys = { key = 'LeftArrow', mods = 'SHIFT', action = act.ActivateTabRelative(-1) + }, { + key = 'l', + mods = 'SHIFT | ALT', + action = act.ActivateTabRelative(1) }, { - key = 'w', - mods = 'CTRL|SHIFT', + key = 'h', + mods = 'SHIFT | ALT', action = act.ActivateTabRelative(-1) }, { diff --git a/silo.config.lua b/silo.config.lua index c936d22..c233c20 100644 --- a/silo.config.lua +++ b/silo.config.lua @@ -56,6 +56,7 @@ config.modules = { 'onefetch', 'efm-langserver', 'gitlint', + 'commitlint', }, gui = mod { 'kdePackages.breeze-icons',