You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after/ftplugin/go.lua is responsible for loading go specific stuff. Adding vim.api.nvim_set_keymap("n", "<F12>", "<cmd>echo 'hello'<cr>", {}) works when opening a Go file.
PS: Your command is missing the ending <cr>.
PS2: I included overseer in the config (lua/core/plugins/overseer.lua) which is a plugin to run various tools including make goals.
Is there a way to map fn keys for running commands like make and its arguments specifically when using "go" files?
Something like this:
If then where will this code go?
The text was updated successfully, but these errors were encountered: