feat: add find/grep mappings

This commit is contained in:
Michael Mandl 2022-02-23 21:11:30 +01:00
parent c5fc9d2e6a
commit 260a273957
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -30,6 +30,8 @@ nnoremap("<leader>g", ":Git<CR>")
nnoremap("<leader>ff", "<Cmd>Telescope find_files theme=dropdown<CR>") nnoremap("<leader>ff", "<Cmd>Telescope find_files theme=dropdown<CR>")
nnoremap("<leader>fb", "<Cmd>Telescope buffers theme=dropdown<CR>") nnoremap("<leader>fb", "<Cmd>Telescope buffers theme=dropdown<CR>")
nnoremap("<leader>fg", "<Cmd>Telescope git_files theme=dropdown<CR>") nnoremap("<leader>fg", "<Cmd>Telescope git_files theme=dropdown<CR>")
nnoremap("<C-f>", "<Cmd>Telescope grep_string<CR>")
nnoremap("<C-g>", "<Cmd>Telescope live_grep<CR>")
-- terminal -- terminal
function _G.set_terminal_keymaps() function _G.set_terminal_keymaps()