You've already forked dotfiles
feat: A working state during the transfer between the old neovim
configurations and using newer built-in functionality in the 0.12.x versions of Neovim. Further work is needed for treesitter updates, cleanup of the conversion work and testing to verify old functionality isn't lessened to get the benefits of a cleaner config and vastly faster load times.
This commit is contained in:
@@ -50,6 +50,10 @@ vim.keymap.set('n', '<leader>w', ':set list!<CR>', options)
|
||||
-- Folding the section under the cursor
|
||||
vim.keymap.set('n', '<space>', 'za')
|
||||
|
||||
-- Comment toggling
|
||||
vim.keymap.set('n', '<leader>c', 'gcc', {remap=true})
|
||||
vim.keymap.set('v', '<leader>c', 'gc', {remap=true})
|
||||
|
||||
-- Keymaps for custom functions
|
||||
vim.keymap.set('n', '<leader>et', function() custom_functions.execute('test') end)
|
||||
vim.keymap.set('n', '<leader>er', function() custom_functions.execute('run') end)
|
||||
@@ -57,6 +61,8 @@ vim.keymap.set('n', '<leader>ec', function() custom_functions.execute('compile')
|
||||
vim.keymap.set('n', '<leader>eb', function() custom_functions.execute('benchmark') end)
|
||||
vim.keymap.set('n', '<leader>eu', function() custom_functions.execute('upload') end)
|
||||
|
||||
-- Netrw directory exploration
|
||||
vim.keymap.set('n', '<leader>eo', ':Lexplore<CR>', options)
|
||||
|
||||
vim.keymap.set('n', '<leader>l', ':Lazy<CR>', options)
|
||||
-- Allow for leaving Terminal mode using the escape key instead of the odd default
|
||||
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
|
||||
|
||||
Reference in New Issue
Block a user