diff options
-rw-r--r-- | after/plugin/telescope.lua | 4 | ||||
-rw-r--r-- | lua/talha/remap.lua | 5 |
2 files changed, 7 insertions, 2 deletions
diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua index b007673..4806008 100644 --- a/after/plugin/telescope.lua +++ b/after/plugin/telescope.lua @@ -1,6 +1,6 @@ local builtin = require('telescope.builtin') -vim.keymap.set('n', '<leader>ff', builtin.find_files, {}) +vim.keymap.set('n', '<leader>pf', builtin.find_files, {}) vim.keymap.set('n', '<C-p>', builtin.git_files, {}) -vim.keymap.set('n', '<leader>fs', function() +vim.keymap.set('n', '<leader>ps', function() builtin.grep_string({ search = vim.fn.input("Grep > ") }); end) diff --git a/lua/talha/remap.lua b/lua/talha/remap.lua index 079268c..0569836 100644 --- a/lua/talha/remap.lua +++ b/lua/talha/remap.lua @@ -22,6 +22,11 @@ vim.keymap.set("n", "N", "Nzzzv") vim.keymap.set("x", "<leader>p", "\"_dP") +-- Tab navigation +vim.keymap.set("n", "<C-t>n", vim.cmd.tabn) +-- go to prev error +vim.keymap.set("n", "<C-t>p", vim.cmd.tabp) + ---- system clipboard -- copying vim.keymap.set("n", "<leader>y", [["+y]]) |