projects
/
dotfiles_nvim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe3259b
)
add keymap to open man pages quickly
master
author
Lukas Hägele
<lukas.haegele93@web.de>
Thu, 2 Apr 2026 09:10:25 +0000
(11:10 +0200)
committer
Lukas Hägele
<lukas.haegele93@web.de>
Thu, 2 Apr 2026 09:10:25 +0000
(11:10 +0200)
lua/config/keymap.lua
patch
|
blob
|
history
diff --git
a/lua/config/keymap.lua
b/lua/config/keymap.lua
index 39206ec2990d8d23656db1a3b0b42cc07783fb3f..ee17f612db02976623490c024452d2cc6f530fa1 100644
(file)
--- a/
lua/config/keymap.lua
+++ b/
lua/config/keymap.lua
@@
-36,3
+36,5
@@
end)
-- build
vim.keymap.set("n", "<M-m>", "<cmd>make<CR><cmd>copen<CR>", { desc = "run makefile and open quickfix list" })
-- build
vim.keymap.set("n", "<M-m>", "<cmd>make<CR><cmd>copen<CR>", { desc = "run makefile and open quickfix list" })
+-- open man page
+vim.keymap.set("n", "<space>fm", ":Man 2 ", { desc = "prefill command line with man page command" })