Do not jump on invocation of *

This commit is contained in:
Ken Powers 2023-08-17 14:00:16 -04:00 committed by GitHub
parent 566049aa4a
commit cb151005e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,3 +165,6 @@ map("n", "<leader><tab><tab>", "<cmd>tabnew<cr>", { desc = "New Tab" })
map("n", "<leader><tab>]", "<cmd>tabnext<cr>", { desc = "Next Tab" })
map("n", "<leader><tab>d", "<cmd>tabclose<cr>", { desc = "Close Tab" })
map("n", "<leader><tab>[", "<cmd>tabprevious<cr>", { desc = "Previous Tab" })
-- Do not jump on invocation of *
vim.keymap.set("n", "*", ":keepjumps normal! mi*`i<Cr>")