forked from mirrors_public/oddlama_nix-config
feat(manpager): add tag jumping keybinds
This commit is contained in:
parent
ea63eea40b
commit
eb302ea61e
2 changed files with 8 additions and 3 deletions
|
@ -6,6 +6,12 @@ vim.opt.swapfile = false
|
|||
vim.opt.undofile = false
|
||||
vim.opt.writebackup = false
|
||||
vim.opt.shadafile = vim.fn.stdpath "state" .. "/shada/man.shada"
|
||||
|
||||
vim.opt.virtualedit = "all"
|
||||
vim.opt.splitkeep = "screen"
|
||||
-- Make sure to use ANSI colors
|
||||
vim.opt.termguicolors = false
|
||||
|
||||
vim.keymap.set("n", "<CR>", "<C-]>", { silent = true, desc = "Jump to tag under cursor" })
|
||||
vim.keymap.set("n", "<BS>", ":pop<CR>", { silent = true, desc = "Jump to previous tag in stack" })
|
||||
vim.keymap.set("n", "<C-Left>", ":pop<CR>", { silent = true, desc = "Jump to previous tag in stack" })
|
||||
vim.keymap.set("n", "<C-Right>", ":tag<CR>", { silent = true, desc = "Jump to next tag in stack" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue