From dc6909073cb1cecd3e107665bd21312247083107 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Fri, 6 May 2022 11:07:31 -0400 Subject: [PATCH] Some fun vim updates --- bash/.bashrc | 2 ++ nvim/.config/nvim/coc-settings.json | 4 +++- nvim/.config/nvim/init.vim | 7 +++++-- nvim/.config/nvim/plugs.vim | 7 ++++++- 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index ab417c1..9952668 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -37,6 +37,8 @@ if [ -x /usr/bin/dircolors ]; then alias egrep='egrep --color=auto' fi +alias kssh='kitty +kitten ssh' + # enable programmable completion features if ! shopt -oq posix; then if [ -f /usr/share/bash-completion/bash_completion ]; then diff --git a/nvim/.config/nvim/coc-settings.json b/nvim/.config/nvim/coc-settings.json index 13a066a..03f82e8 100644 --- a/nvim/.config/nvim/coc-settings.json +++ b/nvim/.config/nvim/coc-settings.json @@ -1,3 +1,5 @@ { - "suggest.autoTrigger": "none" + "suggest.autoTrigger": "none", + "signature.target": "echo", + "rust-analyzer.updates.checkOnStartup": false, } diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index ef789e2..325a83f 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -36,13 +36,14 @@ au CursorHoldI * checktime " Line numnbmers are cool set number +set relativenumber " Always show the signcolumn, otherwise it would shift the text each time " diagnostics appear/become resolved. if has("nvim-0.5.0") || has("patch-8.1.1564") " Recently vim can merge signcolumn and number column into one - set signcolumn=number -else set signcolumn=yes +else + set signcolumn=number endif " Turn off polyglot for some langs so they play nice @@ -57,3 +58,5 @@ source $HOME/.config/nvim/colors.vim " Manually trigger completions inoremap coc#refresh() +" Conceal markdown syntax +set conceallevel=2 diff --git a/nvim/.config/nvim/plugs.vim b/nvim/.config/nvim/plugs.vim index 5692fc8..fc95b92 100644 --- a/nvim/.config/nvim/plugs.vim +++ b/nvim/.config/nvim/plugs.vim @@ -18,6 +18,12 @@ Plug 'sheerun/vim-polyglot' " Automatic syntax highlighting for many languages Plug 'ntietz/tla.vim' Plug 'fatih/vim-go' +" Markdown suppoert +Plug 'godlygeek/tabular' +Plug 'preservim/vim-markdown' +let g:vim_markdown_folding_disabled = 1 +let g:vim_markdown_strikethrough = 1 + " Use common config to setup tab depth Plug 'editorconfig/editorconfig-vim' @@ -29,5 +35,4 @@ Plug 'neoclide/coc.nvim', {'branch': 'master'} " After installation, run this to setup with Rust: " :CocInstall coc-rust-analyzer - call plug#end()