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