lvim.builtin.which_key.mappings[''] = {'', 'alternate file'} lvim.builtin.which_key.mappings['\\'] = {':vnew', 'vsplit'} lvim.builtin.which_key.mappings['-'] = {':new', 'hsplit'} -- hop mappings lvim.builtin.which_key.mappings['w'] = {':HopWord', 'Hop word'} lvim.builtin.which_key.mappings['j'] = {':HopLineStartAC', 'Hop line'} lvim.builtin.which_key.mappings['k'] = {':HopLineStartBC', 'Hop line'} lvim.builtin.which_key.mappings['r'] = { ':set invrelativenumber', 'Toggle relative number' } lvim.builtin.which_key.mappings['i'] = {':SymbolsOutline', 'Index view'} lvim.builtin.which_key.mappings['P'] = { 'Telescope projects', 'Projects' } lvim.builtin.which_key.mappings['S'] = { name = 'Session', c = { 'lua require(\'persistence\').load()', 'Restore last session for current dir' }, l = { 'lua require(\'persistence\').load({ last = true })', 'Restore last session' }, Q = { 'lua require(\'persistence\').stop()', 'Quit without saving session' } } lvim.builtin.which_key.mappings['d'] = { -- " Available Debug Adapters: -- " https://microsoft.github.io/debug-adapter-protocol/implementors/adapters/ -- " Adapter configuration and installation instructions: -- " https://github.com/mfussenegger/nvim-dap/wiki/Debug-Adapter-installation -- " Debug Adapter protocol: -- " https://microsoft.github.io/debug-adapter-protocol/ -- " Debugging name = 'Debug', e = {':call vimspector#Reset()', 'exit debug mode'}, l = {':call vimspector#StepInto()', 'step into'}, j = {':call vimspector#StepOver()', 'step over'}, h = {':call vimspector#StepOut()', 'step out'}, k = {':call vimspector#Restart()', 'restart debugging'}, c = {':call vimspector#Continue()', 'continue'}, r = {':call vimspector#RunToCursor()', 'run to cursor'}, d = {':call vimspector#Launch()', 'Launch'}, b = {':call vimspector#ToggleBreakpoint()', 'toggle breakpoint'}, B = {'VimspectorToggleConditionalBreakpoint', 'toggle breakpoint'}, C = {':call vimspector#ClearBreakpoints()', 'clear breakpoints'}, i = {'VimspectorBalloonEval', 'inspect'} } -- lvim.builtin.which_key.mappings['t'] = { -- name = '+Trouble', -- r = {'Trouble lsp_references', 'References'}, -- f = {'Trouble lsp_definitions', 'Definitions'}, -- d = {'Trouble lsp_document_diagnostics', 'Diagnostics'}, -- q = {'Trouble quickfix', 'QuickFix'}, -- l = {'Trouble loclist', 'LocationList'}, -- w = {'Trouble lsp_workspace_diagnostics', 'Diagnostics'} -- }