From 87d969397351cf64acdd563bfc976b97c65fa44f Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 21 Jul 2017 13:23:35 +0100 Subject: [PATCH] Add mapping for :Ag --- plugin/mappings.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin/mappings.vim b/plugin/mappings.vim index 11c5812..b969812 100644 --- a/plugin/mappings.vim +++ b/plugin/mappings.vim @@ -37,6 +37,8 @@ nnoremap l :BLines nnoremap c :Colors nnoremap h :Helptags nnoremap s :Snippets +" Search to the word under the cursor +nnoremap ag :Ag =expand('') " Treat long lines as line containing breaks nnoremap j gj