From b5567560c0826f212d2fea24e727f913238f8c9e Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Mon, 13 Jul 2020 16:11:10 +0200 Subject: [PATCH] vim plugin for comments + docs for using --- dot_vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dot_vimrc b/dot_vimrc index 0217aa5..d440ecc 100644 --- a/dot_vimrc +++ b/dot_vimrc @@ -45,6 +45,12 @@ Plugin 'tpope/vim-fugitive' Plugin 'scrooloose/nerdtree' " A plugin of NERDTree showing git status Plugin 'Xuyuanp/nerdtree-git-plugin' +" Vim plugin for intensely nerdy commenting powers +" In order to use it for instance, for commenting a block of text... do as : +" - Select several lines (using ) +" - Press then +Plugin 'preservim/nerdcommenter' + " A Vim plugin which shows a git diff in the gutter (sign column) and stages/undoes hunks and partial hunks. Plugin 'airblade/vim-gitgutter' " Jenkinsfile DSL Vim Syntax @@ -174,6 +180,8 @@ hi Search ctermfg=White hi Search ctermbg=DarkMagenta " test cheat.sh integration with VIM +" In any source file, type a query "e.g : how to append ... in python" then +" exit insert mode, and press then let mapleader=" " " map a specific key or shortcut to open NERDTree