diff --git a/user-config/i3/config b/user-config/i3/config index e48a1e5..d56c111 100644 --- a/user-config/i3/config +++ b/user-config/i3/config @@ -69,11 +69,12 @@ bindsym $mod+f exec firefox bindsym $mod+p exec vlc # Signal Desktop -# bindsym $mod+s exec signal-desktop - uninstalled because the electron shit +# bindsym $mod+s exec signal-desktop # uninstalled because the electron shit # Take screenshots bindsym Print exec "scrot -b '%Y-%m-%d-%H%M%S-sechacklabs.png' -e 'mv $f /home/sechacklabs/Pictures/Screenshots/'" bindsym $mod+Print exec "scrot -b '%Y-%m-%d-%H%M%S-sechacklabs.png' -e 'mv $f /home/sechacklabs/Pictures/Screenshots/'" +# bindsym $mod+Shift+Print exec "scrot -s '%Y-%m-%d-%H%M%S-sechacklabs.png' -e 'mv $f /home/sechacklabs/Pictures/Screenshots/'" # Monitor brigthness bindcode 233 exec xbacklight -inc 5 diff --git a/user-config/nvim/init.vim b/user-config/nvim/init.vim index 5493509..b52ec00 100644 --- a/user-config/nvim/init.vim +++ b/user-config/nvim/init.vim @@ -21,6 +21,9 @@ Plug 'mattn/webapi-vim' Plug 'mustache/vim-mustache-handlebars' Plug 'sheerun/vim-polyglot' +" Neomaker +Plug 'neomake/neomake' + " Neovim airline Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' @@ -47,9 +50,18 @@ set guifont=Monospace\ Bold\ 12 set background=dark colors palenight set inccommand=nosplit +" let g:neomake_open_list = 2 +let g:neomake_warning_sign = { + \ 'text': 'W', + \ 'texthl': 'WarningMsg', + \ } +let g:neomake_error_sign = { + \ 'text': 'E', + \ 'texthl': 'ErrorMsg', + \ } " Set clipboard -" set clipboard+=unnamedplus +set clipboard+=unnamedplus " Uncomment the following to have Vim jump to the last position when " reopening a file @@ -57,6 +69,11 @@ if has("autocmd") au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif endif +" Lint as you type +if has("autocmd") + au InsertLeave,TextChanged * silent! update | Neomake +endif + " Uncomment the following to have Vim load indentation rules and plugins " according to the detected filetype. if has("autocmd")