Compare commits

...

2 Commits

Author SHA1 Message Date
Jef Roosens b71acbc7ad
nvim: added vls lsp 2022-04-26 09:00:56 +02:00
Jef Roosens d912e6750a
i3: added tidal-hifi config 2022-04-26 08:54:15 +02:00
6 changed files with 22 additions and 4 deletions

View File

@ -59,3 +59,7 @@ bindsym $mod+m exec --no-startup-id pavucontrol -t 3
bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --dmenu dmenu
# Open Galculator
bindsym XF86Calculator exec --no-startup-id galculator
# Open tidal-hifi
# This keybindg is rather unusual as it should imply "move window to $wstidal",
# but because this workspace should only be used for tidal-hifi, it's okay.
bindsym Shift+$mod+n exec --no-startup-id tidal-hifi

View File

@ -5,6 +5,8 @@ set $ws02 ""
set $ws03 ""
set $ws04 ""
set $ws05 ""
# Workspace solely used for tidal-hifi
set $wstidal "T"
set $ws11 "α"
set $ws12 "β"
set $ws13 "γ"
@ -21,6 +23,7 @@ workspace $ws02 output primary
workspace $ws03 output primary
workspace $ws04 output primary
workspace $ws05 output primary
workspace $wstidal output primary
workspace $ws11 output eDP-1-1
workspace $ws12 output eDP-1-1
workspace $ws13 output eDP-1-1
@ -49,7 +52,7 @@ bindsym $mod+Shift+l move right
bindsym $mod+f fullscreen toggle
# kill focused window
bindsym Shift+$mod+x kill
bindsym $mod+x kill
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
@ -81,6 +84,7 @@ bindsym $mod+u workspace $ws02
bindsym $mod+i workspace $ws03
bindsym $mod+o workspace $ws04
bindsym $mod+p workspace $ws05
bindsym $mod+n workspace $wstidal
# move focused container to main workspace
bindsym $mod+Shift+y move container to workspace $ws01
@ -135,3 +139,7 @@ mode "HDMI-0" {
}
bindsym $mod+e mode "eDP-1-1"
# Force tidal-hifi to always spawn on $wstidal
assign [class="tidal-hifi"] $wstidal
no_focus [class="tidal-hifi"]

View File

@ -36,6 +36,11 @@ require'lspconfig'.hls.setup{
}
}
}
-- Pacman: vieter-vls (requires my Vieter repository)
-- GH: https://github.com/vlang/vls
require'lspconfig'.vls.setup {
cmd = {'vls'}
}
-- Pacman: rust-analyzer
-- GH: https://github.com/rust-analyzer/rust-analyzer
require'lspconfig'.rust_analyzer.setup{on_attach = on_attach}

View File

@ -11,7 +11,8 @@ g.NERDTreeIgnore = {
'^\\.stack-work$[[dir]]', '\\.lock$',
'^CMakeFiles$[[dir]]', '^CMakeCache.txt$[[file]]',
'.pdf$[[file]]',
'^node_modules$[[dir]]'
'^node_modules$[[dir]]',
'\\.o$'
}
g.NERDTreeShowHidden = 1

View File

@ -1,3 +1,3 @@
local g = vim.g
g.v_autofmt_bufwritepre = 1
g.v_autofmt_bufwritepre = 0

View File

@ -5,7 +5,7 @@ g.mapleader = " "
g.maplocalleader = "\\<tab>"
-- I often use non-standard shells that don't play nicely wiht certain features
o.shell = "/bin/bash"
-- o.shell = "/bin/bash"
-- Centers your cursor whenever possible
-- 999 is just a really large number (I think it's amount of lines or something)