From a140c1abf2ebd82909b3af6235825d1265fe7055 Mon Sep 17 00:00:00 2001 From: Sergey Besedin Date: Sun, 14 Feb 2021 00:05:33 +0400 Subject: [PATCH] Update stuff --- config/htop/htoprc | 2 +- config/i3/config | 2 +- config/nvim/coc-settings.json | 2 +- config/nvim/init.vim | 5 +++++ rubocop.yml | 4 ++++ 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/config/htop/htoprc b/config/htop/htoprc index 33d7364..3bd4591 100644 --- a/config/htop/htoprc +++ b/config/htop/htoprc @@ -1,7 +1,7 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. fields=0 48 17 18 38 39 40 2 46 47 49 1 -sort_key=47 +sort_key=46 sort_direction=1 hide_threads=0 hide_kernel_threads=0 diff --git a/config/i3/config b/config/i3/config index 2772d98..02d1efb 100644 --- a/config/i3/config +++ b/config/i3/config @@ -218,7 +218,7 @@ bar { # Backlight control bindsym XF86MonBrightnessUp exec --no-startup-id sudo light -A 5 bindsym XF86MonBrightnessDown exec --no-startup-id sudo light -U 5 -bindsym XF86Search exec --no-startup-id suspend +bindsym XF86Search exec --no-startup-id suspend-and-lock # Volume control bindsym XF86AudioRaiseVolume exec --no-startup-id pulseaudio-ctl up diff --git a/config/nvim/coc-settings.json b/config/nvim/coc-settings.json index acd7d5d..e10711a 100644 --- a/config/nvim/coc-settings.json +++ b/config/nvim/coc-settings.json @@ -12,7 +12,7 @@ "diagnostic.displayByAle": false, "diagnostic.messageTarget": "float", "diagnostic.messageDelay": 250, - "diagnostic.refreshOnInsertMode": true, + "diagnostic.refreshOnInsertMode": false, "highlight.disableLanguages": ["slim", "md"], "coc.source.omni.filetypes": [], "coc.source.omni.enable": false, diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 7d8fd6b..33a3c29 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -328,11 +328,16 @@ tnoremap command Term split term://fish let g:neoterm_autoinsert = 1 let g:neoterm_default_mod = 'rightbelow' +let g:neoterm_size = '20' " vim-test " make test commands execute using neoterm let test#strategy = "neoterm" +nnoremap tn :TestNearest +nnoremap tf :TestFile +nnoremap ts :TestSuite + " Vim gitgutter let g:gitgutter_enabled = 1 let g:gitgutter_signs = 1 diff --git a/rubocop.yml b/rubocop.yml index f6f37be..26d78cf 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -19,3 +19,7 @@ Style/Documentation: Style/FrozenStringLiteralComment: Enabled: false + +Metrics/BlockLength: + Exclude: + - 'test/**/*'