From 39e96c88b1419fed3723de9db1c07147ca4d9d35 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