Skip to content

Commit

Permalink
feat(init): New keymaps for folds, other maps fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrKJeff16 committed Jun 8, 2024
1 parent c304fb0 commit 69ff346
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ local Keys = {

['<leader>fr'] = { ':%s/', desc('Run Search-Replace Prompt For Whole File', false) },
['<leader>fir'] = { ':%retab<CR>', desc('Retab File') },
['<leader>fs'] = { ':w<CR>', desc('Save File', false) },
['<leader>fFo'] = { ':%foldopen<CR>', desc('Open All Folds') },
['<leader>fFc'] = { ':%foldclose<CR>', desc('Close All Folds') },
['<leader>fs'] = { ':w<CR>', desc('Save File') },
['<leader>fS'] = { ':w ', desc('Save File (Prompt)', false) },
['<leader>fvl'] = {
function()
Expand Down Expand Up @@ -131,7 +133,7 @@ local Keys = {
vim.cmd('luafile $MYVIMRC')
notify('Sourced `init.lua`')
end,
desc('Source $MYVIMRC', false),
desc('Source $MYVIMRC'),
},

['<leader>ht'] = { ':tab h ', desc('Prompt For Help On New Tab', false) },
Expand Down Expand Up @@ -188,6 +190,8 @@ local Names = {
['<leader>fv'] = { name = '+Script Files' },
--- Indent Control
['<leader>fi'] = { name = '+Indent' },
--- Folding Control
['<leader>fF'] = { name = '+Folding' },

--- Tabs Handling
['<leader>t'] = { name = '+Tabs' },
Expand Down

0 comments on commit 69ff346

Please sign in to comment.