Skip to content

Commit

Permalink
misc(init): Added and fixed keymaps.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrKJeff16 committed Jun 5, 2024
1 parent bf0918c commit c983b9f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ local NOP = {
'p',
'r',
's',
'u',
'v',
'w',
'x',
Expand Down Expand Up @@ -124,7 +125,7 @@ local Keys = {
['<leader>vee'] = { ':ed $MYVIMRC<CR>', desc('Open In Current Window') },
['<leader>ves'] = { ':split $MYVIMRC<CR>', desc('Open In Horizontal Split') },
['<leader>vev'] = { ':vsplit $MYVIMRC<CR>', desc('Open In Vertical Split') },
['<leader>vh'] = { '<CMD>checkhealth<CR>', desc('Run Checkhealth', false) },
['<leader>vh'] = { '<CMD>checkhealth<CR>', desc('Run Checkhealth') },
['<leader>vs'] = {
function()
vim.cmd('luafile $MYVIMRC')
Expand All @@ -148,8 +149,8 @@ local Keys = {
['<leader>wss'] = { ':split<CR>', desc('Horizontal Split', false) },
['<leader>wsv'] = { ':vsplit<CR>', desc('Vertical Split', false) },

['<leader>qq'] = { ':qa<CR>', desc('Quit Nvim') },
['<leader>qQ'] = { ':qa!<CR>', desc('Quit Nvim Forcefully') },
['<leader>qq'] = { ':qa<CR>', desc('Quit Nvim', false) },
['<leader>qQ'] = { ':qa!<CR>', desc('Quit Nvim Forcefully', false) },

['<leader>ta'] = { ':tabnew ', desc('New Tab (Prompt)', false) },
['<leader>tn'] = { ':tabN<CR>', desc('Next Tab', false) },
Expand Down

0 comments on commit c983b9f

Please sign in to comment.