From e3aea319ab50b3d366d40b052d48335ddeb29d84 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Fri, 16 Sep 2022 19:57:49 +0300 Subject: [PATCH 1/4] [tmux] finally disabled suspend-client hotkey --- tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tmux.conf b/tmux.conf index c5bc63c..2d6733b 100755 --- a/tmux.conf +++ b/tmux.conf @@ -10,6 +10,8 @@ set allow-rename off 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!" From b22190cbd3fcf63fdd77e30aa56f70545f12d813 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Fri, 16 Sep 2022 19:58:53 +0300 Subject: [PATCH 2/4] [vim] vimrc tabs to spaces --- vim/vimrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index b9fdeb4..b0a86cd 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -152,9 +152,9 @@ let g:coc_global_extensions = ['coc-pyright'] source ~/.vim/coc.vim 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 + if index(l:filesuffix_whitelist, expand('%:e')) == -1 + let b:coc_enabled = 0 + endif endfunction autocmd BufRead,BufNewFile * call s:enable_coc_for_type() From 65c4c6486da8525ca239b9791cb70d2ceef207e2 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Fri, 16 Sep 2022 19:59:59 +0300 Subject: [PATCH 3/4] [vim] coc disabled inline hints For some reason they frozen the editor in WSL --- vim/coc-settings.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vim/coc-settings.json diff --git a/vim/coc-settings.json b/vim/coc-settings.json new file mode 100644 index 0000000..47f1bfb --- /dev/null +++ b/vim/coc-settings.json @@ -0,0 +1,3 @@ +{ + "pyright.inlayHints.enable": false +} From 152117c4b75b78cefa551eb6bdafe5b0049c2c39 Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Fri, 16 Sep 2022 20:00:22 +0300 Subject: [PATCH 4/4] [vim] disable default vim conseal for json --- vim/ftplugin/json.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 vim/ftplugin/json.vim diff --git a/vim/ftplugin/json.vim b/vim/ftplugin/json.vim new file mode 100644 index 0000000..bd55dee --- /dev/null +++ b/vim/ftplugin/json.vim @@ -0,0 +1,2 @@ +set conceallevel=0 +let g:indentLine_setConceal = 0