Compare commits

..

3 Commits

Author SHA1 Message Date
y0rune f354a504ba Updates
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2026-04-06 16:18:04 +02:00
y0rune 57838f7dc5 neovim: changed lsp config and statusbar due to v0.12 of nvim
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2026-04-06 16:17:41 +02:00
y0rune d2a16da121 karabinier.json: Removed left command as right one
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
2026-04-06 16:17:13 +02:00
5 changed files with 35 additions and 28 deletions
-1
View File
@@ -29,6 +29,5 @@ transfer
twingate
visual-studio-code
vlc
whatsapp
winbox
wireshark
-4
View File
@@ -438,10 +438,6 @@
{
"from": { "key_code": "caps_lock" },
"to": [{ "key_code": "escape" }]
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "right_command" }]
}
],
"virtual_hid_keyboard": {
+33 -17
View File
@@ -56,7 +56,6 @@ let g:indentLine_char_list = ['│', '│', '│', '│']
runtime! macros/matchit.vim
" visual feedback
set laststatus=2
set showmode
set showcmd
@@ -222,12 +221,24 @@ local border = 'rounded'
vim.lsp.config('*', {
capabilities = capabilities,
handlers = {
["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = border }),
["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = border }),
},
})
vim.diagnostic.config({
float = { border = border },
})
vim.lsp.handlers["textDocument/hover"] = function(err, result, ctx, config)
config = config or {}
config.border = border
return vim.lsp.handlers.hover(err, result, ctx, config)
end
vim.lsp.handlers["textDocument/signatureHelp"] = function(err, result, ctx, config)
config = config or {}
config.border = border
return vim.lsp.handlers.signature_help(err, result, ctx, config)
end
-- Server-specific overrides
vim.lsp.config('yamlls', {
settings = {
@@ -397,18 +408,23 @@ function! StatuslineGit()
return strlen(l:branchname) > 0?' '.l:branchname.' ':''
endfunction
set statusline=
set statusline+=%#IncSearch#
set statusline+=%{&filetype!=#''?'\ \ ['.&filetype.']\ ':'\ '}
set statusline+=%{&modified?'[+]\ ':''}
set statusline+=%#CursorLineNr#
set statusline+=\ %F
set statusline+=%= "Right side settings
set statusline+=%#CursorLineNr#
set statusline+=%{StatuslineGit()}
set statusline+=%#Search#
set statusline+=\ %l/%L
set statusline+=\ [%c]
set laststatus=3
lua <<EOF
vim.o.statusline = table.concat({
"%#IncSearch#",
"%{&filetype!=#''?' ['.&filetype..'] ':'\\ '}",
"%{&modified?'[+] ':''}",
"%#CursorLineNr#",
" %F",
"%=",
"%#CursorLineNr#",
"%{StatuslineGit()}",
"%#Search#",
" %l/%L",
" [%c]",
})
EOF
" Disable godoc keys
let g:go_doc_keywordprg_enabled = 0
-4
View File
@@ -589,10 +589,6 @@ function install_font_terminess() {
fi
}
function update_zsh() {
omz update
}
function main() {
command_start update_pip
command_start install_neovim_module_for_python
+2 -2
View File
@@ -4,7 +4,7 @@
/usr/local/bin/mysides add Git file://"$HOME"/git/
/usr/local/bin/mysides add Linux file://"$HOME"/MEGA/Systems/Linux/
/usr/local/bin/mysides add Downloads file://"$HOME"/Downloads/
# /usr/local/bin/mysides add Aplications file:///Applications/
# /usr/local/bin/mysides add Aplications file:///"$HOME"/Applications/
/usr/local/bin/mysides add Aplications file:///Applications/
/usr/local/bin/mysides add Aplications file:///"$HOME"/Applications/
/usr/local/bin/mysides add Screenshots file://"$HOME"/Screenshots/
/usr/local/bin/mysides add Desktop file://"$HOME"/Desktop/