Skip to content

Commit

Permalink
change keymap lmao
Browse files Browse the repository at this point in the history
  • Loading branch information
bryant-the-coder committed Aug 14, 2024
1 parent a10ff0d commit 7d4f06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/core/autocommands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ vim.api.nvim_create_user_command("CompileAndRun", function()
end, {})
vim.api.nvim_create_autocmd("FileType", {
pattern = "cpp",
command = "nnoremap <leader>fw :CompileAndRun<CR>",
command = "nnoremap <leader>fc :CompileAndRun<CR>",
})

-- Same as above but theres an input file (use it thru command line)
Expand Down

0 comments on commit 7d4f06b

Please sign in to comment.