From 4c2777820af8cccd71b86d267672ee968e99917c Mon Sep 17 00:00:00 2001 From: Nachuan Tang Date: Sun, 21 Aug 2022 23:22:58 -0400 Subject: [PATCH] add sniprun plugin --- .vimrc.bundles | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.vimrc.bundles b/.vimrc.bundles index 5a05645..e6b699c 100644 --- a/.vimrc.bundles +++ b/.vimrc.bundles @@ -80,6 +80,9 @@ " nvim theme Plug 'EdenEast/nightfox.nvim' Plug 'projekt0n/github-nvim-theme' + + " partial code execution + Plug 'michaelb/sniprun', {'do': 'bash install.sh'} endif if g:vim_version >= 0.7 Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'} @@ -100,11 +103,19 @@ if g:vim_type == 'nvim' " } - " lukas-reineke/indenlukas-reineke/indent-blankline.nvimt-blankline.nvim { + " lukas-reineke/indent-blankline.nvimt-blankline.nvim { let g:indent_blankline_use_treesitter = v:true let g:indent_blankline_show_current_context = v:true "let g:indent_blankline_show_current_context_start = v:true " } + " + " michaelb/sniprun { + + nmap r SnipRun + vmap r SnipRun + nmap s SnipReset + nmap c SnipClose + " } endif if g:vim_version >= 0.7