From 0f8bb001aef63ecf1a0b942d52fac047de56772d Mon Sep 17 00:00:00 2001 From: Xander Swan Date: Wed, 3 Dec 2025 10:00:41 -0500 Subject: RAGH --- .config/i3/config | 10 ++++------ .config/nvim/ftdetect/hobbylang.vim | 2 +- .config/nvim/lua/map.lua | 6 +++--- .config/nvim/syntax/hobbylang.vim | 13 ++++++++----- 4 files changed, 16 insertions(+), 15 deletions(-) (limited to '.config') diff --git a/.config/i3/config b/.config/i3/config index f7f62c9..982dea7 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -36,7 +36,6 @@ for_window [instance="Godot_Engine"] floating enable tiling_drag modifier titlebar bindsym $mod+Return exec i3-sensible-terminal -bindsym $mod+b exec librewolf bindsym $mod+Shift+q kill @@ -59,15 +58,15 @@ bindsym $mod+v split v bindsym $mod+f fullscreen toggle -bindsym $mod+s layout stacking +bindsym $mod+y layout stacking bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split +bindsym $mod+p layout toggle split bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle -bindsym $mod+a focus parent +bindsym $mod+b focus parent set $ws1 "1" @@ -125,8 +124,7 @@ client.background #ffffff mode "resize" { bindsym $left resize shrink width 10 px or 10 ppt - bindsym $up resize grow height 10 px or 10 ppt - bindsym $down resize shrink height 10 px or 10 ppt + bindsym $up resize grow height 10 px or 10 ppt bindsym $down resize shrink height 10 px or 10 ppt bindsym $right resize grow width 10 px or 10 ppt bindsym Return mode "default" diff --git a/.config/nvim/ftdetect/hobbylang.vim b/.config/nvim/ftdetect/hobbylang.vim index 263edde..ea320c0 100644 --- a/.config/nvim/ftdetect/hobbylang.vim +++ b/.config/nvim/ftdetect/hobbylang.vim @@ -1 +1 @@ -au BufNewFile,BufRead *.hl set filetype=hobbylang +au BufNewFile,BufRead *.hs set filetype=hobbylang diff --git a/.config/nvim/lua/map.lua b/.config/nvim/lua/map.lua index ef97bd1..2ae706b 100644 --- a/.config/nvim/lua/map.lua +++ b/.config/nvim/lua/map.lua @@ -25,9 +25,9 @@ vim.keymap.set(nv, "", "l", {}) -- Same, but for terminal vim.keymap.set("t", "", "h", {}) -vim.keymap.set("t", "", "j", {}) -vim.keymap.set("t", "", "k", {}) -vim.keymap.set("t", "", "l", {}) +vim.keymap.set("t", "", "j", {}) +vim.keymap.set("t", "", "k", {}) +vim.keymap.set("t", "", "l", {}) -- Moving windows vim.keymap.set(nv, "h", "H", {}) diff --git a/.config/nvim/syntax/hobbylang.vim b/.config/nvim/syntax/hobbylang.vim index e1953d0..cb02b5b 100644 --- a/.config/nvim/syntax/hobbylang.vim +++ b/.config/nvim/syntax/hobbylang.vim @@ -3,11 +3,11 @@ if exists("b:current_syntax") endif syn keyword hlStatement break continue return self -syn keyword hlLabel case default +syn keyword hlLabel case syn keyword hlConditional if else match syn keyword hlRepeat while loop for syn keyword hlStructure struct enum var func -syn keyword hlModifier static +syn keyword hlModifier static global syn keyword hlLiteral true false nil syn match hlFunction /\<\h\w*\ze\_s*(/ @@ -16,11 +16,14 @@ syn match hlComment /\/\/.*/ syn match hlType /[^a-z0-9_][A-Z][A-z0-9_]*/ syn match hlNumber /\<\d\+\>/ syn match hlNumber /\<\d\+\.\d*/ -syn match hlOperator /=|\+=|-=|\*=|\/=|%=|\*\*=|\+|-|\*\*|\*|\/|%|<|>|<=|>=|==|!=|!|\.\./ +syn match hlOperator /=|\+=|-=|\*=|\/=|%=|\*\*=|\+|-|\*\*|\*|\/|%|\<|\>|\<=|\>=|==|!=|!|\.\./ -syn region hlString start="\"" end="\"" -syn region hlString start="'" end="'" +syn region hlString start="\"" end="\"" contains=hlEscape +syn region hlString start="'" end="'" contains=hlEscape +syn match hlEscape /\\[ntra"'\\]/ + +hi def link hlEscape Special hi def link hlStructure Structure hi def link hlFunction Function hi def link hlStatement Statement -- cgit v1.3-2-g0d8e