From e3d538d09eb806e8652e4d43fdb0c5a49fa8209b Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Fri, 29 May 2026 16:09:36 +0200 Subject: [PATCH 1/4] add the special caps lock for gaming mode as well --- kanata/.config/kanata/kanata.kbd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kanata/.config/kanata/kanata.kbd b/kanata/.config/kanata/kanata.kbd index 5172c0e..fd40987 100644 --- a/kanata/.config/kanata/kanata.kbd +++ b/kanata/.config/kanata/kanata.kbd @@ -23,7 +23,7 @@ (deflayer gaming ;;{{{1 grv 1 2 3 4 5 6 7 8 9 0 - = bspc tab q w e r t y u i o p [ ] \ - caps a s d f g h j k l ; ' ret + @cap a s d f g h j k l ; ' ret lsft z x c v b n m , . / rsft lctl lmet lalt spc @dflt rmet rctl ) From 979b692ab5dcf468c342b1f9f4ed20051312b5cf Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Fri, 29 May 2026 16:34:02 +0200 Subject: [PATCH 2/4] add compiler plugin for gcc that also supports Criterion error format --- vim/.vim/compiler/gcc.vim | 49 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 vim/.vim/compiler/gcc.vim diff --git a/vim/.vim/compiler/gcc.vim b/vim/.vim/compiler/gcc.vim new file mode 100644 index 0000000..562a03c --- /dev/null +++ b/vim/.vim/compiler/gcc.vim @@ -0,0 +1,49 @@ +" Vendored by Me at Fri May 29 04:24:55 PM CEST 2026 + +" Vim compiler file +" Compiler: GNU C Compiler +" Previous Maintainer: Nikolai Weibull +" Last Change: 2010 Oct 14 +" changed pattern for entering/leaving directories +" by Daniel Hahler, 2019 Jul 12 +" added line suggested by Anton Lindqvist 2016 Mar 31 +" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) +" 2025 Dec 17 by The Vim Project (correctly parse: 'make: *** [Makefile:2: all] Error 1') + +if exists("current_compiler") + finish +endif +let current_compiler = "gcc" + +let s:cpo_save = &cpo +set cpo&vim + +CompilerSet errorformat= + \[----]\ %f:%l:\ %m, + \make:\ ***\ [%f:%l:\ %m, + \%*[^\"]\"%f\"%*\\D%l:%c:\ %m, + \%*[^\"]\"%f\"%*\\D%l:\ %m, + \\"%f\"%*\\D%l:%c:\ %m, + \\"%f\"%*\\D%l:\ %m, + \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, + \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.), + \%f:%l:%c:\ %trror:\ %m, + \%f:%l:%c:\ %tarning:\ %m, + \%f:%l:%c:\ %m, + \%f:%l:\ %trror:\ %m, + \%f:%l:\ %tarning:\ %m, + \%f:%l:\ %m, + \%f:\\(%*[^\\)]\\):\ %m, + \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, + \%D%*\\a[%*\\d]:\ Entering\ directory\ %*[`']%f', + \%X%*\\a[%*\\d]:\ Leaving\ directory\ %*[`']%f', + \%D%*\\a:\ Entering\ directory\ %*[`']%f', + \%X%*\\a:\ Leaving\ directory\ %*[`']%f', + \%DMaking\ %*\\a\ in\ %f + +if exists('g:compiler_gcc_ignore_unmatched_lines') + CompilerSet errorformat+=%-G%.%# +endif + +let &cpo = s:cpo_save +unlet s:cpo_save From b382b929770429e1c51e356c907f864b2c1d1cef Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Sat, 30 May 2026 01:22:57 +0200 Subject: [PATCH 3/4] force windows to behave --- i3/.config/i3/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 329c9a5..78431bd 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -9,6 +9,11 @@ set $right l set $term alacritty set $just just --justfile ~/.config/i3/justfile +for_window [class=".*"] fullscreen disable +for_window [class=".*"] floating disable +floating_minimum_size -1 x -1 +floating_maximum_size -1 x -1 + # Window borders new_window 1pixel From 8925f76c0636cace71feeaaa58a60af7a5dc2005 Mon Sep 17 00:00:00 2001 From: Ivar Fatland Date: Tue, 2 Jun 2026 21:13:21 +0200 Subject: [PATCH 4/4] add language toggle with alt-space --- i3/.config/i3/config | 1 + 1 file changed, 1 insertion(+) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 78431bd..05bcdcc 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -21,6 +21,7 @@ exec --no-startup-id xset s off -dpms exec --no-startup-id nm-applet exec --no-startup-id blueman-applet exec --no-startup-id $just reset-wallpaper +exec --no-startup-id "setxkbmap -layout us,no -option 'grp:alt_space_toggle'" # Key bindings bindsym $mod+Return exec $term