Added bind to run make command in neovim

This commit is contained in:
lulusilly 2025-08-29 23:23:41 -04:00
parent 17f9578f37
commit 6100c990e7

View file

@ -137,6 +137,7 @@ vim.keymap.set('n', '<leader>o', ':only<CR>', { desc = 'Close all other windows'
-- Toggle the file tree.
vim.keymap.set('n', '<leader>e', ':NvimTreeToggle<CR>', { desc = 'Toggle file tree' })
-- Select the entire file content.
vim.keymap.set('n', '<leader>a', 'ggVG', { desc = 'Select entire file' })
-- Run make command
vim.keymap.set('', '<leader>r', ':update<CR> :make<CR>', { desc = 'Compile/Evaluate current file'} )