Compare commits

...

5 Commits

Author SHA1 Message Date
a33332de1c Merge branch 'master' of git.venya.tech:mega_venik/dotfiles 2022-09-16 20:02:32 +03:00
152117c4b7 [vim] disable default vim conseal for json 2022-09-16 20:00:22 +03:00
65c4c6486d [vim] coc disabled inline hints
For some reason they frozen the editor in WSL
2022-09-16 19:59:59 +03:00
b22190cbd3 [vim] vimrc tabs to spaces 2022-09-16 19:58:53 +03:00
e3aea319ab [tmux] finally disabled suspend-client hotkey 2022-09-16 19:57:49 +03:00
4 changed files with 11 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ unbind C-b
set-option -g prefix C-x
bind-key C-x send-prefix
unbind C-z # https://superuser.com/questions/1291278/accidentally-stop-the-tmux-job-via-remote-shell
# reload config file (change file location to your the tmux.conf you want to use)
bind r source-file ~/.tmux.conf \; display "Reloaded!"

3
vim/coc-settings.json Normal file
View File

@@ -0,0 +1,3 @@
{
"pyright.inlayHints.enable": false
}

2
vim/ftplugin/json.vim Normal file
View File

@@ -0,0 +1,2 @@
set conceallevel=0
let g:indentLine_setConceal = 0

View File

@@ -156,10 +156,10 @@ let g:ansible_yamlKeyName = 'yamlKey'
"
let g:coc_global_extensions = ['coc-pyright']
function! s:enable_coc_for_type()
let l:filesuffix_whitelist = ['py']
if index(l:filesuffix_whitelist, expand('%:e')) == -1
let b:coc_enabled = 0
endif
let l:filesuffix_whitelist = ['py']
if index(l:filesuffix_whitelist, expand('%:e')) == -1
let b:coc_enabled = 0
endif
endfunction
autocmd BufRead,BufNewFile * call s:enable_coc_for_type()
source ~/.vim/coc.vim