From c3bca156418a657ee3be1a4af0530b806ddc4cae Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Sat, 22 Apr 2017 17:06:25 +0100 Subject: [PATCH] Add comment text object plugin --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vimrc b/vimrc index 3d9286e..6c26bd5 100644 --- a/vimrc +++ b/vimrc @@ -78,6 +78,12 @@ omap i% (textobj-entire-i) Plug 'sgur/vim-textobj-parameter' " vim-textobj-uri - URI text object Plug 'jceb/vim-textobj-uri' +" vim-textobj-comment - Comment text object +Plug 'glts/vim-textobj-comment' +xmap a/ (textobj-comment-a) +xmap i/ (textobj-comment-i) +omap a/ (textobj-comment-a) +omap i/ (textobj-comment-i) " vim-commentary - toggle comments Plug 'tpope/vim-commentary'