Compare commits
3 Commits
c36b8443f5
...
f354a504ba
| Author | SHA1 | Date | |
|---|---|---|---|
|
f354a504ba
|
|||
|
57838f7dc5
|
|||
|
d2a16da121
|
@@ -29,6 +29,5 @@ transfer
|
||||
twingate
|
||||
visual-studio-code
|
||||
vlc
|
||||
whatsapp
|
||||
winbox
|
||||
wireshark
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user