diff options
author | Matthew Lemon <y@yulqen.org> | 2023-04-10 19:34:50 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-04-10 19:34:50 +0100 |
commit | 4f5c12b4dc4220c7220ea210f6a38f9dcafca0fd (patch) | |
tree | 9ed5a4e07dd18559b2f606dd16299ebfed93abf2 /nvim/after/plugin/telescope.lua | |
parent | 52739493c4fe31347488c8b56228dce721fadf91 (diff) | |
parent | 0649a7f18f4241570183c9dcf473fed04c66977f (diff) |
Merge branch 'master' of github.com:yulqen/arch-dotfiles
Diffstat (limited to 'nvim/after/plugin/telescope.lua')
-rw-r--r-- | nvim/after/plugin/telescope.lua | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/nvim/after/plugin/telescope.lua b/nvim/after/plugin/telescope.lua index 29f5a62..a004f9d 100644 --- a/nvim/after/plugin/telescope.lua +++ b/nvim/after/plugin/telescope.lua @@ -1,8 +1,16 @@ local builtin = require('telescope.builtin') -vim.keymap.set('n', '<leader>pf', builtin.find_files, {}) -vim.keymap.set('n', '<C-p>', builtin.git_files, {}) +vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) +vim.keymap.set('n', '<leader>fg', builtin.live_grep, {}) +vim.keymap.set('n', '<leader>fb', builtin.buffers, {}) +vim.keymap.set('n', '<leader>fh', builtin.help_tags, {}) +vim.keymap.set('n', '<leader>fs', builtin.grep_string, {}) +vim.keymap.set('n', '<leader>fc', builtin.command_history, {}) +vim.keymap.set('n', '<leader>fk', builtin.keymaps, {}) +vim.keymap.set('n', '<leader>fl', builtin.diagnostics, {}) +vim.keymap.set('n', '<leader>fo', builtin.builtin, {}) + vim.keymap.set('n', '<leader>ps', function() builtin.grep_string({ search = vim.fn.input("Grep > ") }) end) -vim.keymap.set('n', '<leader>vh', builtin.help_tags, {}) +require("telescope").load_extension("emoji") |