From 1be9eb517b0478d29db84bd7652c71fadd24645c Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 7 Mar 2022 13:10:56 +0100 Subject: [PATCH] home: vim: add 'telescope' grep mappings --- home/vim/after/plugin/mappings/telescope.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/home/vim/after/plugin/mappings/telescope.vim b/home/vim/after/plugin/mappings/telescope.vim index 36fdd16..eb6363d 100644 --- a/home/vim/after/plugin/mappings/telescope.vim +++ b/home/vim/after/plugin/mappings/telescope.vim @@ -8,6 +8,8 @@ local keys = { b = { telescope_builtin.buffers, "Open buffers" }, f = { telescope_builtin.git_files, "Git tracked files" }, F = { telescope_builtin.find_files, "Files" }, + g = { telescope_builtin.live_grep, "Grep string" }, + G = { telescope_builtin.grep_string, "Grep string under cursor" }, }, }