nvim/lua/keymaps/functions.lua

3 lines
120 B
Lua

-- Quick compilation with GCC and running
vim.keymap.set('n', 'co', '<cmd>:!gcc -o test % && ./test', {noremap = true})