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 twingate
visual-studio-code visual-studio-code
vlc vlc
whatsapp
winbox winbox
wireshark wireshark
-4
View File
@@ -438,10 +438,6 @@
{ {
"from": { "key_code": "caps_lock" }, "from": { "key_code": "caps_lock" },
"to": [{ "key_code": "escape" }] "to": [{ "key_code": "escape" }]
},
{
"from": { "key_code": "left_command" },
"to": [{ "key_code": "right_command" }]
} }
], ],
"virtual_hid_keyboard": { "virtual_hid_keyboard": {
+33 -17
View File
@@ -56,7 +56,6 @@ let g:indentLine_char_list = ['│', '│', '│', '│']
runtime! macros/matchit.vim runtime! macros/matchit.vim
" visual feedback " visual feedback
set laststatus=2
set showmode set showmode
set showcmd set showcmd
@@ -222,12 +221,24 @@ local border = 'rounded'
vim.lsp.config('*', { vim.lsp.config('*', {
capabilities = capabilities, 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 -- Server-specific overrides
vim.lsp.config('yamlls', { vim.lsp.config('yamlls', {
settings = { settings = {
@@ -397,18 +408,23 @@ function! StatuslineGit()
return strlen(l:branchname) > 0?' '.l:branchname.' ':'' return strlen(l:branchname) > 0?' '.l:branchname.' ':''
endfunction endfunction
set statusline= set laststatus=3
set statusline+=%#IncSearch#
set statusline+=%{&filetype!=#''?'\ \ ['.&filetype.']\ ':'\ '} lua <<EOF
set statusline+=%{&modified?'[+]\ ':''} vim.o.statusline = table.concat({
set statusline+=%#CursorLineNr# "%#IncSearch#",
set statusline+=\ %F "%{&filetype!=#''?' ['.&filetype..'] ':'\\ '}",
set statusline+=%= "Right side settings "%{&modified?'[+] ':''}",
set statusline+=%#CursorLineNr# "%#CursorLineNr#",
set statusline+=%{StatuslineGit()} " %F",
set statusline+=%#Search# "%=",
set statusline+=\ %l/%L "%#CursorLineNr#",
set statusline+=\ [%c] "%{StatuslineGit()}",
"%#Search#",
" %l/%L",
" [%c]",
})
EOF
" Disable godoc keys " Disable godoc keys
let g:go_doc_keywordprg_enabled = 0 let g:go_doc_keywordprg_enabled = 0
-4
View File
@@ -589,10 +589,6 @@ function install_font_terminess() {
fi fi
} }
function update_zsh() {
omz update
}
function main() { function main() {
command_start update_pip command_start update_pip
command_start install_neovim_module_for_python 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 Git file://"$HOME"/git/
/usr/local/bin/mysides add Linux file://"$HOME"/MEGA/Systems/Linux/ /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 Downloads file://"$HOME"/Downloads/
# /usr/local/bin/mysides add Aplications file:///Applications/ /usr/local/bin/mysides add Aplications file:///Applications/
# /usr/local/bin/mysides add Aplications file:///"$HOME"/Applications/ /usr/local/bin/mysides add Aplications file:///"$HOME"/Applications/
/usr/local/bin/mysides add Screenshots file://"$HOME"/Screenshots/ /usr/local/bin/mysides add Screenshots file://"$HOME"/Screenshots/
/usr/local/bin/mysides add Desktop file://"$HOME"/Desktop/ /usr/local/bin/mysides add Desktop file://"$HOME"/Desktop/