3067 lines
67 KiB
JSON
3067 lines
67 KiB
JSON
{
|
|
"distribution": "custom",
|
|
"masonTools": [
|
|
"basedpyright",
|
|
"basedpyright-langserver",
|
|
"bash-language-server",
|
|
"black",
|
|
"clang-format",
|
|
"clangd",
|
|
"codespell",
|
|
"cspell",
|
|
"emmet-ls",
|
|
"eslint_d",
|
|
"isort",
|
|
"jdtls",
|
|
"lua-language-server",
|
|
"markdownlint",
|
|
"mypy",
|
|
"phpcs",
|
|
"prettier",
|
|
"pylint",
|
|
"pyright",
|
|
"pyright-langserver",
|
|
"ruff",
|
|
"shfmt",
|
|
"stylua",
|
|
"tailwindcss-language-server",
|
|
"trivy",
|
|
"typescript-language-server",
|
|
"vscode-css-language-server",
|
|
"vscode-json-language-server"
|
|
],
|
|
"keymaps": [
|
|
{
|
|
"desc": "Next Buffer",
|
|
"noremap": true,
|
|
"lhs": "<Tab>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bnext<CR>"
|
|
},
|
|
{
|
|
"desc": "Escape and clear hlsearch",
|
|
"noremap": true,
|
|
"lhs": "<Esc>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>noh<CR><Esc>"
|
|
},
|
|
{
|
|
"desc": "Copy Git URL",
|
|
"noremap": true,
|
|
"lhs": "<Space>yg",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require\"gitlinker\".get_buf_range_url(\"v\")<CR>"
|
|
},
|
|
{
|
|
"desc": "Extract Variable",
|
|
"noremap": true,
|
|
"lhs": "<Space>rv",
|
|
"mode": "v",
|
|
"rhs": "<Esc><Cmd>lua require('refactoring').refactor('Extract Variable')<CR>"
|
|
},
|
|
{
|
|
"desc": "Refactor Commands",
|
|
"noremap": true,
|
|
"lhs": "<Space>rr",
|
|
"mode": "v",
|
|
"rhs": "<Esc><Cmd>lua require('telescope').extensions.refactoring.refactors()<CR>"
|
|
},
|
|
{
|
|
"desc": "Inline Variable",
|
|
"noremap": true,
|
|
"lhs": "<Space>ri",
|
|
"mode": "v",
|
|
"rhs": "<Esc><Cmd>lua require('refactoring').refactor('Inline Variable')<CR>"
|
|
},
|
|
{
|
|
"desc": "Extract To File",
|
|
"noremap": true,
|
|
"lhs": "<Space>rf",
|
|
"mode": "v",
|
|
"rhs": "<Esc><Cmd>lua require('refactoring').refactor('Extract Function To File')<CR>"
|
|
},
|
|
{
|
|
"desc": "Extract Function",
|
|
"noremap": true,
|
|
"lhs": "<Space>re",
|
|
"mode": "v",
|
|
"rhs": "<Esc><Cmd>lua require('refactoring').refactor('Extract Function')<CR>"
|
|
},
|
|
{
|
|
"desc": "Current Word",
|
|
"noremap": true,
|
|
"lhs": "<Space>jw",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require(\"flash\").jump({ pattern = vim.fn.expand(\"<lt>cword>\")})<CR>"
|
|
},
|
|
{
|
|
"desc": "Remote Treesitter",
|
|
"noremap": true,
|
|
"lhs": "<Space>jt",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').treesitter_search()<CR>"
|
|
},
|
|
{
|
|
"desc": "Search",
|
|
"noremap": true,
|
|
"lhs": "<Space>js",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').jump()<CR>"
|
|
},
|
|
{
|
|
"desc": "Previous Jump",
|
|
"noremap": true,
|
|
"lhs": "<Space>jp",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').jump({continue = true})<CR>"
|
|
},
|
|
{
|
|
"desc": "Search Forward",
|
|
"noremap": true,
|
|
"lhs": "<Space>jn",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').jump({search = { forward = true, wrap = false, multi_window = false },})<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter",
|
|
"noremap": true,
|
|
"lhs": "<Space>jk",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').treesitter()<CR>"
|
|
},
|
|
{
|
|
"desc": "Remote",
|
|
"noremap": true,
|
|
"lhs": "<Space>jj",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').remote()<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostics",
|
|
"noremap": true,
|
|
"lhs": "<Space>jd",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>FlashDiagnostics<CR>"
|
|
},
|
|
{
|
|
"desc": "Search Backward",
|
|
"noremap": true,
|
|
"lhs": "<Space>jN",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>lua require('flash').jump({search = { forward = false, wrap = false, multi_window = false },})<CR>"
|
|
},
|
|
{
|
|
"desc": "Delete Comment Style",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cd",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>CBd<CR>"
|
|
},
|
|
{
|
|
"desc": "Catalog",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cc",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>CBcatalog<CR>"
|
|
},
|
|
{
|
|
"desc": "Marked",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cm",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>CBllbox14<CR>"
|
|
},
|
|
{
|
|
"desc": "Line",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cl",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>CBline<CR>"
|
|
},
|
|
{
|
|
"desc": "Tiled line",
|
|
"noremap": true,
|
|
"lhs": "<Space>Ct",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>CBllline<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment Box",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cb",
|
|
"mode": "v",
|
|
"rhs": "<Cmd>CBccbox<CR>"
|
|
},
|
|
{
|
|
"desc": "Run Code",
|
|
"noremap": true,
|
|
"lhs": "<Space>cx",
|
|
"mode": "v",
|
|
"rhs": "<Esc><Cmd>'<lt>,'>SnipRun<CR>"
|
|
},
|
|
{
|
|
"desc": "Unique",
|
|
"noremap": true,
|
|
"lhs": "<Space>cu",
|
|
"mode": "v",
|
|
"rhs": ":!uniq<CR>"
|
|
},
|
|
{
|
|
"desc": "Sort Asc",
|
|
"noremap": true,
|
|
"lhs": "<Space>cs",
|
|
"mode": "v",
|
|
"rhs": ":sort<CR>"
|
|
},
|
|
{
|
|
"desc": "Sort Case Insensitive",
|
|
"noremap": true,
|
|
"lhs": "<Space>ci",
|
|
"mode": "v",
|
|
"rhs": ":sort i<CR>"
|
|
},
|
|
{
|
|
"desc": "Sort Desc",
|
|
"noremap": true,
|
|
"lhs": "<Space>cS",
|
|
"mode": "v",
|
|
"rhs": ":sort!<CR>"
|
|
},
|
|
{
|
|
"desc": "Copy Git URL",
|
|
"noremap": true,
|
|
"lhs": "<Space>yg",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require\"gitlinker\".get_buf_range_url()<CR>"
|
|
},
|
|
{
|
|
"desc": "File Name",
|
|
"noremap": true,
|
|
"lhs": "<Space>yf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CopyFileName<CR>"
|
|
},
|
|
{
|
|
"desc": "Copy Whole File",
|
|
"noremap": true,
|
|
"lhs": "<Space>ya",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>%y+<CR>"
|
|
},
|
|
{
|
|
"desc": "Absolute Path",
|
|
"noremap": true,
|
|
"lhs": "<Space>yP",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CopyAbsolutePath<CR>"
|
|
},
|
|
{
|
|
"desc": "Relative Path",
|
|
"noremap": true,
|
|
"lhs": "<Space>yp",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CopyRelativePath<CR>"
|
|
},
|
|
{
|
|
"desc": "Quickfix List (Trouble)",
|
|
"noremap": true,
|
|
"lhs": "<Space>xQ",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Trouble qflist toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Location List (Trouble)",
|
|
"noremap": true,
|
|
"lhs": "<Space>xL",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Trouble loclist toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "LSP references/definitions/... (Trouble)",
|
|
"noremap": true,
|
|
"lhs": "<Space>xS",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Trouble lsp toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Symbols (Trouble)",
|
|
"noremap": true,
|
|
"lhs": "<Space>xs",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Trouble symbols toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Buffer Diagnostics (Trouble)",
|
|
"noremap": true,
|
|
"lhs": "<Space>xX",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Trouble diagnostics toggle filter.buf=0<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostics (Trouble)",
|
|
"noremap": true,
|
|
"lhs": "<Space>xx",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Trouble diagnostics toggle<CR>"
|
|
},
|
|
{
|
|
"desc": " Save and Quit",
|
|
"noremap": true,
|
|
"lhs": "<Space>x",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>x<CR>"
|
|
},
|
|
{
|
|
"desc": "ZenMode",
|
|
"noremap": true,
|
|
"lhs": "<Space>wz",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>ZenMode<CR>"
|
|
},
|
|
{
|
|
"desc": "Write and Quit",
|
|
"noremap": true,
|
|
"lhs": "<Space>ww",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>w<CR>"
|
|
},
|
|
{
|
|
"desc": "Twilight",
|
|
"noremap": true,
|
|
"lhs": "<Space>wt",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Twilight<CR>"
|
|
},
|
|
{
|
|
"desc": "Suggestions",
|
|
"noremap": true,
|
|
"lhs": "<Space>ws",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope spell_suggest<CR>"
|
|
},
|
|
{
|
|
"desc": "Write and Quit",
|
|
"noremap": true,
|
|
"lhs": "<Space>wq",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>wq<CR>"
|
|
},
|
|
{
|
|
"desc": "Prev Misspell",
|
|
"noremap": true,
|
|
"lhs": "<Space>wk",
|
|
"mode": "n",
|
|
"rhs": "[s"
|
|
},
|
|
{
|
|
"desc": "Next Misspell",
|
|
"noremap": true,
|
|
"lhs": "<Space>wj",
|
|
"mode": "n",
|
|
"rhs": "]s"
|
|
},
|
|
{
|
|
"desc": "Force Write",
|
|
"noremap": true,
|
|
"lhs": "<Space>wf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require'utils'.sudo_write()<CR>"
|
|
},
|
|
{
|
|
"desc": "Suda Write",
|
|
"noremap": true,
|
|
"lhs": "<Space>wF",
|
|
"mode": "n",
|
|
"rhs": ":SudaWrite<CR>"
|
|
},
|
|
{
|
|
"desc": "Spellcheck",
|
|
"noremap": true,
|
|
"lhs": "<Space>wc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>set spell!<CR>"
|
|
},
|
|
{
|
|
"desc": "Quote",
|
|
"noremap": true,
|
|
"lhs": "<Space>vq",
|
|
"mode": "n",
|
|
"rhs": "viq"
|
|
},
|
|
{
|
|
"desc": "Paragraph",
|
|
"noremap": true,
|
|
"lhs": "<Space>vp",
|
|
"mode": "n",
|
|
"rhs": "vip"
|
|
},
|
|
{
|
|
"desc": "Bracket",
|
|
"noremap": true,
|
|
"lhs": "<Space>vb",
|
|
"mode": "n",
|
|
"rhs": "vib"
|
|
},
|
|
{
|
|
"desc": "Around Quote",
|
|
"noremap": true,
|
|
"lhs": "<Space>vQ",
|
|
"mode": "n",
|
|
"rhs": "vaq"
|
|
},
|
|
{
|
|
"desc": "Around Para",
|
|
"noremap": true,
|
|
"lhs": "<Space>vP",
|
|
"mode": "n",
|
|
"rhs": "vap"
|
|
},
|
|
{
|
|
"desc": "Around Bracket",
|
|
"noremap": true,
|
|
"lhs": "<Space>vB",
|
|
"mode": "n",
|
|
"rhs": "vab"
|
|
},
|
|
{
|
|
"desc": "Toggle Output Panel",
|
|
"noremap": true,
|
|
"lhs": "<Space>uO",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").output_panel.toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Stop",
|
|
"noremap": true,
|
|
"lhs": "<Space>us",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").run.stop()<CR>"
|
|
},
|
|
{
|
|
"desc": "Run Nearest Test",
|
|
"noremap": true,
|
|
"lhs": "<Space>ur",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").run.run()"
|
|
},
|
|
{
|
|
"desc": "Toggle Summary",
|
|
"noremap": true,
|
|
"lhs": "<Space>uS",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").summary.toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Show Output",
|
|
"noremap": true,
|
|
"lhs": "<Space>uo",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").output.open({ enter = true, auto_close = true })<CR>"
|
|
},
|
|
{
|
|
"desc": "Run Test File",
|
|
"noremap": true,
|
|
"lhs": "<Space>uf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").run.run(vim.fn.expand(\"%\"))<CR>"
|
|
},
|
|
{
|
|
"desc": "Run Current Test",
|
|
"noremap": true,
|
|
"lhs": "<Space>uc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"neotest\").run.run()<CR>"
|
|
},
|
|
{
|
|
"desc": "Vertical Terminal",
|
|
"noremap": true,
|
|
"lhs": "<Space>tv",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Vterm<CR>"
|
|
},
|
|
{
|
|
"desc": "Horizontal Terminal",
|
|
"noremap": true,
|
|
"lhs": "<Space>th",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Sterm<CR>"
|
|
},
|
|
{
|
|
"desc": "Toggle Terminal",
|
|
"noremap": true,
|
|
"lhs": "<Space>t2",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>2ToggleTerm<CR>"
|
|
},
|
|
{
|
|
"desc": "Toggle Terminal",
|
|
"noremap": true,
|
|
"lhs": "<Space>t1",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>1ToggleTerm<CR>"
|
|
},
|
|
{
|
|
"desc": "Vertical Split",
|
|
"noremap": true,
|
|
"lhs": "<Space>ss",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vsplit<CR>"
|
|
},
|
|
{
|
|
"desc": "Close Split",
|
|
"noremap": true,
|
|
"lhs": "<Space>sq",
|
|
"mode": "n",
|
|
"rhs": "<C-W>c"
|
|
},
|
|
{
|
|
"desc": "Previous Pane",
|
|
"noremap": true,
|
|
"lhs": "<Space>sp",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>NavigatorPrevious<CR>"
|
|
},
|
|
{
|
|
"desc": "Move Right",
|
|
"noremap": true,
|
|
"lhs": "<Space>sl",
|
|
"mode": "n",
|
|
"rhs": "<C-W>l"
|
|
},
|
|
{
|
|
"desc": "Move Up",
|
|
"noremap": true,
|
|
"lhs": "<Space>sk",
|
|
"mode": "n",
|
|
"rhs": "<C-W>k"
|
|
},
|
|
{
|
|
"desc": "Move Down",
|
|
"noremap": true,
|
|
"lhs": "<Space>sj",
|
|
"mode": "n",
|
|
"rhs": "<C-W>j"
|
|
},
|
|
{
|
|
"desc": "Move Left",
|
|
"noremap": true,
|
|
"lhs": "<Space>sh",
|
|
"mode": "n",
|
|
"rhs": "<C-W>h"
|
|
},
|
|
{
|
|
"desc": "First Tab",
|
|
"noremap": true,
|
|
"lhs": "<Space>sf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>tabfirst<CR>"
|
|
},
|
|
{
|
|
"desc": "Close Tab",
|
|
"noremap": true,
|
|
"lhs": "<Space>sc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>tabclose<CR>"
|
|
},
|
|
{
|
|
"desc": "Horizontal Split",
|
|
"noremap": true,
|
|
"lhs": "<Space>sa",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>split<CR>"
|
|
},
|
|
{
|
|
"desc": "Previous Window",
|
|
"noremap": true,
|
|
"lhs": "<Space>s`",
|
|
"mode": "n",
|
|
"rhs": "<C-W>p"
|
|
},
|
|
{
|
|
"desc": "Decrease window height",
|
|
"noremap": true,
|
|
"lhs": "<Space>s_",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>resize -10<CR>"
|
|
},
|
|
{
|
|
"desc": "Split Right",
|
|
"noremap": true,
|
|
"lhs": "<Space>s\\",
|
|
"mode": "n",
|
|
"rhs": "<C-W>v"
|
|
},
|
|
{
|
|
"desc": "Increase window width",
|
|
"noremap": true,
|
|
"lhs": "<Space>sL",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vertical resize +10<CR>"
|
|
},
|
|
{
|
|
"desc": "Increase window height",
|
|
"noremap": true,
|
|
"lhs": "<Space>sK",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>resize +5<CR>"
|
|
},
|
|
{
|
|
"desc": "Decrease window height",
|
|
"noremap": true,
|
|
"lhs": "<Space>sJ",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>resize -5<CR>"
|
|
},
|
|
{
|
|
"desc": "Decrease window width",
|
|
"noremap": true,
|
|
"lhs": "<Space>sH",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vertical resize -10<CR>"
|
|
},
|
|
{
|
|
"desc": "Increase window width",
|
|
"noremap": true,
|
|
"lhs": "<Space>s=",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vertical resize +20<CR>"
|
|
},
|
|
{
|
|
"desc": "Split Below",
|
|
"noremap": true,
|
|
"lhs": "<Space>s/",
|
|
"mode": "n",
|
|
"rhs": "<C-W>s"
|
|
},
|
|
{
|
|
"desc": "Decrease window width",
|
|
"noremap": true,
|
|
"lhs": "<Space>s-",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vertical resize -20<CR>"
|
|
},
|
|
{
|
|
"desc": "Increase window height",
|
|
"noremap": true,
|
|
"lhs": "<Space>s+",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>resize +10<CR>"
|
|
},
|
|
{
|
|
"desc": "Replace Word",
|
|
"noremap": true,
|
|
"lhs": "<Space>rw",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('spectre').open_visual({select_word=true})<CR>"
|
|
},
|
|
{
|
|
"desc": "Extract Variable",
|
|
"noremap": true,
|
|
"lhs": "<Space>rv",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('refactoring').refactor('Extract Variable')<CR>"
|
|
},
|
|
{
|
|
"desc": "Replace Word",
|
|
"noremap": true,
|
|
"lhs": "<Space>rs",
|
|
"mode": "n",
|
|
"rhs": ":%s/\\<lt><C-R><C-W>\\>/<C-R><C-W>/gI<Left><Left><Left>"
|
|
},
|
|
{
|
|
"desc": "Smart Rename",
|
|
"noremap": true,
|
|
"lhs": "<Space>rr",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Swap Previous",
|
|
"noremap": true,
|
|
"lhs": "<Space>rp",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Swap Next",
|
|
"noremap": true,
|
|
"lhs": "<Space>rn",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "List Definition",
|
|
"noremap": true,
|
|
"lhs": "<Space>rl",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Previous Usage",
|
|
"noremap": true,
|
|
"lhs": "<Space>rk",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Next Usage",
|
|
"noremap": true,
|
|
"lhs": "<Space>rj",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Inline Variable",
|
|
"noremap": true,
|
|
"lhs": "<Space>ri",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('refactoring').refactor('Inline Variable')<CR>"
|
|
},
|
|
{
|
|
"desc": "List Definition Head",
|
|
"noremap": true,
|
|
"lhs": "<Space>rh",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Extract To File",
|
|
"noremap": true,
|
|
"lhs": "<Space>rf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('refactoring').refactor('Extract Block To File')<CR>"
|
|
},
|
|
{
|
|
"desc": "Extract Block",
|
|
"noremap": true,
|
|
"lhs": "<Space>re",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('refactoring').refactor('Extract Block')<CR>"
|
|
},
|
|
{
|
|
"desc": "Go To Definition",
|
|
"noremap": true,
|
|
"lhs": "<Space>rd",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": "Replace Buffer",
|
|
"noremap": true,
|
|
"lhs": "<Space>rb",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('spectre').open_file_search()<CR>"
|
|
},
|
|
{
|
|
"desc": "Replace",
|
|
"noremap": true,
|
|
"lhs": "<Space>rS",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('spectre').open()<CR>"
|
|
},
|
|
{
|
|
"desc": "Refactor Commands",
|
|
"noremap": true,
|
|
"lhs": "<Space>rR",
|
|
"mode": "n",
|
|
"rhs": "<Esc><Cmd>lua require('telescope').extensions.refactoring.refactors()<CR>"
|
|
},
|
|
{
|
|
"desc": "Code Runner",
|
|
"noremap": true,
|
|
"lhs": "<Space>rc",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Write and Quit",
|
|
"noremap": true,
|
|
"lhs": "<Space>qw",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>wq<CR>"
|
|
},
|
|
{
|
|
"desc": "Close Split",
|
|
"noremap": true,
|
|
"lhs": "<Space>qs",
|
|
"mode": "n",
|
|
"rhs": "<C-W>c"
|
|
},
|
|
{
|
|
"desc": "Quit",
|
|
"noremap": true,
|
|
"lhs": "<Space>qq",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>q<CR>"
|
|
},
|
|
{
|
|
"desc": "Close Others",
|
|
"noremap": true,
|
|
"lhs": "<Space>qo",
|
|
"mode": "n",
|
|
"rhs": ":%bdelete|b#|bdelete#<CR>"
|
|
},
|
|
{
|
|
"desc": "Force Quit",
|
|
"noremap": true,
|
|
"lhs": "<Space>qf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>qall!<CR>"
|
|
},
|
|
{
|
|
"desc": "Delete Buffer",
|
|
"noremap": true,
|
|
"lhs": "<Space>qd",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bdelete<CR>"
|
|
},
|
|
{
|
|
"desc": "Close Buffer",
|
|
"noremap": true,
|
|
"lhs": "<Space>qc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bw<CR>"
|
|
},
|
|
{
|
|
"desc": "Quit All",
|
|
"noremap": true,
|
|
"lhs": "<Space>qa",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>qall<CR>"
|
|
},
|
|
{
|
|
"desc": "Save ASCII code snapshot into clipboard",
|
|
"noremap": true,
|
|
"lhs": "<Space>pi",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>CodeSnapASCII<CR>"
|
|
},
|
|
{
|
|
"desc": "Save selected code snapshot in ~/Pictures",
|
|
"noremap": true,
|
|
"lhs": "<Space>ps",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>CodeSnapSave<CR>"
|
|
},
|
|
{
|
|
"desc": "Save selected code snapshot into clipboard",
|
|
"noremap": true,
|
|
"lhs": "<Space>py",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>CodeSnap<CR>"
|
|
},
|
|
{
|
|
"desc": "All Options",
|
|
"noremap": true,
|
|
"lhs": "<Space>oo",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope vim_options<CR>"
|
|
},
|
|
{
|
|
"desc": "Relative Numbers",
|
|
"noremap": true,
|
|
"lhs": "<Space>on",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>set relativenumber!<CR>"
|
|
},
|
|
{
|
|
"desc": "Highlight Colors",
|
|
"noremap": true,
|
|
"lhs": "<Space>oh",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope highlights<CR>"
|
|
},
|
|
{
|
|
"desc": "Colorscheme",
|
|
"noremap": true,
|
|
"lhs": "<Space>oc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope colorscheme<CR>"
|
|
},
|
|
{
|
|
"desc": "Don't Save Current Session",
|
|
"noremap": true,
|
|
"lhs": "<Space>md",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Restore Last Session",
|
|
"noremap": true,
|
|
"lhs": "<Space>ml",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Restore Session",
|
|
"noremap": true,
|
|
"lhs": "<Space>ms",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Peek Type Definition",
|
|
"noremap": true,
|
|
"lhs": "<Space>lt",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga peek_type_definition<CR>"
|
|
},
|
|
{
|
|
"desc": "Document Symbols",
|
|
"noremap": true,
|
|
"lhs": "<Space>ls",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope lsp_document_symbols theme=get_ivy<CR>"
|
|
},
|
|
{
|
|
"desc": "Rename",
|
|
"noremap": true,
|
|
"lhs": "<Space>lr",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga rename<CR>"
|
|
},
|
|
{
|
|
"desc": "Stop LSP",
|
|
"noremap": true,
|
|
"lhs": "<Space>lq",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>LspStop<CR>"
|
|
},
|
|
{
|
|
"desc": "Incoming Calls",
|
|
"noremap": true,
|
|
"lhs": "<Space>lp",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope lsp_incoming_calls<CR>"
|
|
},
|
|
{
|
|
"desc": "Outline",
|
|
"noremap": true,
|
|
"lhs": "<Space>lo",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga outline<CR>"
|
|
},
|
|
{
|
|
"desc": "File Diagnostics",
|
|
"noremap": true,
|
|
"lhs": "<Space>ll",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope diagnostics layout_strategy=vertical<CR>"
|
|
},
|
|
{
|
|
"desc": "Prev Diagnostic",
|
|
"noremap": true,
|
|
"lhs": "<Space>lk",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga diagnostic_jump_prev<CR>"
|
|
},
|
|
{
|
|
"desc": "Next Diagnostic",
|
|
"noremap": true,
|
|
"lhs": "<Space>lj",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga diagnostic_jump_next<CR>"
|
|
},
|
|
{
|
|
"desc": "LSP Info",
|
|
"noremap": true,
|
|
"lhs": "<Space>li",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>LspInfo<CR>"
|
|
},
|
|
{
|
|
"desc": "Hover",
|
|
"noremap": true,
|
|
"lhs": "<Space>lh",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga hover_doc<CR>"
|
|
},
|
|
{
|
|
"desc": "Goto Definition",
|
|
"noremap": true,
|
|
"lhs": "<Space>lg",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga goto_definition<CR>"
|
|
},
|
|
{
|
|
"desc": "Finder",
|
|
"noremap": true,
|
|
"lhs": "<Space>lf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga finder<CR>"
|
|
},
|
|
{
|
|
"desc": "Peek Definition",
|
|
"noremap": true,
|
|
"lhs": "<Space>ld",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga peek_definition<CR>"
|
|
},
|
|
{
|
|
"desc": "Code Action",
|
|
"noremap": true,
|
|
"lhs": "<Space>la",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga code_action<CR>"
|
|
},
|
|
{
|
|
"desc": "Goto Type Definition",
|
|
"noremap": true,
|
|
"lhs": "<Space>lT",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga goto_type_definition<CR>"
|
|
},
|
|
{
|
|
"desc": "Workspace Symbols",
|
|
"noremap": true,
|
|
"lhs": "<Space>lS",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope lsp_dynamic_workspace_symbols<CR>"
|
|
},
|
|
{
|
|
"desc": "Replace",
|
|
"noremap": true,
|
|
"lhs": "<Space>lR",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga project_replace<CR>"
|
|
},
|
|
{
|
|
"desc": "Restart LSP",
|
|
"noremap": true,
|
|
"lhs": "<Space>lQ",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>LspRestart<CR>"
|
|
},
|
|
{
|
|
"desc": "Outgoing Calls",
|
|
"noremap": true,
|
|
"lhs": "<Space>lP",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope lsp_outgoing_calls<CR>"
|
|
},
|
|
{
|
|
"desc": "Workspace Diagnostics",
|
|
"noremap": true,
|
|
"lhs": "<Space>lL",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga show_workspace_diagnostics<CR>"
|
|
},
|
|
{
|
|
"desc": "References",
|
|
"noremap": true,
|
|
"lhs": "<Space>lF",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope lsp_references layout_strategy=vertical<CR>"
|
|
},
|
|
{
|
|
"desc": "Toggle keys",
|
|
"noremap": true,
|
|
"lhs": "<Space>kt",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Screenkey<CR>"
|
|
},
|
|
{
|
|
"desc": "Current Word",
|
|
"noremap": true,
|
|
"lhs": "<Space>jw",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"flash\").jump({ pattern = vim.fn.expand(\"<lt>cword>\")})<CR>"
|
|
},
|
|
{
|
|
"desc": "Remote Treesitter",
|
|
"noremap": true,
|
|
"lhs": "<Space>jt",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').treesitter_search()<CR>"
|
|
},
|
|
{
|
|
"desc": "Search",
|
|
"noremap": true,
|
|
"lhs": "<Space>js",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').jump()<CR>"
|
|
},
|
|
{
|
|
"desc": "Previous Jump",
|
|
"noremap": true,
|
|
"lhs": "<Space>jp",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').jump({continue = true})<CR>"
|
|
},
|
|
{
|
|
"desc": "Search Forward",
|
|
"noremap": true,
|
|
"lhs": "<Space>jn",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').jump({search = { forward = true, wrap = false, multi_window = false },})<CR>"
|
|
},
|
|
{
|
|
"desc": "Forward",
|
|
"noremap": true,
|
|
"lhs": "<Space>jl",
|
|
"mode": "n",
|
|
"rhs": "<Tab>"
|
|
},
|
|
{
|
|
"desc": "Treesitter",
|
|
"noremap": true,
|
|
"lhs": "<Space>jk",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').treesitter()<CR>"
|
|
},
|
|
{
|
|
"desc": "Remote",
|
|
"noremap": true,
|
|
"lhs": "<Space>jj",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').remote()<CR>"
|
|
},
|
|
{
|
|
"desc": "Backward",
|
|
"noremap": true,
|
|
"lhs": "<Space>jh",
|
|
"mode": "n",
|
|
"rhs": "<C-O>"
|
|
},
|
|
{
|
|
"desc": "Jumplist",
|
|
"noremap": true,
|
|
"lhs": "<Space>jf",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope jumplist<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostics",
|
|
"noremap": true,
|
|
"lhs": "<Space>jd",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>FlashDiagnostics<CR>"
|
|
},
|
|
{
|
|
"desc": "Word",
|
|
"noremap": true,
|
|
"lhs": "<Space>jc",
|
|
"mode": "n",
|
|
"rhs": "*"
|
|
},
|
|
{
|
|
"desc": "Search Backward",
|
|
"noremap": true,
|
|
"lhs": "<Space>jN",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require('flash').jump({search = { forward = false, wrap = false, multi_window = false },})<CR>"
|
|
},
|
|
{
|
|
"desc": "Time",
|
|
"noremap": true,
|
|
"lhs": "<Space>it",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>put =strftime('## %r')<CR>"
|
|
},
|
|
{
|
|
"desc": "Registers",
|
|
"noremap": true,
|
|
"lhs": "<Space>ir",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope registers<CR>"
|
|
},
|
|
{
|
|
"desc": "Relative Path",
|
|
"noremap": true,
|
|
"lhs": "<Space>ip",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>put %<CR>"
|
|
},
|
|
{
|
|
"desc": "Nerd Glyphs",
|
|
"noremap": true,
|
|
"lhs": "<Space>in",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Nerdy<CR>"
|
|
},
|
|
{
|
|
"desc": "File Name",
|
|
"noremap": true,
|
|
"lhs": "<Space>if",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>put =expand('%:t')<CR>"
|
|
},
|
|
{
|
|
"desc": "Emojis",
|
|
"noremap": true,
|
|
"lhs": "<Space>ie",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope symbols<CR>"
|
|
},
|
|
{
|
|
"desc": "Date",
|
|
"noremap": true,
|
|
"lhs": "<Space>id",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>put =strftime('## %a, %d %b, %Y, %r')<CR>"
|
|
},
|
|
{
|
|
"desc": "Absolute Path",
|
|
"noremap": true,
|
|
"lhs": "<Space>iP",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>put %:p<CR>"
|
|
},
|
|
{
|
|
"desc": "Man Pages",
|
|
"noremap": true,
|
|
"lhs": "<Space>hm",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope man_pages<CR>"
|
|
},
|
|
{
|
|
"desc": "Hover Doc",
|
|
"noremap": true,
|
|
"lhs": "<Space>hk",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga hover_doc<CR>"
|
|
},
|
|
{
|
|
"desc": "Inspect Position",
|
|
"noremap": true,
|
|
"lhs": "<Space>hi",
|
|
"mode": "n",
|
|
"rhs": "vim.show_pos"
|
|
},
|
|
{
|
|
"desc": "Help Pages",
|
|
"noremap": true,
|
|
"lhs": "<Space>hh",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope help_tags<CR>"
|
|
},
|
|
{
|
|
"desc": "Fuzzy Find in File",
|
|
"noremap": true,
|
|
"lhs": "<Space>fs",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope current_buffer_fuzzy_find<CR>"
|
|
},
|
|
{
|
|
"desc": "Quickfix",
|
|
"noremap": true,
|
|
"lhs": "<Space>fq",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope quickfix<CR>"
|
|
},
|
|
{
|
|
"desc": "Undo History",
|
|
"noremap": true,
|
|
"lhs": "<Space>fu",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope undo<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostics",
|
|
"noremap": true,
|
|
"lhs": "<Space>fd",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope diagnostics<CR>"
|
|
},
|
|
{
|
|
"desc": "Search History",
|
|
"noremap": true,
|
|
"lhs": "<Space>ks",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope search_history<CR>"
|
|
},
|
|
{
|
|
"desc": "Command History",
|
|
"noremap": true,
|
|
"lhs": "<Space>kh",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope command_history<CR>"
|
|
},
|
|
{
|
|
"desc": "Commands",
|
|
"noremap": true,
|
|
"lhs": "<Space>kc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope commands<CR>"
|
|
},
|
|
{
|
|
"desc": "Keymaps",
|
|
"noremap": true,
|
|
"lhs": "<Space>kk",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope keymaps<CR>"
|
|
},
|
|
{
|
|
"desc": "Grep String",
|
|
"noremap": true,
|
|
"lhs": "<Space>fG",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope grep_string<CR>"
|
|
},
|
|
{
|
|
"desc": "Find Highlight Groups",
|
|
"noremap": true,
|
|
"lhs": "<Space>fH",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope highlights<CR>"
|
|
},
|
|
{
|
|
"desc": "Marks",
|
|
"noremap": true,
|
|
"lhs": "<Space>fm",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope marks<CR>"
|
|
},
|
|
{
|
|
"desc": "Old Recent Files",
|
|
"noremap": true,
|
|
"lhs": "<Space>fo",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope oldfiles<CR>"
|
|
},
|
|
{
|
|
"desc": "Find Help",
|
|
"noremap": true,
|
|
"lhs": "<Space>fh",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope help_tags<CR>"
|
|
},
|
|
{
|
|
"desc": "Buffers",
|
|
"noremap": true,
|
|
"lhs": "<Space>fb",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope buffers<CR>"
|
|
},
|
|
{
|
|
"desc": "Live Grep",
|
|
"noremap": true,
|
|
"lhs": "<Space>fg",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope live_grep<CR>"
|
|
},
|
|
{
|
|
"desc": "Find Files (CWD)",
|
|
"noremap": true,
|
|
"lhs": "<Space>ff",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope find_files<CR>"
|
|
},
|
|
{
|
|
"desc": "New File",
|
|
"noremap": true,
|
|
"lhs": "<Space>en",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>new<CR>"
|
|
},
|
|
{
|
|
"desc": "Readme",
|
|
"noremap": true,
|
|
"lhs": "<Space>em",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>e README.md<CR>"
|
|
},
|
|
{
|
|
"desc": "File Browser",
|
|
"noremap": true,
|
|
"lhs": "<Space>ef",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope file_browser<CR>"
|
|
},
|
|
{
|
|
"desc": "Left File Explorer",
|
|
"noremap": true,
|
|
"lhs": "<Space>eE",
|
|
"mode": "n",
|
|
"rhs": ":Neotree toggle left<CR>"
|
|
},
|
|
{
|
|
"desc": "Float File Explorer",
|
|
"noremap": true,
|
|
"lhs": "<Space>ee",
|
|
"mode": "n",
|
|
"rhs": ":Neotree toggle float<CR>"
|
|
},
|
|
{
|
|
"desc": "Config Dir",
|
|
"noremap": true,
|
|
"lhs": "<Space>ed",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"telescope.builtin\").find_files({cwd = vim.fn.stdpath(\"config\")})<CR>"
|
|
},
|
|
{
|
|
"desc": "Config",
|
|
"noremap": true,
|
|
"lhs": "<Space>ec",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>e $MYVIMRC<CR>"
|
|
},
|
|
{
|
|
"desc": "Alternate File",
|
|
"noremap": true,
|
|
"lhs": "<Space>ea",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>b#<CR>"
|
|
},
|
|
{
|
|
"desc": "DB Last query",
|
|
"noremap": true,
|
|
"lhs": "<Space>dl",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DBUILastQueryInfo<CR>"
|
|
},
|
|
{
|
|
"desc": "DB Rename buffer",
|
|
"noremap": true,
|
|
"lhs": "<Space>dr",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DBUIRenameBuffer<CR>"
|
|
},
|
|
{
|
|
"desc": "DB Find buffer",
|
|
"noremap": true,
|
|
"lhs": "<Space>db",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DBUIFindBuffer<CR>"
|
|
},
|
|
{
|
|
"desc": "Toggle DB UI",
|
|
"noremap": true,
|
|
"lhs": "<Space>du",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DBUIToggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Delete Comment Style",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cd",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CBd<CR>"
|
|
},
|
|
{
|
|
"desc": "Catalog",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CBcatalog<CR>"
|
|
},
|
|
{
|
|
"desc": "Marked",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cm",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CBllbox14<CR>"
|
|
},
|
|
{
|
|
"desc": "Line",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cl",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CBline<CR>"
|
|
},
|
|
{
|
|
"desc": "Tiled line",
|
|
"noremap": true,
|
|
"lhs": "<Space>Ct",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CBllline<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment Box",
|
|
"noremap": true,
|
|
"lhs": "<Space>Cb",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CBccbox<CR>"
|
|
},
|
|
{
|
|
"desc": "Reload Module",
|
|
"noremap": true,
|
|
"lhs": "<Space>cr",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope reloader<CR>"
|
|
},
|
|
{
|
|
"desc": "Pick Color",
|
|
"noremap": true,
|
|
"lhs": "<Space>cp",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CccPick<CR>"
|
|
},
|
|
{
|
|
"desc": "Dashboard",
|
|
"noremap": true,
|
|
"lhs": "<Space>co",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Dashboard<CR>"
|
|
},
|
|
{
|
|
"desc": "Notifications",
|
|
"noremap": true,
|
|
"lhs": "<Space>cn",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope notify<CR>"
|
|
},
|
|
{
|
|
"desc": "Markdown Preview",
|
|
"noremap": true,
|
|
"lhs": "<Space>cm",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>MarkdownPreviewToggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Clean Empty Lines",
|
|
"noremap": true,
|
|
"lhs": "<Space>cl",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>:g/^\\s*$/d<CR>"
|
|
},
|
|
{
|
|
"desc": "Hardtime",
|
|
"noremap": true,
|
|
"lhs": "<Space>ch",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Hardtime toggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Root Directory",
|
|
"noremap": true,
|
|
"lhs": "<Space>cd",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>RootDir<CR>"
|
|
},
|
|
{
|
|
"desc": "Highlight Colors",
|
|
"noremap": true,
|
|
"lhs": "<Space>cc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CccHighlighterToggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Reload Configs",
|
|
"noremap": true,
|
|
"lhs": "<Space>cR",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>ReloadConfig<CR>"
|
|
},
|
|
{
|
|
"desc": "Convert Color",
|
|
"noremap": true,
|
|
"lhs": "<Space>cP",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>CccConvert<CR>"
|
|
},
|
|
{
|
|
"desc": "Fix Tabs",
|
|
"noremap": true,
|
|
"lhs": "<Space>cF",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>retab<CR>"
|
|
},
|
|
{
|
|
"desc": "Toggle Alternate",
|
|
"noremap": true,
|
|
"lhs": "<Space>a",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Alternate<CR>"
|
|
},
|
|
{
|
|
"desc": "Exit",
|
|
"noremap": true,
|
|
"lhs": "<Space>bx",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapTerminate<CR>"
|
|
},
|
|
{
|
|
"desc": "Debugger",
|
|
"noremap": true,
|
|
"lhs": "<Space>bt",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapUIToggle<CR>"
|
|
},
|
|
{
|
|
"desc": "Repl",
|
|
"noremap": true,
|
|
"lhs": "<Space>br",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapToggleRepl<CR>"
|
|
},
|
|
{
|
|
"desc": "Over",
|
|
"noremap": true,
|
|
"lhs": "<Space>bo",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapStepOver<CR>"
|
|
},
|
|
{
|
|
"desc": "Last",
|
|
"noremap": true,
|
|
"lhs": "<Space>bl",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require'dap'.run_last()<CR>"
|
|
},
|
|
{
|
|
"desc": "Into",
|
|
"noremap": true,
|
|
"lhs": "<Space>bi",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapStepInto<CR>"
|
|
},
|
|
{
|
|
"desc": "Continue",
|
|
"noremap": true,
|
|
"lhs": "<Space>bc",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapContinue<CR>"
|
|
},
|
|
{
|
|
"desc": "Breakpoint",
|
|
"noremap": true,
|
|
"lhs": "<Space>bb",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapToggleBreakpoint<CR>"
|
|
},
|
|
{
|
|
"desc": "Restart Frame",
|
|
"noremap": true,
|
|
"lhs": "<Space>bR",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapRestartFrame<CR>"
|
|
},
|
|
{
|
|
"desc": "Out",
|
|
"noremap": true,
|
|
"lhs": "<Space>bO",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>DapStepOut<CR>"
|
|
},
|
|
{
|
|
"desc": "Dismiss All Notifications",
|
|
"noremap": true,
|
|
"lhs": "<Space>mn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<Space>mt",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua require(\"onedark\").toggle()<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "<Space>/",
|
|
"mode": "v",
|
|
"rhs": "gcc"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "<Space>/",
|
|
"mode": "n",
|
|
"rhs": "gcc"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<Space>",
|
|
"mode": "n",
|
|
"rhs": "<Nop>"
|
|
},
|
|
{
|
|
"desc": ":help v_#-default",
|
|
"noremap": true,
|
|
"lhs": "#",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "%",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(MatchitVisualForward)"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "%",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(MatchitNormalForward)"
|
|
},
|
|
{
|
|
"desc": ":help &-default",
|
|
"noremap": true,
|
|
"lhs": "&",
|
|
"mode": "n",
|
|
"rhs": ":&&<CR>"
|
|
},
|
|
{
|
|
"desc": ":help v_star-default",
|
|
"noremap": true,
|
|
"lhs": "*",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{ "desc": "", "noremap": true, "lhs": "-", "mode": "x", "rhs": "<C-X>" },
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "-",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Highlight and snapshot selected code into clipboard",
|
|
"noremap": true,
|
|
"lhs": "<leaderp>h",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>CodeSnapHighlight<CR>"
|
|
},
|
|
{ "desc": "", "noremap": true, "lhs": "<", "mode": "v", "rhs": "<lt>gv" },
|
|
{ "desc": "", "noremap": true, "lhs": "=", "mode": "x", "rhs": "<C-A>" },
|
|
{ "desc": "", "noremap": true, "lhs": "=", "mode": "n", "rhs": "<C-A>" },
|
|
{ "desc": "", "noremap": true, "lhs": ">", "mode": "v", "rhs": ">gv" },
|
|
{
|
|
"desc": ":help v_@-default",
|
|
"noremap": true,
|
|
"lhs": "@",
|
|
"mode": "x",
|
|
"rhs": "mode() ==# 'V' ? ':normal! @'.getcharstr().'<CR>' : '@'"
|
|
},
|
|
{
|
|
"desc": "Previous Buffer",
|
|
"noremap": true,
|
|
"lhs": "H",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bprevious<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "J",
|
|
"mode": "x",
|
|
"rhs": ":move '>+1<CR>gv-gv"
|
|
},
|
|
{ "desc": "", "noremap": true, "lhs": "J", "mode": "n", "rhs": "mzJ`z" },
|
|
{
|
|
"desc": "LSP Hover",
|
|
"noremap": true,
|
|
"lhs": "K",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga hover_doc<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "K",
|
|
"mode": "x",
|
|
"rhs": ":move '<lt>-2<CR>gv-gv"
|
|
},
|
|
{
|
|
"desc": "Next Buffer",
|
|
"noremap": true,
|
|
"lhs": "L",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bnext<CR>"
|
|
},
|
|
{
|
|
"desc": "Prev search result",
|
|
"noremap": true,
|
|
"lhs": "N",
|
|
"mode": "x",
|
|
"rhs": "'nN'[v:searchforward]"
|
|
},
|
|
{
|
|
"desc": "Prev search result",
|
|
"noremap": true,
|
|
"lhs": "N",
|
|
"mode": "n",
|
|
"rhs": "'nN'[v:searchforward]"
|
|
},
|
|
{
|
|
"desc": "Put yanked text before cursor",
|
|
"noremap": true,
|
|
"lhs": "P",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(YankyPutBefore)"
|
|
},
|
|
{
|
|
"desc": "Put yanked text before cursor",
|
|
"noremap": true,
|
|
"lhs": "P",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyPutBefore)"
|
|
},
|
|
{
|
|
"desc": "Force Quit!",
|
|
"noremap": true,
|
|
"lhs": "Q",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>qall!<CR>"
|
|
},
|
|
{
|
|
"desc": ":help v_Q-default",
|
|
"noremap": true,
|
|
"lhs": "Q",
|
|
"mode": "x",
|
|
"rhs": "mode() ==# 'V' ? ':normal! @<C-R>=reg_recorded()<CR><CR>' : 'Q'"
|
|
},
|
|
{
|
|
"desc": "Flash Treesitter",
|
|
"noremap": true,
|
|
"lhs": "S",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Flash Treesitter",
|
|
"noremap": true,
|
|
"lhs": "S",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Redo",
|
|
"noremap": true,
|
|
"lhs": "U",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>redo<CR>"
|
|
},
|
|
{
|
|
"desc": ":help Y-default",
|
|
"noremap": true,
|
|
"lhs": "Y",
|
|
"mode": "n",
|
|
"rhs": "y$"
|
|
},
|
|
{
|
|
"desc": "Git Hunk",
|
|
"noremap": true,
|
|
"lhs": "[g",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Gitsigns prev_hunk<CR>"
|
|
},
|
|
{ "desc": "Edit", "noremap": true, "lhs": "[e", "mode": "n", "rhs": "g;" },
|
|
{
|
|
"desc": "Undo backward",
|
|
"noremap": true,
|
|
"lhs": "[u",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.undo('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Undo first",
|
|
"noremap": true,
|
|
"lhs": "[U",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.undo('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter backward",
|
|
"noremap": true,
|
|
"lhs": "[n",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter backward",
|
|
"noremap": true,
|
|
"lhs": "[n",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter first",
|
|
"noremap": true,
|
|
"lhs": "[N",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter first",
|
|
"noremap": true,
|
|
"lhs": "[N",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Location backward",
|
|
"noremap": true,
|
|
"lhs": "[l",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.location('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Location first",
|
|
"noremap": true,
|
|
"lhs": "[L",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.location('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Oldfile backward",
|
|
"noremap": true,
|
|
"lhs": "[o",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.oldfile('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Oldfile first",
|
|
"noremap": true,
|
|
"lhs": "[O",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.oldfile('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Jump",
|
|
"noremap": true,
|
|
"lhs": "[j",
|
|
"mode": "n",
|
|
"rhs": "<C-O>"
|
|
},
|
|
{
|
|
"desc": "Jump first",
|
|
"noremap": true,
|
|
"lhs": "[J",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.jump('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent backward",
|
|
"noremap": true,
|
|
"lhs": "[i",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent backward",
|
|
"noremap": true,
|
|
"lhs": "[i",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent first",
|
|
"noremap": true,
|
|
"lhs": "[I",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent first",
|
|
"noremap": true,
|
|
"lhs": "[I",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostic backward",
|
|
"noremap": true,
|
|
"lhs": "[d",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.diagnostic('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostic first",
|
|
"noremap": true,
|
|
"lhs": "[D",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.diagnostic('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostic first",
|
|
"noremap": true,
|
|
"lhs": "[D",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.diagnostic('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict backward",
|
|
"noremap": true,
|
|
"lhs": "[x",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict backward",
|
|
"noremap": true,
|
|
"lhs": "[x",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict first",
|
|
"noremap": true,
|
|
"lhs": "[X",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict first",
|
|
"noremap": true,
|
|
"lhs": "[X",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment backward",
|
|
"noremap": true,
|
|
"lhs": "[c",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment backward",
|
|
"noremap": true,
|
|
"lhs": "[c",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('backward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment first",
|
|
"noremap": true,
|
|
"lhs": "[C",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment first",
|
|
"noremap": true,
|
|
"lhs": "[C",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('first')<CR>"
|
|
},
|
|
{
|
|
"desc": "Buffer",
|
|
"noremap": true,
|
|
"lhs": "[b",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bprevious<CR>"
|
|
},
|
|
{
|
|
"desc": "First Buffer",
|
|
"noremap": true,
|
|
"lhs": "[B",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bfirst<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "[%",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(MatchitVisualMultiBackward)"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "[%",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(MatchitNormalMultiBackward)"
|
|
},
|
|
{
|
|
"desc": "Diagnostic",
|
|
"noremap": true,
|
|
"lhs": "[d",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga diagnostic_jump_prev<CR>"
|
|
},
|
|
{
|
|
"desc": "Git Hunk",
|
|
"noremap": true,
|
|
"lhs": "]g",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Gitsigns next_hunk<CR>"
|
|
},
|
|
{ "desc": "Edit", "noremap": true, "lhs": "]e", "mode": "n", "rhs": "g," },
|
|
{
|
|
"desc": "Undo forward",
|
|
"noremap": true,
|
|
"lhs": "]u",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.undo('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Undo last",
|
|
"noremap": true,
|
|
"lhs": "]U",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.undo('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter forward",
|
|
"noremap": true,
|
|
"lhs": "]n",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter forward",
|
|
"noremap": true,
|
|
"lhs": "]n",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter last",
|
|
"noremap": true,
|
|
"lhs": "]N",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Treesitter last",
|
|
"noremap": true,
|
|
"lhs": "]N",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.treesitter('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Location forward",
|
|
"noremap": true,
|
|
"lhs": "]l",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.location('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Location last",
|
|
"noremap": true,
|
|
"lhs": "]L",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.location('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Oldfile forward",
|
|
"noremap": true,
|
|
"lhs": "]o",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.oldfile('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Oldfile last",
|
|
"noremap": true,
|
|
"lhs": "]O",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.oldfile('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Jump",
|
|
"noremap": true,
|
|
"lhs": "]j",
|
|
"mode": "n",
|
|
"rhs": "<Tab>"
|
|
},
|
|
{
|
|
"desc": "Jump last",
|
|
"noremap": true,
|
|
"lhs": "]J",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.jump('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent forward",
|
|
"noremap": true,
|
|
"lhs": "]i",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent forward",
|
|
"noremap": true,
|
|
"lhs": "]i",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent last",
|
|
"noremap": true,
|
|
"lhs": "]I",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Indent last",
|
|
"noremap": true,
|
|
"lhs": "]I",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.indent('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostic forward",
|
|
"noremap": true,
|
|
"lhs": "]d",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.diagnostic('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostic last",
|
|
"noremap": true,
|
|
"lhs": "]D",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.diagnostic('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Diagnostic last",
|
|
"noremap": true,
|
|
"lhs": "]D",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.diagnostic('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict forward",
|
|
"noremap": true,
|
|
"lhs": "]x",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict forward",
|
|
"noremap": true,
|
|
"lhs": "]x",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict last",
|
|
"noremap": true,
|
|
"lhs": "]X",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Conflict last",
|
|
"noremap": true,
|
|
"lhs": "]X",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.conflict('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment forward",
|
|
"noremap": true,
|
|
"lhs": "]c",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment forward",
|
|
"noremap": true,
|
|
"lhs": "]c",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('forward')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment last",
|
|
"noremap": true,
|
|
"lhs": "]C",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Comment last",
|
|
"noremap": true,
|
|
"lhs": "]C",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniBracketed.comment('last')<CR>"
|
|
},
|
|
{
|
|
"desc": "Buffer",
|
|
"noremap": true,
|
|
"lhs": "]b",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bnext<CR>"
|
|
},
|
|
{
|
|
"desc": "Buffer",
|
|
"noremap": true,
|
|
"lhs": "]B",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>blast<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "]%",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(MatchitVisualMultiForward)"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "]%",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(MatchitNormalMultiForward)"
|
|
},
|
|
{
|
|
"desc": "Diagnostic",
|
|
"noremap": true,
|
|
"lhs": "]d",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Lspsaga diagnostic_jump_next<CR>"
|
|
},
|
|
{
|
|
"desc": "Around last textobject",
|
|
"noremap": false,
|
|
"lhs": "al",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Around next textobject",
|
|
"noremap": false,
|
|
"lhs": "an",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Around textobject",
|
|
"noremap": false,
|
|
"lhs": "a",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "a%",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(MatchitVisualTextObject)"
|
|
},
|
|
{
|
|
"desc": "Change without replacing clipboard",
|
|
"noremap": true,
|
|
"lhs": "c",
|
|
"mode": "n",
|
|
"rhs": "\"_c"
|
|
},
|
|
{
|
|
"desc": "Delete without replacing clipboard",
|
|
"noremap": true,
|
|
"lhs": "d",
|
|
"mode": "n",
|
|
"rhs": "\"_d"
|
|
},
|
|
{
|
|
"desc": "Put yanked text before selection",
|
|
"noremap": true,
|
|
"lhs": "gP",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(YankyGPutBefore)"
|
|
},
|
|
{
|
|
"desc": "Put yanked text before selection",
|
|
"noremap": true,
|
|
"lhs": "gP",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyGPutBefore)"
|
|
},
|
|
{
|
|
"desc": "Put yanked text after selection",
|
|
"noremap": true,
|
|
"lhs": "gp",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(YankyGPutAfter)"
|
|
},
|
|
{
|
|
"desc": "Put yanked text after selection",
|
|
"noremap": true,
|
|
"lhs": "gp",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyGPutAfter)"
|
|
},
|
|
{
|
|
"desc": "Highlight next surrounding",
|
|
"noremap": true,
|
|
"lhs": "gshn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Find next left surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsFn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Find next right surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsfn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Replace next surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsrn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Delete next surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsdn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Highlight previous surrounding",
|
|
"noremap": true,
|
|
"lhs": "gshl",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Find previous left surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsFl",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Find previous right surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsfl",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Replace previous surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsrl",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Delete previous surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsdl",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Add surrounding to selection",
|
|
"noremap": true,
|
|
"lhs": "gsa",
|
|
"mode": "x",
|
|
"rhs": ":<C-U>lua MiniSurround.add('visual')<CR>"
|
|
},
|
|
{
|
|
"desc": "Update `MiniSurround.config.n_lines`",
|
|
"noremap": true,
|
|
"lhs": "gsn",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Highlight surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsh",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Find left surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsF",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Find right surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsf",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Replace surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsr",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Delete surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsd",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Add surrounding",
|
|
"noremap": true,
|
|
"lhs": "gsa",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Move to right \"around\"",
|
|
"noremap": false,
|
|
"lhs": "g]",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Move to right \"around\"",
|
|
"noremap": false,
|
|
"lhs": "g]",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Move to left \"around\"",
|
|
"noremap": false,
|
|
"lhs": "g[",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Move to left \"around\"",
|
|
"noremap": false,
|
|
"lhs": "g[",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "g%",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(MatchitVisualBackward)"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": false,
|
|
"lhs": "g%",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(MatchitNormalBackward)"
|
|
},
|
|
{
|
|
"desc": "Beginning of line",
|
|
"noremap": true,
|
|
"lhs": "gh",
|
|
"mode": "x",
|
|
"rhs": "^"
|
|
},
|
|
{
|
|
"desc": "Beginning of line",
|
|
"noremap": true,
|
|
"lhs": "gh",
|
|
"mode": "n",
|
|
"rhs": "^"
|
|
},
|
|
{
|
|
"desc": "End of line",
|
|
"noremap": true,
|
|
"lhs": "gl",
|
|
"mode": "x",
|
|
"rhs": "$"
|
|
},
|
|
{
|
|
"desc": "End of line",
|
|
"noremap": true,
|
|
"lhs": "gl",
|
|
"mode": "n",
|
|
"rhs": "$"
|
|
},
|
|
{
|
|
"desc": "Comment line",
|
|
"noremap": true,
|
|
"lhs": "gcc",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Comment selection",
|
|
"noremap": true,
|
|
"lhs": "gc",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Comment",
|
|
"noremap": true,
|
|
"lhs": "gc",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)",
|
|
"noremap": true,
|
|
"lhs": "gx",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)",
|
|
"noremap": true,
|
|
"lhs": "gx",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Inside last textobject",
|
|
"noremap": false,
|
|
"lhs": "il",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Inside next textobject",
|
|
"noremap": false,
|
|
"lhs": "in",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Inside textobject",
|
|
"noremap": false,
|
|
"lhs": "i",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "j",
|
|
"mode": "n",
|
|
"rhs": "v:count == 0 ? 'gj' : 'j'"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "k",
|
|
"mode": "n",
|
|
"rhs": "v:count == 0 ? 'gk' : 'k'"
|
|
},
|
|
{
|
|
"desc": "Next search result",
|
|
"noremap": true,
|
|
"lhs": "n",
|
|
"mode": "x",
|
|
"rhs": "'Nn'[v:searchforward]"
|
|
},
|
|
{
|
|
"desc": "Next search result",
|
|
"noremap": true,
|
|
"lhs": "n",
|
|
"mode": "n",
|
|
"rhs": "'Nn'[v:searchforward]"
|
|
},
|
|
{
|
|
"desc": "Put yanked text after cursor",
|
|
"noremap": true,
|
|
"lhs": "p",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(YankyPutAfter)"
|
|
},
|
|
{
|
|
"desc": "Put yanked text after cursor",
|
|
"noremap": true,
|
|
"lhs": "p",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyPutAfter)"
|
|
},
|
|
{
|
|
"desc": "Flash",
|
|
"noremap": true,
|
|
"lhs": "s",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Flash",
|
|
"noremap": true,
|
|
"lhs": "s",
|
|
"mode": "x",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "u",
|
|
"mode": "n",
|
|
"rhs": "u<Cmd>lua MiniBracketed.register_undo_state()<CR>"
|
|
},
|
|
{
|
|
"desc": "Cut without replacing clipboard",
|
|
"noremap": true,
|
|
"lhs": "x",
|
|
"mode": "n",
|
|
"rhs": "\"_x"
|
|
},
|
|
{ "desc": "", "noremap": true, "lhs": "x", "mode": "x", "rhs": "\"_x" },
|
|
{
|
|
"desc": "Yank text",
|
|
"noremap": true,
|
|
"lhs": "y",
|
|
"mode": "x",
|
|
"rhs": "<Plug>(YankyYank)"
|
|
},
|
|
{
|
|
"desc": "Yank text",
|
|
"noremap": true,
|
|
"lhs": "y",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyYank)"
|
|
},
|
|
{
|
|
"desc": "Multi Edit Next",
|
|
"noremap": true,
|
|
"lhs": "<M-d>",
|
|
"mode": "n",
|
|
"rhs": ":call vm#commands#ctrln(v:count1)<CR>"
|
|
},
|
|
{
|
|
"desc": "Add Cursor Down",
|
|
"noremap": true,
|
|
"lhs": "<M-K>",
|
|
"mode": "n",
|
|
"rhs": ":call vm#commands#add_cursor_up(0, v:count1)<CR>"
|
|
},
|
|
{
|
|
"desc": "Add Cursor Down",
|
|
"noremap": true,
|
|
"lhs": "<M-J>",
|
|
"mode": "n",
|
|
"rhs": ":call vm#commands#add_cursor_down(0, v:count1)<CR>"
|
|
},
|
|
{
|
|
"desc": "Add Cursor Up",
|
|
"noremap": true,
|
|
"lhs": "<C-S-Up>",
|
|
"mode": "n",
|
|
"rhs": ":call vm#commands#add_cursor_up(0, v:count1)<CR>"
|
|
},
|
|
{
|
|
"desc": "Add Cursor Down",
|
|
"noremap": true,
|
|
"lhs": "<C-S-Down>",
|
|
"mode": "n",
|
|
"rhs": ":call vm#commands#add_cursor_down(0, v:count1)<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<C-P>",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyCycleBackward)"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<C-N>",
|
|
"mode": "n",
|
|
"rhs": "<Plug>(YankyCycleForward)"
|
|
},
|
|
{
|
|
"desc": "Previous Buffer",
|
|
"noremap": true,
|
|
"lhs": "<S-Tab>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>bprevious<CR>"
|
|
},
|
|
{
|
|
"desc": "Previous Pane",
|
|
"noremap": true,
|
|
"lhs": "<C-Bslash>",
|
|
"mode": "n",
|
|
"rhs": "<C-W>p"
|
|
},
|
|
{
|
|
"desc": "Move Up",
|
|
"noremap": true,
|
|
"lhs": "<C-K>",
|
|
"mode": "n",
|
|
"rhs": "<C-W>k"
|
|
},
|
|
{
|
|
"desc": "Move Down",
|
|
"noremap": true,
|
|
"lhs": "<C-J>",
|
|
"mode": "n",
|
|
"rhs": "<C-W>j"
|
|
},
|
|
{
|
|
"desc": "Move Left",
|
|
"noremap": true,
|
|
"lhs": "<C-H>",
|
|
"mode": "n",
|
|
"rhs": "<C-W>h"
|
|
},
|
|
{
|
|
"desc": "Lazygit",
|
|
"noremap": true,
|
|
"lhs": "<C-G>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Fterm lazygit<CR>"
|
|
},
|
|
{
|
|
"desc": "Find Files",
|
|
"noremap": true,
|
|
"lhs": "<C-F>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>Telescope find_files<CR>"
|
|
},
|
|
{
|
|
"desc": "Increase window height",
|
|
"noremap": true,
|
|
"lhs": "<C-Up>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>resize +10which_key.add(no_leader_mappings)<CR>"
|
|
},
|
|
{
|
|
"desc": "Increase window width",
|
|
"noremap": true,
|
|
"lhs": "<C-Right>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vertical resize +10<CR>"
|
|
},
|
|
{
|
|
"desc": "Decrease window width",
|
|
"noremap": true,
|
|
"lhs": "<C-Left>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>vertical resize -10<CR>"
|
|
},
|
|
{
|
|
"desc": "Decrease window height",
|
|
"noremap": true,
|
|
"lhs": "<C-Down>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>resize -10<CR>"
|
|
},
|
|
{
|
|
"desc": "Move line up",
|
|
"noremap": true,
|
|
"lhs": "<M-Up>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniMove.move_line('up')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move line down",
|
|
"noremap": true,
|
|
"lhs": "<M-Down>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniMove.move_line('down')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move line right",
|
|
"noremap": true,
|
|
"lhs": "<M-Right>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniMove.move_line('right')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move line left",
|
|
"noremap": true,
|
|
"lhs": "<M-Left>",
|
|
"mode": "n",
|
|
"rhs": "<Cmd>lua MiniMove.move_line('left')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move up",
|
|
"noremap": true,
|
|
"lhs": "<M-Up>",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniMove.move_selection('up')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move down",
|
|
"noremap": true,
|
|
"lhs": "<M-Down>",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniMove.move_selection('down')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move right",
|
|
"noremap": true,
|
|
"lhs": "<M-Right>",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniMove.move_selection('right')<CR>"
|
|
},
|
|
{
|
|
"desc": "Move left",
|
|
"noremap": true,
|
|
"lhs": "<M-Left>",
|
|
"mode": "x",
|
|
"rhs": "<Cmd>lua MiniMove.move_selection('left')<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<C-R>",
|
|
"mode": "n",
|
|
"rhs": "<C-R><Cmd>lua MiniBracketed.register_undo_state()<CR>"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<C-U>",
|
|
"mode": "n",
|
|
"rhs": "<C-U>zz"
|
|
},
|
|
{
|
|
"desc": "",
|
|
"noremap": true,
|
|
"lhs": "<C-D>",
|
|
"mode": "n",
|
|
"rhs": "<C-D>zz"
|
|
},
|
|
{ "desc": "", "noremap": true, "lhs": "<C-A>", "mode": "n", "rhs": "ggVG" },
|
|
{
|
|
"desc": "Show diagnostics under the cursor",
|
|
"noremap": false,
|
|
"lhs": "<C-W><C-D>",
|
|
"mode": "n",
|
|
"rhs": "<C-W>d"
|
|
},
|
|
{
|
|
"desc": "Show diagnostics under the cursor",
|
|
"noremap": true,
|
|
"lhs": "<C-W>d",
|
|
"mode": "n",
|
|
"rhs": "<function>"
|
|
},
|
|
{
|
|
"desc": "Move Right",
|
|
"noremap": true,
|
|
"lhs": "<C-L>",
|
|
"mode": "n",
|
|
"rhs": "<C-W>l"
|
|
}
|
|
],
|
|
"plugins": [
|
|
"2kabhishek/nerdy.nvim",
|
|
"2kabhishek/termim.nvim",
|
|
"Exafunction/codeium.vim",
|
|
"HiPhish/rainbow-delimiters.nvim",
|
|
"L3MON4D3/LuaSnip",
|
|
"LudoPinelli/comment-box.nvim",
|
|
"LunarVim/bigfile.nvim",
|
|
"MunifTanjim/nui.nvim",
|
|
"NStefan002/screenkey.nvim",
|
|
"ThePrimeagen/refactoring.nvim",
|
|
"akinsho/toggleterm.nvim",
|
|
"altermo/ultimate-autopair.nvim",
|
|
"antosha417/nvim-lsp-file-operations",
|
|
"creativenull/dotfyle-metadata.nvim",
|
|
"debugloop/telescope-undo.nvim",
|
|
"echasnovski/mini.files",
|
|
"echasnovski/mini.icons",
|
|
"echasnovski/mini.nvim",
|
|
"folke/flash.nvim",
|
|
"folke/lazy.nvim",
|
|
"folke/noice.nvim",
|
|
"folke/persistence.nvim",
|
|
"folke/trouble.nvim",
|
|
"folke/twilight.nvim",
|
|
"folke/which-key.nvim",
|
|
"folke/zen-mode.nvim",
|
|
"gbprod/yanky.nvim",
|
|
"hrsh7th/cmp-buffer",
|
|
"hrsh7th/cmp-cmdline",
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
"hrsh7th/cmp-nvim-lsp-signature-help",
|
|
"hrsh7th/cmp-nvim-lua",
|
|
"hrsh7th/cmp-path",
|
|
"hrsh7th/nvim-cmp",
|
|
"iamcco/markdown-preview.nvim",
|
|
"kristijanhusak/vim-dadbod-completion",
|
|
"kristijanhusak/vim-dadbod-ui",
|
|
"lukas-reineke/indent-blankline.nvim",
|
|
"m-demare/hlargs.nvim",
|
|
"m4xshen/hardtime.nvim",
|
|
"max397574/better-escape.nvim",
|
|
"mfussenegger/nvim-dap",
|
|
"mfussenegger/nvim-lint",
|
|
"mg979/vim-visual-multi",
|
|
"michaelb/sniprun",
|
|
"mistricky/codesnap.nvim",
|
|
"mstuttgart/odoo-snippets",
|
|
"mvllow/modes.nvim",
|
|
"nacro90/numb.nvim",
|
|
"navarasu/onedark.nvim",
|
|
"neovim/nvim-lspconfig",
|
|
"numToStr/Navigator.nvim",
|
|
"nvim-lua/plenary.nvim",
|
|
"nvim-lualine/lualine.nvim",
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
"nvim-neotest/neotest",
|
|
"nvim-neotest/neotest-jest",
|
|
"nvim-neotest/neotest-python",
|
|
"nvim-neotest/nvim-nio",
|
|
"nvim-pack/nvim-spectre",
|
|
"nvim-telescope/telescope-file-browser.nvim",
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
"nvim-telescope/telescope-symbols.nvim",
|
|
"nvim-telescope/telescope-ui-select.nvim",
|
|
"nvim-telescope/telescope.nvim",
|
|
"nvim-treesitter/nvim-treesitter",
|
|
"nvim-treesitter/nvim-treesitter-context",
|
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
|
"nvimdev/dashboard-nvim",
|
|
"nvimdev/lspsaga.nvim",
|
|
"olimorris/neotest-rspec",
|
|
"onsails/lspkind.nvim",
|
|
"rafamadriz/friendly-snippets",
|
|
"rcarriga/nvim-dap-ui",
|
|
"rcarriga/nvim-notify",
|
|
"rshkarin/mason-nvim-lint",
|
|
"saadparwaiz1/cmp_luasnip",
|
|
"smjonas/inc-rename.nvim",
|
|
"stevearc/conform.nvim",
|
|
"stevearc/dressing.nvim",
|
|
"ton/vim-alternate",
|
|
"tpope/vim-dadbod",
|
|
"uga-rosa/ccc.nvim",
|
|
"wakatime/vim-wakatime",
|
|
"williamboman/mason-lspconfig.nvim",
|
|
"williamboman/mason.nvim",
|
|
"willothy/flatten.nvim",
|
|
"windwp/nvim-ts-autotag",
|
|
"zapling/mason-conform.nvim",
|
|
"zapling/mason-lock.nvim"
|
|
],
|
|
"pluginManager": "lazy.nvim",
|
|
"treesitterParsers": [
|
|
"bash",
|
|
"c",
|
|
"cpp",
|
|
"css",
|
|
"html",
|
|
"java",
|
|
"javascript",
|
|
"json",
|
|
"liquid",
|
|
"lua",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"python",
|
|
"scss",
|
|
"toml",
|
|
"tsx",
|
|
"typescript",
|
|
"vim",
|
|
"vimdoc"
|
|
],
|
|
"lspServers": [
|
|
"basedpyright",
|
|
"bashls",
|
|
"clangd",
|
|
"cssls",
|
|
"emmet_ls",
|
|
"jdtls",
|
|
"jsonls",
|
|
"lua_ls",
|
|
"pyright",
|
|
"ruff",
|
|
"tailwindcss",
|
|
"tsserver"
|
|
],
|
|
"leaderKey": "<Space>"
|
|
}
|
|
|