diff --git a/gitconfig_2022 b/gitconfig_2022 index 5f58d59..6c4600e 100644 --- a/gitconfig_2022 +++ b/gitconfig_2022 @@ -44,7 +44,7 @@ civ = commit --verbose ca = commit --amend caa = commit -a --amend unstash = stash pop -mt = mergetool +mt = mergetool -t vimdiff # moved to aliases # grepall = git rev-list --all | xargs git grep diff --git a/vimrc_2022 b/vimrc_2022 index 3d526af..e1be95b 100644 --- a/vimrc_2022 +++ b/vimrc_2022 @@ -42,6 +42,9 @@ Plug 'rhysd/vim-healthcheck' " :CheckHealth call plug#end() +" Ex mode disable +" https://vi.stackexchange.com/questions/457/does-ex-mode-have-any-practical-use +nnoremap Q " https://vim.fandom.com/wiki/Identify_the_syntax_highlighting_group_used_at_the_cursor nnoremap :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' @@ -187,10 +190,11 @@ filetype plugin indent on syntax on set hidden """ ---- saveall shortcut -map ZA :wall -map ZW :qa +map ZW :wall +map ZA :qa """ write/quit " aka ZZ +map x :close map w :silent up map W :silent w! map q :qa @@ -310,8 +314,9 @@ let g:lsp_settings = { " disable everything - I usually need just gd and K -let g:lsp_diagnostics_enabled = 0 " diagnostics: disable diagnosctics warn/error https://github.com/prabirshrestha/vim-lsp?tab=readme-ov-file#diagnostics -let g:lsp_diagnostics_echo_cursor = 0 +let g:lsp_diagnostics_enabled = 1 " diagnostics: disable diagnosctics warn/error https://github.com/prabirshrestha/vim-lsp?tab=readme-ov-file#diagnostics +let g:lsp_diagnostics_echo_cursor = 1 + let g:lsp_diagnostics_signs_enabled = 0 " diagnostics signs warnings/errors let g:lsp_diagnostics_virtual_text_enabled = 0 " diagnostics virtual text - use the one below from status bar