1
0
Fork 0

feat: Add neovim keymap for fetching answers

This commit is contained in:
lwad 2024-05-15 09:38:31 +01:00
parent 6791e380f8
commit b466e5c0e3
2 changed files with 4 additions and 1 deletions

View File

@ -173,6 +173,9 @@ with lib; {
(fileContents ./lsp.lua)
])
''
vim.keymap.set("n", "<leader>fa", ":s/? [A-Z]* -->//g<enter>V/<c-r><c-l><enter>:lua harpoon_ui.nav_file(2)<enter>/<c-p><enter>jjy/<!<enter><c-^>upO<esc>k", {})
''
"EOF"
]);
packages.myVimPackage.start = with pkgs.vimPlugins;

View File

@ -1,5 +1,5 @@
require("harpoon").setup({ global_settings = { enter_on_sendcmd = true, }, })
local harpoon_ui = require("harpoon.ui")
harpoon_ui = require("harpoon.ui")
local harpoon_mark = require("harpoon.mark")
local harpoon_cmd_ui = require("harpoon.cmd-ui")
local harpoon_term = require("harpoon.term")