diff --git a/dotfyle.json b/dotfyle.json index f3b0035..c83ec2c 100644 --- a/dotfyle.json +++ b/dotfyle.json @@ -1 +1 @@ -{"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", "ruff", "shfmt", "stylua", "tailwindcss-language-server", "trivy", "typescript-language-server"], "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", "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", "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", "keymaps": [{"desc": "Escape and clear hlsearch", "noremap": true, "lhs": "", "mode": "n", "rhs": "noh"}, {"desc": "Toggle IA (Codeium)", "noremap": true, "lhs": "cI", "mode": "n", "rhs": "CodeiumToggle"}, {"desc": "Toggle auto-format on-save globally.", "noremap": true, "lhs": "cft", "mode": "n", "rhs": ""}, {"desc": "Toggle auto-format on-save for buffer.", "noremap": true, "lhs": "cfb", "mode": "n", "rhs": ""}, {"desc": "Format file or range (in visual mode)", "noremap": true, "lhs": "cff", "mode": "v", "rhs": ""}, {"desc": "Format file or range (in visual mode)", "noremap": true, "lhs": "cff", "mode": "n", "rhs": ""}, {"desc": "Trigger linting for current file", "noremap": true, "lhs": "cL", "mode": "n", "rhs": ""}, {"desc": "Left File Explorer", "noremap": true, "lhs": "", "mode": "n", "rhs": ":Neotree toggle left"}, {"desc": "Copy Git URL", "noremap": true, "lhs": "yg", "mode": "v", "rhs": "lua require\"gitlinker\".get_buf_range_url(\"v\")"}, {"desc": "Extract Variable", "noremap": true, "lhs": "rv", "mode": "v", "rhs": "lua require('refactoring').refactor('Extract Variable')"}, {"desc": "Refactor Commands", "noremap": true, "lhs": "rr", "mode": "v", "rhs": "lua require('telescope').extensions.refactoring.refactors()"}, {"desc": "Inline Variable", "noremap": true, "lhs": "ri", "mode": "v", "rhs": "lua require('refactoring').refactor('Inline Variable')"}, {"desc": "Extract To File", "noremap": true, "lhs": "rf", "mode": "v", "rhs": "lua require('refactoring').refactor('Extract Function To File')"}, {"desc": "Extract Function", "noremap": true, "lhs": "re", "mode": "v", "rhs": "lua require('refactoring').refactor('Extract Function')"}, {"desc": "Current Word", "noremap": true, "lhs": "jw", "mode": "v", "rhs": "lua require(\"flash\").jump({ pattern = vim.fn.expand(\"cword>\")})"}, {"desc": "Remote Treesitter", "noremap": true, "lhs": "jt", "mode": "v", "rhs": "lua require('flash').treesitter_search()"}, {"desc": "Search", "noremap": true, "lhs": "js", "mode": "v", "rhs": "lua require('flash').jump()"}, {"desc": "Previous Jump", "noremap": true, "lhs": "jp", "mode": "v", "rhs": "lua require('flash').jump({continue = true})"}, {"desc": "Search Forward", "noremap": true, "lhs": "jn", "mode": "v", "rhs": "lua require('flash').jump({search = { forward = true, wrap = false, multi_window = false },})"}, {"desc": "Treesitter", "noremap": true, "lhs": "jk", "mode": "v", "rhs": "lua require('flash').treesitter()"}, {"desc": "Remote", "noremap": true, "lhs": "jj", "mode": "v", "rhs": "lua require('flash').remote()"}, {"desc": "Diagnostics", "noremap": true, "lhs": "jd", "mode": "v", "rhs": "FlashDiagnostics"}, {"desc": "Search Backward", "noremap": true, "lhs": "jN", "mode": "v", "rhs": "lua require('flash').jump({search = { forward = false, wrap = false, multi_window = false },})"}, {"desc": "Catalog", "noremap": true, "lhs": "Cc", "mode": "v", "rhs": "CBcatalog"}, {"desc": "Line", "noremap": true, "lhs": "Cl", "mode": "v", "rhs": "CBline"}, {"desc": "Run Code", "noremap": true, "lhs": "cx", "mode": "v", "rhs": "','>SnipRun"}, {"desc": "Unique", "noremap": true, "lhs": "cu", "mode": "v", "rhs": ":!uniq"}, {"desc": "Sort Asc", "noremap": true, "lhs": "cs", "mode": "v", "rhs": ":sort"}, {"desc": "Sort Case Insensitive", "noremap": true, "lhs": "ci", "mode": "v", "rhs": ":sort i"}, {"desc": "Sort Desc", "noremap": true, "lhs": "cS", "mode": "v", "rhs": ":sort!"}, {"desc": "Copy Git URL", "noremap": true, "lhs": "yg", "mode": "n", "rhs": "lua require\"gitlinker\".get_buf_range_url()"}, {"desc": "File Name", "noremap": true, "lhs": "yf", "mode": "n", "rhs": "CopyFileName"}, {"desc": "Copy Whole File", "noremap": true, "lhs": "ya", "mode": "n", "rhs": "%y+"}, {"desc": "Absolute Path", "noremap": true, "lhs": "yP", "mode": "n", "rhs": "CopyAbsolutePath"}, {"desc": "Relative Path", "noremap": true, "lhs": "yp", "mode": "n", "rhs": "CopyRelativePath"}, {"desc": "Quickfix List (Trouble)", "noremap": true, "lhs": "xQ", "mode": "n", "rhs": "Trouble qflist toggle"}, {"desc": "Location List (Trouble)", "noremap": true, "lhs": "xL", "mode": "n", "rhs": "Trouble loclist toggle"}, {"desc": "LSP references/definitions/... (Trouble)", "noremap": true, "lhs": "xS", "mode": "n", "rhs": "Trouble lsp toggle"}, {"desc": "Symbols (Trouble)", "noremap": true, "lhs": "xs", "mode": "n", "rhs": "Trouble symbols toggle"}, {"desc": "Buffer Diagnostics (Trouble)", "noremap": true, "lhs": "xX", "mode": "n", "rhs": "Trouble diagnostics toggle filter.buf=0"}, {"desc": "Diagnostics (Trouble)", "noremap": true, "lhs": "xx", "mode": "n", "rhs": "Trouble diagnostics toggle"}, {"desc": " Save and Quit", "noremap": true, "lhs": "x", "mode": "n", "rhs": "x"}, {"desc": "ZenMode", "noremap": true, "lhs": "wz", "mode": "n", "rhs": "ZenMode"}, {"desc": "Write and Quit", "noremap": true, "lhs": "ww", "mode": "n", "rhs": "w"}, {"desc": "Twilight", "noremap": true, "lhs": "wt", "mode": "n", "rhs": "Twilight"}, {"desc": "Suggestions", "noremap": true, "lhs": "ws", "mode": "n", "rhs": "Telescope spell_suggest"}, {"desc": "Write and Quit", "noremap": true, "lhs": "wq", "mode": "n", "rhs": "wq"}, {"desc": "Prev Misspell", "noremap": true, "lhs": "wk", "mode": "n", "rhs": "[s"}, {"desc": "Next Misspell", "noremap": true, "lhs": "wj", "mode": "n", "rhs": "]s"}, {"desc": "Force Write", "noremap": true, "lhs": "wf", "mode": "n", "rhs": "lua require'utils'.sudo_write()"}, {"desc": "Spellcheck", "noremap": true, "lhs": "wc", "mode": "n", "rhs": "set spell!"}, {"desc": "Quote", "noremap": true, "lhs": "vq", "mode": "n", "rhs": "viq"}, {"desc": "Paragraph", "noremap": true, "lhs": "vp", "mode": "n", "rhs": "vip"}, {"desc": "Bracket", "noremap": true, "lhs": "vb", "mode": "n", "rhs": "vib"}, {"desc": "Around Quote", "noremap": true, "lhs": "vQ", "mode": "n", "rhs": "vaq"}, {"desc": "Around Para", "noremap": true, "lhs": "vP", "mode": "n", "rhs": "vap"}, {"desc": "Around Bracket", "noremap": true, "lhs": "vB", "mode": "n", "rhs": "vab"}, {"desc": "Toggle Output Panel", "noremap": true, "lhs": "uO", "mode": "n", "rhs": "lua require(\"neotest\").output_panel.toggle"}, {"desc": "Stop", "noremap": true, "lhs": "us", "mode": "n", "rhs": "lua require(\"neotest\").run.stop()"}, {"desc": "Run Nearest Test", "noremap": true, "lhs": "ur", "mode": "n", "rhs": "lua require(\"neotest\").run.run()"}, {"desc": "Toggle Summary", "noremap": true, "lhs": "uS", "mode": "n", "rhs": "lua require(\"neotest\").summary.toggle"}, {"desc": "Show Output", "noremap": true, "lhs": "uo", "mode": "n", "rhs": "lua require(\"neotest\").output.open({ enter = true, auto_close = true })"}, {"desc": "Run Test File", "noremap": true, "lhs": "uf", "mode": "n", "rhs": "lua require(\"neotest\").run.run(vim.fn.expand(\"%\"))"}, {"desc": "Run Current Test", "noremap": true, "lhs": "uc", "mode": "n", "rhs": "lua require(\"neotest\").run.run()"}, {"desc": "Vertical Terminal", "noremap": true, "lhs": "tv", "mode": "n", "rhs": "Vterm"}, {"desc": "Horizontal Terminal", "noremap": true, "lhs": "th", "mode": "n", "rhs": "Sterm"}, {"desc": "Toggle Terminal", "noremap": true, "lhs": "t2", "mode": "n", "rhs": "2ToggleTerm"}, {"desc": "Toggle Terminal", "noremap": true, "lhs": "t1", "mode": "n", "rhs": "1ToggleTerm"}, {"desc": "Vertical Split", "noremap": true, "lhs": "ss", "mode": "n", "rhs": "vsplit"}, {"desc": "Close Split", "noremap": true, "lhs": "sq", "mode": "n", "rhs": "c"}, {"desc": "Previous Pane", "noremap": true, "lhs": "sp", "mode": "n", "rhs": "NavigatorPrevious"}, {"desc": "Move Right", "noremap": true, "lhs": "sl", "mode": "n", "rhs": "l"}, {"desc": "Move Up", "noremap": true, "lhs": "sk", "mode": "n", "rhs": "k"}, {"desc": "Move Down", "noremap": true, "lhs": "sj", "mode": "n", "rhs": "j"}, {"desc": "Move Left", "noremap": true, "lhs": "sh", "mode": "n", "rhs": "h"}, {"desc": "First Tab", "noremap": true, "lhs": "sf", "mode": "n", "rhs": "tabfirst"}, {"desc": "Close Tab", "noremap": true, "lhs": "sc", "mode": "n", "rhs": "tabclose"}, {"desc": "Horizontal Split", "noremap": true, "lhs": "sa", "mode": "n", "rhs": "split"}, {"desc": "Previous Window", "noremap": true, "lhs": "s`", "mode": "n", "rhs": "p"}, {"desc": "Decrease window height", "noremap": true, "lhs": "s_", "mode": "n", "rhs": "resize -10"}, {"desc": "Split Right", "noremap": true, "lhs": "s\\", "mode": "n", "rhs": "v"}, {"desc": "Increase window width", "noremap": true, "lhs": "sL", "mode": "n", "rhs": "vertical resize +10"}, {"desc": "Increase window height", "noremap": true, "lhs": "sK", "mode": "n", "rhs": "resize +5"}, {"desc": "Decrease window height", "noremap": true, "lhs": "sJ", "mode": "n", "rhs": "resize -5"}, {"desc": "Decrease window width", "noremap": true, "lhs": "sH", "mode": "n", "rhs": "vertical resize -10"}, {"desc": "Increase window width", "noremap": true, "lhs": "s=", "mode": "n", "rhs": "vertical resize +20"}, {"desc": "Split Below", "noremap": true, "lhs": "s/", "mode": "n", "rhs": "s"}, {"desc": "Decrease window width", "noremap": true, "lhs": "s-", "mode": "n", "rhs": "vertical resize -20"}, {"desc": "Increase window height", "noremap": true, "lhs": "s+", "mode": "n", "rhs": "resize +10"}, {"desc": "Replace Word", "noremap": true, "lhs": "rw", "mode": "n", "rhs": "lua require('spectre').open_visual({select_word=true})"}, {"desc": "Extract Variable", "noremap": true, "lhs": "rv", "mode": "n", "rhs": "lua require('refactoring').refactor('Extract Variable')"}, {"desc": "Replace Word", "noremap": true, "lhs": "rs", "mode": "n", "rhs": ":%s/\\\\>//gI"}, {"desc": "Smart Rename", "noremap": true, "lhs": "rr", "mode": "n", "rhs": ""}, {"desc": "Swap Previous", "noremap": true, "lhs": "rp", "mode": "n", "rhs": ""}, {"desc": "Swap Next", "noremap": true, "lhs": "rn", "mode": "n", "rhs": ""}, {"desc": "List Definition", "noremap": true, "lhs": "rl", "mode": "n", "rhs": ""}, {"desc": "Previous Usage", "noremap": true, "lhs": "rk", "mode": "n", "rhs": ""}, {"desc": "Next Usage", "noremap": true, "lhs": "rj", "mode": "n", "rhs": ""}, {"desc": "Inline Variable", "noremap": true, "lhs": "ri", "mode": "n", "rhs": "lua require('refactoring').refactor('Inline Variable')"}, {"desc": "List Definition Head", "noremap": true, "lhs": "rh", "mode": "n", "rhs": ""}, {"desc": "Extract To File", "noremap": true, "lhs": "rf", "mode": "n", "rhs": "lua require('refactoring').refactor('Extract Block To File')"}, {"desc": "Extract Block", "noremap": true, "lhs": "re", "mode": "n", "rhs": "lua require('refactoring').refactor('Extract Block')"}, {"desc": "Go To Definition", "noremap": true, "lhs": "rd", "mode": "n", "rhs": ""}, {"desc": "Replace Buffer", "noremap": true, "lhs": "rb", "mode": "n", "rhs": "lua require('spectre').open_file_search()"}, {"desc": "Replace", "noremap": true, "lhs": "rS", "mode": "n", "rhs": "lua require('spectre').open()"}, {"desc": "Refactor Commands", "noremap": true, "lhs": "rR", "mode": "n", "rhs": "lua require('telescope').extensions.refactoring.refactors()"}, {"desc": "Write and Quit", "noremap": true, "lhs": "qw", "mode": "n", "rhs": "wq"}, {"desc": "Close Split", "noremap": true, "lhs": "qs", "mode": "n", "rhs": "c"}, {"desc": "Quit", "noremap": true, "lhs": "qq", "mode": "n", "rhs": "q"}, {"desc": "Close Others", "noremap": true, "lhs": "qo", "mode": "n", "rhs": ":%bdelete|b#|bdelete#"}, {"desc": "Force Quit", "noremap": true, "lhs": "qf", "mode": "n", "rhs": "qall!"}, {"desc": "Delete Buffer", "noremap": true, "lhs": "qd", "mode": "n", "rhs": "bdelete"}, {"desc": "Close Buffer", "noremap": true, "lhs": "qb", "mode": "n", "rhs": "bw"}, {"desc": "Quit All", "noremap": true, "lhs": "qa", "mode": "n", "rhs": "qall"}, {"desc": "All Options", "noremap": true, "lhs": "oo", "mode": "n", "rhs": "Telescope vim_options"}, {"desc": "Relative Numbers", "noremap": true, "lhs": "on", "mode": "n", "rhs": "set relativenumber!"}, {"desc": "Highlight Colors", "noremap": true, "lhs": "oh", "mode": "n", "rhs": "Telescope highlights"}, {"desc": "Colorscheme", "noremap": true, "lhs": "oc", "mode": "n", "rhs": "Telescope colorscheme"}, {"desc": "Don't Save Current Session", "noremap": true, "lhs": "md", "mode": "n", "rhs": ""}, {"desc": "Restore Last Session", "noremap": true, "lhs": "ml", "mode": "n", "rhs": ""}, {"desc": "Restore Session", "noremap": true, "lhs": "ms", "mode": "n", "rhs": ""}, {"desc": "Peek Type Definition", "noremap": true, "lhs": "lt", "mode": "n", "rhs": "Lspsaga peek_type_definition"}, {"desc": "Document Symbols", "noremap": true, "lhs": "ls", "mode": "n", "rhs": "Telescope lsp_document_symbols theme=get_ivy"}, {"desc": "Rename", "noremap": true, "lhs": "lr", "mode": "n", "rhs": "Lspsaga rename"}, {"desc": "Stop LSP", "noremap": true, "lhs": "lq", "mode": "n", "rhs": "LspStop"}, {"desc": "Incoming Calls", "noremap": true, "lhs": "lp", "mode": "n", "rhs": "Telescope lsp_incoming_calls"}, {"desc": "Outline", "noremap": true, "lhs": "lo", "mode": "n", "rhs": "Lspsaga outline"}, {"desc": "File Diagnostics", "noremap": true, "lhs": "ll", "mode": "n", "rhs": "Telescope diagnostics layout_strategy=vertical"}, {"desc": "Prev Diagnostic", "noremap": true, "lhs": "lk", "mode": "n", "rhs": "Lspsaga diagnostic_jump_prev"}, {"desc": "Next Diagnostic", "noremap": true, "lhs": "lj", "mode": "n", "rhs": "Lspsaga diagnostic_jump_next"}, {"desc": "LSP Info", "noremap": true, "lhs": "li", "mode": "n", "rhs": "LspInfo"}, {"desc": "Hover", "noremap": true, "lhs": "lh", "mode": "n", "rhs": "Lspsaga hover_doc"}, {"desc": "Goto Definition", "noremap": true, "lhs": "lg", "mode": "n", "rhs": "Lspsaga goto_definition"}, {"desc": "Finder", "noremap": true, "lhs": "lf", "mode": "n", "rhs": "Lspsaga finder"}, {"desc": "Peek Definition", "noremap": true, "lhs": "ld", "mode": "n", "rhs": "Lspsaga peek_definition"}, {"desc": "Code Action", "noremap": true, "lhs": "la", "mode": "n", "rhs": "Lspsaga code_action"}, {"desc": "Goto Type Definition", "noremap": true, "lhs": "lT", "mode": "n", "rhs": "Lspsaga goto_type_definition"}, {"desc": "Workspace Symbols", "noremap": true, "lhs": "lS", "mode": "n", "rhs": "Telescope lsp_dynamic_workspace_symbols"}, {"desc": "Replace", "noremap": true, "lhs": "lR", "mode": "n", "rhs": "Lspsaga project_replace"}, {"desc": "Restart LSP", "noremap": true, "lhs": "lQ", "mode": "n", "rhs": "LspRestart"}, {"desc": "Outgoing Calls", "noremap": true, "lhs": "lP", "mode": "n", "rhs": "Telescope lsp_outgoing_calls"}, {"desc": "Workspace Diagnostics", "noremap": true, "lhs": "lL", "mode": "n", "rhs": "Lspsaga show_workspace_diagnostics"}, {"desc": "References", "noremap": true, "lhs": "lF", "mode": "n", "rhs": "Telescope lsp_references layout_strategy=vertical"}, {"desc": "Toggle keys", "noremap": true, "lhs": "kt", "mode": "n", "rhs": "Screenkey"}, {"desc": "Current Word", "noremap": true, "lhs": "jw", "mode": "n", "rhs": "lua require(\"flash\").jump({ pattern = vim.fn.expand(\"cword>\")})"}, {"desc": "Remote Treesitter", "noremap": true, "lhs": "jt", "mode": "n", "rhs": "lua require('flash').treesitter_search()"}, {"desc": "Search", "noremap": true, "lhs": "js", "mode": "n", "rhs": "lua require('flash').jump()"}, {"desc": "Previous Jump", "noremap": true, "lhs": "jp", "mode": "n", "rhs": "lua require('flash').jump({continue = true})"}, {"desc": "Search Forward", "noremap": true, "lhs": "jn", "mode": "n", "rhs": "lua require('flash').jump({search = { forward = true, wrap = false, multi_window = false },})"}, {"desc": "Forward", "noremap": true, "lhs": "jl", "mode": "n", "rhs": ""}, {"desc": "Treesitter", "noremap": true, "lhs": "jk", "mode": "n", "rhs": "lua require('flash').treesitter()"}, {"desc": "Remote", "noremap": true, "lhs": "jj", "mode": "n", "rhs": "lua require('flash').remote()"}, {"desc": "Backward", "noremap": true, "lhs": "jh", "mode": "n", "rhs": ""}, {"desc": "Jumplist", "noremap": true, "lhs": "jf", "mode": "n", "rhs": "Telescope jumplist"}, {"desc": "Diagnostics", "noremap": true, "lhs": "jd", "mode": "n", "rhs": "FlashDiagnostics"}, {"desc": "Word", "noremap": true, "lhs": "jc", "mode": "n", "rhs": "*"}, {"desc": "Search Backward", "noremap": true, "lhs": "jN", "mode": "n", "rhs": "lua require('flash').jump({search = { forward = false, wrap = false, multi_window = false },})"}, {"desc": "Time", "noremap": true, "lhs": "it", "mode": "n", "rhs": "put =strftime('## %r')"}, {"desc": "Registers", "noremap": true, "lhs": "ir", "mode": "n", "rhs": "Telescope registers"}, {"desc": "Relative Path", "noremap": true, "lhs": "ip", "mode": "n", "rhs": "put %"}, {"desc": "Nerd Glyphs", "noremap": true, "lhs": "in", "mode": "n", "rhs": "Nerdy"}, {"desc": "File Name", "noremap": true, "lhs": "if", "mode": "n", "rhs": "put =expand('%:t')"}, {"desc": "Emojis", "noremap": true, "lhs": "ie", "mode": "n", "rhs": "Telescope symbols"}, {"desc": "Date", "noremap": true, "lhs": "id", "mode": "n", "rhs": "put =strftime('## %a, %d %b, %Y, %r')"}, {"desc": "Absolute Path", "noremap": true, "lhs": "iP", "mode": "n", "rhs": "put %:p"}, {"desc": "Man Pages", "noremap": true, "lhs": "hm", "mode": "n", "rhs": "Telescope man_pages"}, {"desc": "Hover Doc", "noremap": true, "lhs": "hk", "mode": "n", "rhs": "Lspsaga hover_doc"}, {"desc": "Inspect Position", "noremap": true, "lhs": "hi", "mode": "n", "rhs": "vim.show_pos"}, {"desc": "Help Pages", "noremap": true, "lhs": "hh", "mode": "n", "rhs": "Telescope help_tags"}, {"desc": "Fuzzy Find in File", "noremap": true, "lhs": "fs", "mode": "n", "rhs": "Telescope current_buffer_fuzzy_find"}, {"desc": "Quickfix", "noremap": true, "lhs": "fq", "mode": "n", "rhs": "Telescope quickfix"}, {"desc": "Undo History", "noremap": true, "lhs": "fu", "mode": "n", "rhs": "Telescope undo"}, {"desc": "Diagnostics", "noremap": true, "lhs": "fd", "mode": "n", "rhs": "Telescope diagnostics"}, {"desc": "Search History", "noremap": true, "lhs": "ks", "mode": "n", "rhs": "Telescope search_history"}, {"desc": "Command History", "noremap": true, "lhs": "kh", "mode": "n", "rhs": "Telescope command_history"}, {"desc": "Commands", "noremap": true, "lhs": "kc", "mode": "n", "rhs": "Telescope commands"}, {"desc": "Keymaps", "noremap": true, "lhs": "kk", "mode": "n", "rhs": "Telescope keymaps"}, {"desc": "Grep String", "noremap": true, "lhs": "fG", "mode": "n", "rhs": "Telescope grep_string"}, {"desc": "Find Highlight Groups", "noremap": true, "lhs": "fH", "mode": "n", "rhs": "Telescope highlights"}, {"desc": "Marks", "noremap": true, "lhs": "fm", "mode": "n", "rhs": "Telescope marks"}, {"desc": "Old Recent Files", "noremap": true, "lhs": "fo", "mode": "n", "rhs": "Telescope oldfiles"}, {"desc": "Find Help", "noremap": true, "lhs": "fh", "mode": "n", "rhs": "Telescope help_tags"}, {"desc": "Buffers", "noremap": true, "lhs": "fb", "mode": "n", "rhs": "Telescope buffers"}, {"desc": "Live Grep", "noremap": true, "lhs": "fg", "mode": "n", "rhs": "Telescope live_grep"}, {"desc": "Find Files (CWD)", "noremap": true, "lhs": "ff", "mode": "n", "rhs": "Telescope find_files"}, {"desc": "New File", "noremap": true, "lhs": "en", "mode": "n", "rhs": "new"}, {"desc": "Readme", "noremap": true, "lhs": "em", "mode": "n", "rhs": "e README.md"}, {"desc": "File Browser", "noremap": true, "lhs": "ef", "mode": "n", "rhs": "Telescope file_browser"}, {"desc": "Float File Explorer", "noremap": true, "lhs": "ee", "mode": "n", "rhs": ":Neotree toggle float"}, {"desc": "Config Dir", "noremap": true, "lhs": "ed", "mode": "n", "rhs": "lua require(\"telescope.builtin\").find_files({cwd = vim.fn.stdpath(\"config\")})"}, {"desc": "Config", "noremap": true, "lhs": "ec", "mode": "n", "rhs": "e $MYVIMRC"}, {"desc": "Alternate File", "noremap": true, "lhs": "ea", "mode": "n", "rhs": "b#"}, {"desc": "DB Last query", "noremap": true, "lhs": "dl", "mode": "n", "rhs": "DBUILastQueryInfo"}, {"desc": "DB Rename buffer", "noremap": true, "lhs": "dr", "mode": "n", "rhs": "DBUIRenameBuffer"}, {"desc": "DB Find buffer", "noremap": true, "lhs": "db", "mode": "n", "rhs": "DBUIFindBuffer"}, {"desc": "Toggle DB UI", "noremap": true, "lhs": "du", "mode": "n", "rhs": "DBUIToggle"}, {"desc": "Delete Comment Style", "noremap": true, "lhs": "Cd", "mode": "v", "rhs": "CBd"}, {"desc": "Delete Comment Style", "noremap": true, "lhs": "Cd", "mode": "n", "rhs": "CBd"}, {"desc": "Catalog", "noremap": true, "lhs": "Cc", "mode": "n", "rhs": "CBcatalog"}, {"desc": "Marked", "noremap": true, "lhs": "Cm", "mode": "v", "rhs": "CBllbox14"}, {"desc": "Marked", "noremap": true, "lhs": "Cm", "mode": "n", "rhs": "CBllbox14"}, {"desc": "Line", "noremap": true, "lhs": "Cl", "mode": "n", "rhs": "CBline"}, {"desc": "Tiled line", "noremap": true, "lhs": "Ct", "mode": "v", "rhs": "CBllline"}, {"desc": "Tiled line", "noremap": true, "lhs": "Ct", "mode": "n", "rhs": "CBllline"}, {"desc": "Comment Box", "noremap": true, "lhs": "Cb", "mode": "v", "rhs": "CBccbox"}, {"desc": "Comment Box", "noremap": true, "lhs": "Cb", "mode": "n", "rhs": "CBccbox"}, {"desc": "Reload Module", "noremap": true, "lhs": "cr", "mode": "n", "rhs": "Telescope reloader"}, {"desc": "Pick Color", "noremap": true, "lhs": "cp", "mode": "n", "rhs": "CccPick"}, {"desc": "Dashboard", "noremap": true, "lhs": "co", "mode": "n", "rhs": "Dashboard"}, {"desc": "Notifications", "noremap": true, "lhs": "cn", "mode": "n", "rhs": "Telescope notify"}, {"desc": "Markdown Preview", "noremap": true, "lhs": "cm", "mode": "n", "rhs": "MarkdownPreviewToggle"}, {"desc": "Clean Empty Lines", "noremap": true, "lhs": "cl", "mode": "n", "rhs": ":g/^\\s*$/d"}, {"desc": "Chat with IA (Codeium)", "noremap": true, "lhs": "ch", "mode": "n", "rhs": ""}, {"desc": "Root Directory", "noremap": true, "lhs": "cd", "mode": "n", "rhs": "RootDir"}, {"desc": "Highlight Colors", "noremap": true, "lhs": "cc", "mode": "n", "rhs": "CccHighlighterToggle"}, {"desc": "Reload Configs", "noremap": true, "lhs": "cR", "mode": "n", "rhs": "ReloadConfig"}, {"desc": "Convert Color", "noremap": true, "lhs": "cP", "mode": "n", "rhs": "CccConvert"}, {"desc": "Fix Tabs", "noremap": true, "lhs": "cF", "mode": "n", "rhs": "retab"}, {"desc": "Exit", "noremap": true, "lhs": "bx", "mode": "n", "rhs": "DapTerminate"}, {"desc": "Debugger", "noremap": true, "lhs": "bt", "mode": "n", "rhs": "DapUIToggle"}, {"desc": "Repl", "noremap": true, "lhs": "br", "mode": "n", "rhs": "DapToggleRepl"}, {"desc": "Over", "noremap": true, "lhs": "bo", "mode": "n", "rhs": "DapStepOver"}, {"desc": "Last", "noremap": true, "lhs": "bl", "mode": "n", "rhs": "lua require'dap'.run_last()"}, {"desc": "Into", "noremap": true, "lhs": "bi", "mode": "n", "rhs": "DapStepInto"}, {"desc": "Continue", "noremap": true, "lhs": "bc", "mode": "n", "rhs": "DapContinue"}, {"desc": "Breakpoint", "noremap": true, "lhs": "bb", "mode": "n", "rhs": "DapToggleBreakpoint"}, {"desc": "Restart Frame", "noremap": true, "lhs": "bR", "mode": "n", "rhs": "DapRestartFrame"}, {"desc": "Out", "noremap": true, "lhs": "bO", "mode": "n", "rhs": "DapStepOut"}, {"desc": "Dismiss All Notifications", "noremap": true, "lhs": "mn", "mode": "n", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "mt", "mode": "n", "rhs": "lua require(\"onedark\").toggle()"}, {"desc": ":help v_#-default", "noremap": true, "lhs": "#", "mode": "x", "rhs": ""}, {"desc": "", "noremap": false, "lhs": "%", "mode": "x", "rhs": "(MatchitVisualForward)"}, {"desc": "", "noremap": false, "lhs": "%", "mode": "n", "rhs": "(MatchitNormalForward)"}, {"desc": ":help &-default", "noremap": true, "lhs": "&", "mode": "n", "rhs": ":&&"}, {"desc": ":help v_star-default", "noremap": true, "lhs": "*", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "-", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "-", "mode": "n", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "<", "mode": "v", "rhs": "gv"}, {"desc": "", "noremap": true, "lhs": "=", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "=", "mode": "n", "rhs": ""}, {"desc": "", "noremap": true, "lhs": ">", "mode": "v", "rhs": ">gv"}, {"desc": ":help v_@-default", "noremap": true, "lhs": "@", "mode": "x", "rhs": "mode() ==# 'V' ? ':normal! @'.getcharstr().'' : '@'"}, {"desc": "LSP Hover", "noremap": true, "lhs": "H", "mode": "n", "rhs": "Lspsaga hover_doc"}, {"desc": "", "noremap": true, "lhs": "J", "mode": "x", "rhs": ":move '>+1gv-gv"}, {"desc": "", "noremap": true, "lhs": "J", "mode": "n", "rhs": "mzJ`z"}, {"desc": "", "noremap": true, "lhs": "K", "mode": "x", "rhs": ":move '-2gv-gv"}, {"desc": "Next Buffer", "noremap": true, "lhs": "L", "mode": "n", "rhs": "bnext"}, {"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": "(YankyPutBefore)"}, {"desc": "Put yanked text before cursor", "noremap": true, "lhs": "P", "mode": "n", "rhs": "(YankyPutBefore)"}, {"desc": "Force Quit!", "noremap": true, "lhs": "Q", "mode": "n", "rhs": "qall!"}, {"desc": ":help v_Q-default", "noremap": true, "lhs": "Q", "mode": "x", "rhs": "mode() ==# 'V' ? ':normal! @=reg_recorded()' : 'Q'"}, {"desc": "Flash Treesitter", "noremap": true, "lhs": "S", "mode": "x", "rhs": ""}, {"desc": "Flash Treesitter", "noremap": true, "lhs": "S", "mode": "n", "rhs": ""}, {"desc": "Redo", "noremap": true, "lhs": "U", "mode": "n", "rhs": "redo"}, {"desc": ":help Y-default", "noremap": true, "lhs": "Y", "mode": "n", "rhs": "y$"}, {"desc": "Git Hunk", "noremap": true, "lhs": "[g", "mode": "n", "rhs": "Gitsigns prev_hunk"}, {"desc": "Edit", "noremap": true, "lhs": "[e", "mode": "n", "rhs": "g;"}, {"desc": "Undo backward", "noremap": true, "lhs": "[u", "mode": "n", "rhs": "lua MiniBracketed.undo('backward')"}, {"desc": "Undo first", "noremap": true, "lhs": "[U", "mode": "n", "rhs": "lua MiniBracketed.undo('first')"}, {"desc": "Treesitter backward", "noremap": true, "lhs": "[n", "mode": "x", "rhs": "lua MiniBracketed.treesitter('backward')"}, {"desc": "Treesitter backward", "noremap": true, "lhs": "[n", "mode": "n", "rhs": "lua MiniBracketed.treesitter('backward')"}, {"desc": "Treesitter first", "noremap": true, "lhs": "[N", "mode": "x", "rhs": "lua MiniBracketed.treesitter('first')"}, {"desc": "Treesitter first", "noremap": true, "lhs": "[N", "mode": "n", "rhs": "lua MiniBracketed.treesitter('first')"}, {"desc": "Location backward", "noremap": true, "lhs": "[l", "mode": "n", "rhs": "lua MiniBracketed.location('backward')"}, {"desc": "Location first", "noremap": true, "lhs": "[L", "mode": "n", "rhs": "lua MiniBracketed.location('first')"}, {"desc": "Oldfile backward", "noremap": true, "lhs": "[o", "mode": "n", "rhs": "lua MiniBracketed.oldfile('backward')"}, {"desc": "Oldfile first", "noremap": true, "lhs": "[O", "mode": "n", "rhs": "lua MiniBracketed.oldfile('first')"}, {"desc": "Jump", "noremap": true, "lhs": "[j", "mode": "n", "rhs": ""}, {"desc": "Jump first", "noremap": true, "lhs": "[J", "mode": "n", "rhs": "lua MiniBracketed.jump('first')"}, {"desc": "Indent backward", "noremap": true, "lhs": "[i", "mode": "x", "rhs": "lua MiniBracketed.indent('backward')"}, {"desc": "Indent backward", "noremap": true, "lhs": "[i", "mode": "n", "rhs": "lua MiniBracketed.indent('backward')"}, {"desc": "Indent first", "noremap": true, "lhs": "[I", "mode": "x", "rhs": "lua MiniBracketed.indent('first')"}, {"desc": "Indent first", "noremap": true, "lhs": "[I", "mode": "n", "rhs": "lua MiniBracketed.indent('first')"}, {"desc": "Diagnostic backward", "noremap": true, "lhs": "[d", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('backward')"}, {"desc": "Diagnostic first", "noremap": true, "lhs": "[D", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('first')"}, {"desc": "Diagnostic first", "noremap": true, "lhs": "[D", "mode": "n", "rhs": "lua MiniBracketed.diagnostic('first')"}, {"desc": "Conflict backward", "noremap": true, "lhs": "[x", "mode": "x", "rhs": "lua MiniBracketed.conflict('backward')"}, {"desc": "Conflict backward", "noremap": true, "lhs": "[x", "mode": "n", "rhs": "lua MiniBracketed.conflict('backward')"}, {"desc": "Conflict first", "noremap": true, "lhs": "[X", "mode": "x", "rhs": "lua MiniBracketed.conflict('first')"}, {"desc": "Conflict first", "noremap": true, "lhs": "[X", "mode": "n", "rhs": "lua MiniBracketed.conflict('first')"}, {"desc": "Comment backward", "noremap": true, "lhs": "[c", "mode": "x", "rhs": "lua MiniBracketed.comment('backward')"}, {"desc": "Comment backward", "noremap": true, "lhs": "[c", "mode": "n", "rhs": "lua MiniBracketed.comment('backward')"}, {"desc": "Comment first", "noremap": true, "lhs": "[C", "mode": "x", "rhs": "lua MiniBracketed.comment('first')"}, {"desc": "Comment first", "noremap": true, "lhs": "[C", "mode": "n", "rhs": "lua MiniBracketed.comment('first')"}, {"desc": "Buffer", "noremap": true, "lhs": "[b", "mode": "n", "rhs": "bprevious"}, {"desc": "First Buffer", "noremap": true, "lhs": "[B", "mode": "n", "rhs": "bfirst"}, {"desc": "", "noremap": false, "lhs": "[%", "mode": "x", "rhs": "(MatchitVisualMultiBackward)"}, {"desc": "", "noremap": false, "lhs": "[%", "mode": "n", "rhs": "(MatchitNormalMultiBackward)"}, {"desc": "Diagnostic", "noremap": true, "lhs": "[d", "mode": "n", "rhs": "Lspsaga diagnostic_jump_prev"}, {"desc": "", "noremap": false, "lhs": "\\\\c", "mode": "x", "rhs": "(VM-Visual-Cursors)"}, {"desc": "", "noremap": false, "lhs": "\\\\gS", "mode": "n", "rhs": "(VM-Reselect-Last)"}, {"desc": "", "noremap": false, "lhs": "\\\\/", "mode": "n", "rhs": "(VM-Start-Regex-Search)"}, {"desc": "", "noremap": false, "lhs": "\\\\\\", "mode": "n", "rhs": "(VM-Add-Cursor-At-Pos)"}, {"desc": "", "noremap": false, "lhs": "\\\\a", "mode": "x", "rhs": "(VM-Visual-Add)"}, {"desc": "", "noremap": false, "lhs": "\\\\f", "mode": "x", "rhs": "(VM-Visual-Find)"}, {"desc": "", "noremap": false, "lhs": "\\\\/", "mode": "x", "rhs": "(VM-Visual-Regex)"}, {"desc": "", "noremap": false, "lhs": "\\\\A", "mode": "x", "rhs": "(VM-Visual-All)"}, {"desc": "", "noremap": false, "lhs": "\\\\A", "mode": "n", "rhs": "(VM-Select-All)"}, {"desc": "Git Hunk", "noremap": true, "lhs": "]g", "mode": "n", "rhs": "Gitsigns next_hunk"}, {"desc": "Edit", "noremap": true, "lhs": "]e", "mode": "n", "rhs": "g,"}, {"desc": "Undo forward", "noremap": true, "lhs": "]u", "mode": "n", "rhs": "lua MiniBracketed.undo('forward')"}, {"desc": "Undo last", "noremap": true, "lhs": "]U", "mode": "n", "rhs": "lua MiniBracketed.undo('last')"}, {"desc": "Treesitter forward", "noremap": true, "lhs": "]n", "mode": "x", "rhs": "lua MiniBracketed.treesitter('forward')"}, {"desc": "Treesitter forward", "noremap": true, "lhs": "]n", "mode": "n", "rhs": "lua MiniBracketed.treesitter('forward')"}, {"desc": "Treesitter last", "noremap": true, "lhs": "]N", "mode": "x", "rhs": "lua MiniBracketed.treesitter('last')"}, {"desc": "Treesitter last", "noremap": true, "lhs": "]N", "mode": "n", "rhs": "lua MiniBracketed.treesitter('last')"}, {"desc": "Location forward", "noremap": true, "lhs": "]l", "mode": "n", "rhs": "lua MiniBracketed.location('forward')"}, {"desc": "Location last", "noremap": true, "lhs": "]L", "mode": "n", "rhs": "lua MiniBracketed.location('last')"}, {"desc": "Oldfile forward", "noremap": true, "lhs": "]o", "mode": "n", "rhs": "lua MiniBracketed.oldfile('forward')"}, {"desc": "Oldfile last", "noremap": true, "lhs": "]O", "mode": "n", "rhs": "lua MiniBracketed.oldfile('last')"}, {"desc": "Jump", "noremap": true, "lhs": "]j", "mode": "n", "rhs": ""}, {"desc": "Jump last", "noremap": true, "lhs": "]J", "mode": "n", "rhs": "lua MiniBracketed.jump('last')"}, {"desc": "Indent forward", "noremap": true, "lhs": "]i", "mode": "x", "rhs": "lua MiniBracketed.indent('forward')"}, {"desc": "Indent forward", "noremap": true, "lhs": "]i", "mode": "n", "rhs": "lua MiniBracketed.indent('forward')"}, {"desc": "Indent last", "noremap": true, "lhs": "]I", "mode": "x", "rhs": "lua MiniBracketed.indent('last')"}, {"desc": "Indent last", "noremap": true, "lhs": "]I", "mode": "n", "rhs": "lua MiniBracketed.indent('last')"}, {"desc": "Diagnostic forward", "noremap": true, "lhs": "]d", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('forward')"}, {"desc": "Diagnostic last", "noremap": true, "lhs": "]D", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('last')"}, {"desc": "Diagnostic last", "noremap": true, "lhs": "]D", "mode": "n", "rhs": "lua MiniBracketed.diagnostic('last')"}, {"desc": "Conflict forward", "noremap": true, "lhs": "]x", "mode": "x", "rhs": "lua MiniBracketed.conflict('forward')"}, {"desc": "Conflict forward", "noremap": true, "lhs": "]x", "mode": "n", "rhs": "lua MiniBracketed.conflict('forward')"}, {"desc": "Conflict last", "noremap": true, "lhs": "]X", "mode": "x", "rhs": "lua MiniBracketed.conflict('last')"}, {"desc": "Conflict last", "noremap": true, "lhs": "]X", "mode": "n", "rhs": "lua MiniBracketed.conflict('last')"}, {"desc": "Comment forward", "noremap": true, "lhs": "]c", "mode": "x", "rhs": "lua MiniBracketed.comment('forward')"}, {"desc": "Comment forward", "noremap": true, "lhs": "]c", "mode": "n", "rhs": "lua MiniBracketed.comment('forward')"}, {"desc": "Comment last", "noremap": true, "lhs": "]C", "mode": "x", "rhs": "lua MiniBracketed.comment('last')"}, {"desc": "Comment last", "noremap": true, "lhs": "]C", "mode": "n", "rhs": "lua MiniBracketed.comment('last')"}, {"desc": "Buffer", "noremap": true, "lhs": "]b", "mode": "n", "rhs": "bnext"}, {"desc": "Buffer", "noremap": true, "lhs": "]B", "mode": "n", "rhs": "blast"}, {"desc": "", "noremap": false, "lhs": "]%", "mode": "x", "rhs": "(MatchitVisualMultiForward)"}, {"desc": "", "noremap": false, "lhs": "]%", "mode": "n", "rhs": "(MatchitNormalMultiForward)"}, {"desc": "Diagnostic", "noremap": true, "lhs": "]d", "mode": "n", "rhs": "Lspsaga diagnostic_jump_next"}, {"desc": "Around last textobject", "noremap": false, "lhs": "al", "mode": "x", "rhs": ""}, {"desc": "Around next textobject", "noremap": false, "lhs": "an", "mode": "x", "rhs": ""}, {"desc": "Around textobject", "noremap": false, "lhs": "a", "mode": "x", "rhs": ""}, {"desc": "", "noremap": false, "lhs": "a%", "mode": "x", "rhs": "(MatchitVisualTextObject)"}, {"desc": "Change without replacing clipboad", "noremap": true, "lhs": "c", "mode": "n", "rhs": "\"_c"}, {"desc": "Delete without replacing clipboad", "noremap": true, "lhs": "d", "mode": "n", "rhs": "\"_d"}, {"desc": "Put yanked text before selection", "noremap": true, "lhs": "gP", "mode": "x", "rhs": "(YankyGPutBefore)"}, {"desc": "Put yanked text before selection", "noremap": true, "lhs": "gP", "mode": "n", "rhs": "(YankyGPutBefore)"}, {"desc": "Put yanked text after selection", "noremap": true, "lhs": "gp", "mode": "x", "rhs": "(YankyGPutAfter)"}, {"desc": "Put yanked text after selection", "noremap": true, "lhs": "gp", "mode": "n", "rhs": "(YankyGPutAfter)"}, {"desc": "Highlight next surrounding", "noremap": true, "lhs": "gshn", "mode": "n", "rhs": ""}, {"desc": "Find next left surrounding", "noremap": true, "lhs": "gsFn", "mode": "n", "rhs": ""}, {"desc": "Find next right surrounding", "noremap": true, "lhs": "gsfn", "mode": "n", "rhs": ""}, {"desc": "Replace next surrounding", "noremap": true, "lhs": "gsrn", "mode": "n", "rhs": ""}, {"desc": "Delete next surrounding", "noremap": true, "lhs": "gsdn", "mode": "n", "rhs": ""}, {"desc": "Highlight previous surrounding", "noremap": true, "lhs": "gshl", "mode": "n", "rhs": ""}, {"desc": "Find previous left surrounding", "noremap": true, "lhs": "gsFl", "mode": "n", "rhs": ""}, {"desc": "Find previous right surrounding", "noremap": true, "lhs": "gsfl", "mode": "n", "rhs": ""}, {"desc": "Replace previous surrounding", "noremap": true, "lhs": "gsrl", "mode": "n", "rhs": ""}, {"desc": "Delete previous surrounding", "noremap": true, "lhs": "gsdl", "mode": "n", "rhs": ""}, {"desc": "Add surrounding to selection", "noremap": true, "lhs": "gsa", "mode": "x", "rhs": ":lua MiniSurround.add('visual')"}, {"desc": "Update `MiniSurround.config.n_lines`", "noremap": true, "lhs": "gsn", "mode": "n", "rhs": ""}, {"desc": "Highlight surrounding", "noremap": true, "lhs": "gsh", "mode": "n", "rhs": ""}, {"desc": "Find left surrounding", "noremap": true, "lhs": "gsF", "mode": "n", "rhs": ""}, {"desc": "Find right surrounding", "noremap": true, "lhs": "gsf", "mode": "n", "rhs": ""}, {"desc": "Replace surrounding", "noremap": true, "lhs": "gsr", "mode": "n", "rhs": ""}, {"desc": "Delete surrounding", "noremap": true, "lhs": "gsd", "mode": "n", "rhs": ""}, {"desc": "Add surrounding", "noremap": true, "lhs": "gsa", "mode": "n", "rhs": ""}, {"desc": "Move to right \"around\"", "noremap": false, "lhs": "g]", "mode": "x", "rhs": ""}, {"desc": "Move to right \"around\"", "noremap": false, "lhs": "g]", "mode": "n", "rhs": ""}, {"desc": "Move to left \"around\"", "noremap": false, "lhs": "g[", "mode": "x", "rhs": ""}, {"desc": "Move to left \"around\"", "noremap": false, "lhs": "g[", "mode": "n", "rhs": ""}, {"desc": "", "noremap": false, "lhs": "g%", "mode": "x", "rhs": "(MatchitVisualBackward)"}, {"desc": "", "noremap": false, "lhs": "g%", "mode": "n", "rhs": "(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": ""}, {"desc": "Comment selection", "noremap": true, "lhs": "gc", "mode": "x", "rhs": ""}, {"desc": "Comment", "noremap": true, "lhs": "gc", "mode": "n", "rhs": ""}, {"desc": "Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)", "noremap": true, "lhs": "gx", "mode": "x", "rhs": ""}, {"desc": "Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)", "noremap": true, "lhs": "gx", "mode": "n", "rhs": ""}, {"desc": "Inside last textobject", "noremap": false, "lhs": "il", "mode": "x", "rhs": ""}, {"desc": "Inside next textobject", "noremap": false, "lhs": "in", "mode": "x", "rhs": ""}, {"desc": "Inside textobject", "noremap": false, "lhs": "i", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "j", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "j", "mode": "n", "rhs": "v:count == 0 ? 'gj' : 'j'"}, {"desc": "", "noremap": true, "lhs": "k", "mode": "x", "rhs": ""}, {"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": "(YankyPutAfter)"}, {"desc": "Put yanked text after cursor", "noremap": true, "lhs": "p", "mode": "n", "rhs": "(YankyPutAfter)"}, {"desc": "Flash", "noremap": true, "lhs": "s", "mode": "x", "rhs": ""}, {"desc": "Flash", "noremap": true, "lhs": "s", "mode": "n", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "u", "mode": "n", "rhs": "ulua MiniBracketed.register_undo_state()"}, {"desc": "Cut without replacing clipboad", "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": "(YankyYank)"}, {"desc": "Yank text", "noremap": true, "lhs": "y", "mode": "n", "rhs": "(YankyYank)"}, {"desc": "", "noremap": false, "lhs": "", "mode": "x", "rhs": "(VM-Find-Subword-Under)"}, {"desc": "", "noremap": false, "lhs": "", "mode": "n", "rhs": "(VM-Select-l)"}, {"desc": "", "noremap": false, "lhs": "", "mode": "n", "rhs": "(VM-Select-h)"}, {"desc": "Multi Edit Next", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#ctrln(v:count1)"}, {"desc": "Add Cursor Down", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_up(0, v:count1)"}, {"desc": "Add Cursor Down", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_down(0, v:count1)"}, {"desc": "Add Cursor Up", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_up(0, v:count1)"}, {"desc": "Add Cursor Down", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_down(0, v:count1)"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "(YankyCycleBackward)"}, {"desc": "", "noremap": false, "lhs": "", "mode": "n", "rhs": "(VM-Find-Under)"}, {"desc": "Previous Pane", "noremap": true, "lhs": "", "mode": "n", "rhs": "p"}, {"desc": "Move Up", "noremap": true, "lhs": "", "mode": "n", "rhs": "k"}, {"desc": "Move Down", "noremap": true, "lhs": "", "mode": "n", "rhs": "j"}, {"desc": "Move Left", "noremap": true, "lhs": "", "mode": "n", "rhs": "h"}, {"desc": "Lazygit", "noremap": true, "lhs": "", "mode": "n", "rhs": "Fterm lazygit"}, {"desc": "Find Files", "noremap": true, "lhs": "", "mode": "n", "rhs": "Telescope find_files"}, {"desc": "", "noremap": false, "lhs": "", "mode": "n", "rhs": "(VM-Add-Cursor-Up)"}, {"desc": "Increase window width", "noremap": true, "lhs": "", "mode": "n", "rhs": "vertical resize +10"}, {"desc": "Decrease window width", "noremap": true, "lhs": "", "mode": "n", "rhs": "vertical resize -10"}, {"desc": "", "noremap": false, "lhs": "", "mode": "n", "rhs": "(VM-Add-Cursor-Down)"}, {"desc": "Move line up", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('up')"}, {"desc": "Move line down", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('down')"}, {"desc": "Move line right", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('right')"}, {"desc": "Move line left", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('left')"}, {"desc": "Move up", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('up')"}, {"desc": "Move down", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('down')"}, {"desc": "Move right", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('right')"}, {"desc": "Move left", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('left')"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniBracketed.register_undo_state()"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "zz"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "zz"}, {"desc": "Save File", "noremap": true, "lhs": "", "mode": "n", "rhs": "up"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "ggVG"}, {"desc": "Show diagnostics under the cursor", "noremap": false, "lhs": "", "mode": "n", "rhs": "d"}, {"desc": "Show diagnostics under the cursor", "noremap": true, "lhs": "d", "mode": "n", "rhs": ""}, {"desc": "Move Right", "noremap": true, "lhs": "", "mode": "n", "rhs": "l"}], "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", "emmet_ls", "jdtls", "lua_ls", "ruff", "tailwindcss", "tsserver"], "leaderKey": ""} \ No newline at end of file +{"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": "", "mode": "n", "rhs": "bnext"}, {"desc": "Escape and clear hlsearch", "noremap": true, "lhs": "", "mode": "n", "rhs": "noh"}, {"desc": "Copy Git URL", "noremap": true, "lhs": "yg", "mode": "v", "rhs": "lua require\"gitlinker\".get_buf_range_url(\"v\")"}, {"desc": "Extract Variable", "noremap": true, "lhs": "rv", "mode": "v", "rhs": "lua require('refactoring').refactor('Extract Variable')"}, {"desc": "Refactor Commands", "noremap": true, "lhs": "rr", "mode": "v", "rhs": "lua require('telescope').extensions.refactoring.refactors()"}, {"desc": "Inline Variable", "noremap": true, "lhs": "ri", "mode": "v", "rhs": "lua require('refactoring').refactor('Inline Variable')"}, {"desc": "Extract To File", "noremap": true, "lhs": "rf", "mode": "v", "rhs": "lua require('refactoring').refactor('Extract Function To File')"}, {"desc": "Extract Function", "noremap": true, "lhs": "re", "mode": "v", "rhs": "lua require('refactoring').refactor('Extract Function')"}, {"desc": "Current Word", "noremap": true, "lhs": "jw", "mode": "v", "rhs": "lua require(\"flash\").jump({ pattern = vim.fn.expand(\"cword>\")})"}, {"desc": "Remote Treesitter", "noremap": true, "lhs": "jt", "mode": "v", "rhs": "lua require('flash').treesitter_search()"}, {"desc": "Search", "noremap": true, "lhs": "js", "mode": "v", "rhs": "lua require('flash').jump()"}, {"desc": "Previous Jump", "noremap": true, "lhs": "jp", "mode": "v", "rhs": "lua require('flash').jump({continue = true})"}, {"desc": "Search Forward", "noremap": true, "lhs": "jn", "mode": "v", "rhs": "lua require('flash').jump({search = { forward = true, wrap = false, multi_window = false },})"}, {"desc": "Treesitter", "noremap": true, "lhs": "jk", "mode": "v", "rhs": "lua require('flash').treesitter()"}, {"desc": "Remote", "noremap": true, "lhs": "jj", "mode": "v", "rhs": "lua require('flash').remote()"}, {"desc": "Diagnostics", "noremap": true, "lhs": "jd", "mode": "v", "rhs": "FlashDiagnostics"}, {"desc": "Search Backward", "noremap": true, "lhs": "jN", "mode": "v", "rhs": "lua require('flash').jump({search = { forward = false, wrap = false, multi_window = false },})"}, {"desc": "Delete Comment Style", "noremap": true, "lhs": "Cd", "mode": "v", "rhs": "CBd"}, {"desc": "Catalog", "noremap": true, "lhs": "Cc", "mode": "v", "rhs": "CBcatalog"}, {"desc": "Marked", "noremap": true, "lhs": "Cm", "mode": "v", "rhs": "CBllbox14"}, {"desc": "Line", "noremap": true, "lhs": "Cl", "mode": "v", "rhs": "CBline"}, {"desc": "Tiled line", "noremap": true, "lhs": "Ct", "mode": "v", "rhs": "CBllline"}, {"desc": "Comment Box", "noremap": true, "lhs": "Cb", "mode": "v", "rhs": "CBccbox"}, {"desc": "Run Code", "noremap": true, "lhs": "cx", "mode": "v", "rhs": "','>SnipRun"}, {"desc": "Unique", "noremap": true, "lhs": "cu", "mode": "v", "rhs": ":!uniq"}, {"desc": "Sort Asc", "noremap": true, "lhs": "cs", "mode": "v", "rhs": ":sort"}, {"desc": "Sort Case Insensitive", "noremap": true, "lhs": "ci", "mode": "v", "rhs": ":sort i"}, {"desc": "Sort Desc", "noremap": true, "lhs": "cS", "mode": "v", "rhs": ":sort!"}, {"desc": "Copy Git URL", "noremap": true, "lhs": "yg", "mode": "n", "rhs": "lua require\"gitlinker\".get_buf_range_url()"}, {"desc": "File Name", "noremap": true, "lhs": "yf", "mode": "n", "rhs": "CopyFileName"}, {"desc": "Copy Whole File", "noremap": true, "lhs": "ya", "mode": "n", "rhs": "%y+"}, {"desc": "Absolute Path", "noremap": true, "lhs": "yP", "mode": "n", "rhs": "CopyAbsolutePath"}, {"desc": "Relative Path", "noremap": true, "lhs": "yp", "mode": "n", "rhs": "CopyRelativePath"}, {"desc": "Quickfix List (Trouble)", "noremap": true, "lhs": "xQ", "mode": "n", "rhs": "Trouble qflist toggle"}, {"desc": "Location List (Trouble)", "noremap": true, "lhs": "xL", "mode": "n", "rhs": "Trouble loclist toggle"}, {"desc": "LSP references/definitions/... (Trouble)", "noremap": true, "lhs": "xS", "mode": "n", "rhs": "Trouble lsp toggle"}, {"desc": "Symbols (Trouble)", "noremap": true, "lhs": "xs", "mode": "n", "rhs": "Trouble symbols toggle"}, {"desc": "Buffer Diagnostics (Trouble)", "noremap": true, "lhs": "xX", "mode": "n", "rhs": "Trouble diagnostics toggle filter.buf=0"}, {"desc": "Diagnostics (Trouble)", "noremap": true, "lhs": "xx", "mode": "n", "rhs": "Trouble diagnostics toggle"}, {"desc": " Save and Quit", "noremap": true, "lhs": "x", "mode": "n", "rhs": "x"}, {"desc": "ZenMode", "noremap": true, "lhs": "wz", "mode": "n", "rhs": "ZenMode"}, {"desc": "Write and Quit", "noremap": true, "lhs": "ww", "mode": "n", "rhs": "w"}, {"desc": "Twilight", "noremap": true, "lhs": "wt", "mode": "n", "rhs": "Twilight"}, {"desc": "Suggestions", "noremap": true, "lhs": "ws", "mode": "n", "rhs": "Telescope spell_suggest"}, {"desc": "Write and Quit", "noremap": true, "lhs": "wq", "mode": "n", "rhs": "wq"}, {"desc": "Prev Misspell", "noremap": true, "lhs": "wk", "mode": "n", "rhs": "[s"}, {"desc": "Next Misspell", "noremap": true, "lhs": "wj", "mode": "n", "rhs": "]s"}, {"desc": "Force Write", "noremap": true, "lhs": "wf", "mode": "n", "rhs": "lua require'utils'.sudo_write()"}, {"desc": "Suda Write", "noremap": true, "lhs": "wF", "mode": "n", "rhs": ":SudaWrite"}, {"desc": "Spellcheck", "noremap": true, "lhs": "wc", "mode": "n", "rhs": "set spell!"}, {"desc": "Quote", "noremap": true, "lhs": "vq", "mode": "n", "rhs": "viq"}, {"desc": "Paragraph", "noremap": true, "lhs": "vp", "mode": "n", "rhs": "vip"}, {"desc": "Bracket", "noremap": true, "lhs": "vb", "mode": "n", "rhs": "vib"}, {"desc": "Around Quote", "noremap": true, "lhs": "vQ", "mode": "n", "rhs": "vaq"}, {"desc": "Around Para", "noremap": true, "lhs": "vP", "mode": "n", "rhs": "vap"}, {"desc": "Around Bracket", "noremap": true, "lhs": "vB", "mode": "n", "rhs": "vab"}, {"desc": "Toggle Output Panel", "noremap": true, "lhs": "uO", "mode": "n", "rhs": "lua require(\"neotest\").output_panel.toggle"}, {"desc": "Stop", "noremap": true, "lhs": "us", "mode": "n", "rhs": "lua require(\"neotest\").run.stop()"}, {"desc": "Run Nearest Test", "noremap": true, "lhs": "ur", "mode": "n", "rhs": "lua require(\"neotest\").run.run()"}, {"desc": "Toggle Summary", "noremap": true, "lhs": "uS", "mode": "n", "rhs": "lua require(\"neotest\").summary.toggle"}, {"desc": "Show Output", "noremap": true, "lhs": "uo", "mode": "n", "rhs": "lua require(\"neotest\").output.open({ enter = true, auto_close = true })"}, {"desc": "Run Test File", "noremap": true, "lhs": "uf", "mode": "n", "rhs": "lua require(\"neotest\").run.run(vim.fn.expand(\"%\"))"}, {"desc": "Run Current Test", "noremap": true, "lhs": "uc", "mode": "n", "rhs": "lua require(\"neotest\").run.run()"}, {"desc": "Vertical Terminal", "noremap": true, "lhs": "tv", "mode": "n", "rhs": "Vterm"}, {"desc": "Horizontal Terminal", "noremap": true, "lhs": "th", "mode": "n", "rhs": "Sterm"}, {"desc": "Toggle Terminal", "noremap": true, "lhs": "t2", "mode": "n", "rhs": "2ToggleTerm"}, {"desc": "Toggle Terminal", "noremap": true, "lhs": "t1", "mode": "n", "rhs": "1ToggleTerm"}, {"desc": "Vertical Split", "noremap": true, "lhs": "ss", "mode": "n", "rhs": "vsplit"}, {"desc": "Close Split", "noremap": true, "lhs": "sq", "mode": "n", "rhs": "c"}, {"desc": "Previous Pane", "noremap": true, "lhs": "sp", "mode": "n", "rhs": "NavigatorPrevious"}, {"desc": "Move Right", "noremap": true, "lhs": "sl", "mode": "n", "rhs": "l"}, {"desc": "Move Up", "noremap": true, "lhs": "sk", "mode": "n", "rhs": "k"}, {"desc": "Move Down", "noremap": true, "lhs": "sj", "mode": "n", "rhs": "j"}, {"desc": "Move Left", "noremap": true, "lhs": "sh", "mode": "n", "rhs": "h"}, {"desc": "First Tab", "noremap": true, "lhs": "sf", "mode": "n", "rhs": "tabfirst"}, {"desc": "Close Tab", "noremap": true, "lhs": "sc", "mode": "n", "rhs": "tabclose"}, {"desc": "Horizontal Split", "noremap": true, "lhs": "sa", "mode": "n", "rhs": "split"}, {"desc": "Previous Window", "noremap": true, "lhs": "s`", "mode": "n", "rhs": "p"}, {"desc": "Decrease window height", "noremap": true, "lhs": "s_", "mode": "n", "rhs": "resize -10"}, {"desc": "Split Right", "noremap": true, "lhs": "s\\", "mode": "n", "rhs": "v"}, {"desc": "Increase window width", "noremap": true, "lhs": "sL", "mode": "n", "rhs": "vertical resize +10"}, {"desc": "Increase window height", "noremap": true, "lhs": "sK", "mode": "n", "rhs": "resize +5"}, {"desc": "Decrease window height", "noremap": true, "lhs": "sJ", "mode": "n", "rhs": "resize -5"}, {"desc": "Decrease window width", "noremap": true, "lhs": "sH", "mode": "n", "rhs": "vertical resize -10"}, {"desc": "Increase window width", "noremap": true, "lhs": "s=", "mode": "n", "rhs": "vertical resize +20"}, {"desc": "Split Below", "noremap": true, "lhs": "s/", "mode": "n", "rhs": "s"}, {"desc": "Decrease window width", "noremap": true, "lhs": "s-", "mode": "n", "rhs": "vertical resize -20"}, {"desc": "Increase window height", "noremap": true, "lhs": "s+", "mode": "n", "rhs": "resize +10"}, {"desc": "Replace Word", "noremap": true, "lhs": "rw", "mode": "n", "rhs": "lua require('spectre').open_visual({select_word=true})"}, {"desc": "Extract Variable", "noremap": true, "lhs": "rv", "mode": "n", "rhs": "lua require('refactoring').refactor('Extract Variable')"}, {"desc": "Replace Word", "noremap": true, "lhs": "rs", "mode": "n", "rhs": ":%s/\\\\>//gI"}, {"desc": "Smart Rename", "noremap": true, "lhs": "rr", "mode": "n", "rhs": ""}, {"desc": "Swap Previous", "noremap": true, "lhs": "rp", "mode": "n", "rhs": ""}, {"desc": "Swap Next", "noremap": true, "lhs": "rn", "mode": "n", "rhs": ""}, {"desc": "List Definition", "noremap": true, "lhs": "rl", "mode": "n", "rhs": ""}, {"desc": "Previous Usage", "noremap": true, "lhs": "rk", "mode": "n", "rhs": ""}, {"desc": "Next Usage", "noremap": true, "lhs": "rj", "mode": "n", "rhs": ""}, {"desc": "Inline Variable", "noremap": true, "lhs": "ri", "mode": "n", "rhs": "lua require('refactoring').refactor('Inline Variable')"}, {"desc": "List Definition Head", "noremap": true, "lhs": "rh", "mode": "n", "rhs": ""}, {"desc": "Extract To File", "noremap": true, "lhs": "rf", "mode": "n", "rhs": "lua require('refactoring').refactor('Extract Block To File')"}, {"desc": "Extract Block", "noremap": true, "lhs": "re", "mode": "n", "rhs": "lua require('refactoring').refactor('Extract Block')"}, {"desc": "Go To Definition", "noremap": true, "lhs": "rd", "mode": "n", "rhs": ""}, {"desc": "Replace Buffer", "noremap": true, "lhs": "rb", "mode": "n", "rhs": "lua require('spectre').open_file_search()"}, {"desc": "Replace", "noremap": true, "lhs": "rS", "mode": "n", "rhs": "lua require('spectre').open()"}, {"desc": "Refactor Commands", "noremap": true, "lhs": "rR", "mode": "n", "rhs": "lua require('telescope').extensions.refactoring.refactors()"}, {"desc": "Code Runner", "noremap": true, "lhs": "rc", "mode": "n", "rhs": ""}, {"desc": "Write and Quit", "noremap": true, "lhs": "qw", "mode": "n", "rhs": "wq"}, {"desc": "Close Split", "noremap": true, "lhs": "qs", "mode": "n", "rhs": "c"}, {"desc": "Quit", "noremap": true, "lhs": "qq", "mode": "n", "rhs": "q"}, {"desc": "Close Others", "noremap": true, "lhs": "qo", "mode": "n", "rhs": ":%bdelete|b#|bdelete#"}, {"desc": "Force Quit", "noremap": true, "lhs": "qf", "mode": "n", "rhs": "qall!"}, {"desc": "Delete Buffer", "noremap": true, "lhs": "qd", "mode": "n", "rhs": "bdelete"}, {"desc": "Close Buffer", "noremap": true, "lhs": "qc", "mode": "n", "rhs": "bw"}, {"desc": "Quit All", "noremap": true, "lhs": "qa", "mode": "n", "rhs": "qall"}, {"desc": "Save ASCII code snapshot into clipboard", "noremap": true, "lhs": "pi", "mode": "x", "rhs": "CodeSnapASCII"}, {"desc": "Save selected code snapshot in ~/Pictures", "noremap": true, "lhs": "ps", "mode": "x", "rhs": "CodeSnapSave"}, {"desc": "Save selected code snapshot into clipboard", "noremap": true, "lhs": "py", "mode": "x", "rhs": "CodeSnap"}, {"desc": "All Options", "noremap": true, "lhs": "oo", "mode": "n", "rhs": "Telescope vim_options"}, {"desc": "Relative Numbers", "noremap": true, "lhs": "on", "mode": "n", "rhs": "set relativenumber!"}, {"desc": "Highlight Colors", "noremap": true, "lhs": "oh", "mode": "n", "rhs": "Telescope highlights"}, {"desc": "Colorscheme", "noremap": true, "lhs": "oc", "mode": "n", "rhs": "Telescope colorscheme"}, {"desc": "Don't Save Current Session", "noremap": true, "lhs": "md", "mode": "n", "rhs": ""}, {"desc": "Restore Last Session", "noremap": true, "lhs": "ml", "mode": "n", "rhs": ""}, {"desc": "Restore Session", "noremap": true, "lhs": "ms", "mode": "n", "rhs": ""}, {"desc": "Peek Type Definition", "noremap": true, "lhs": "lt", "mode": "n", "rhs": "Lspsaga peek_type_definition"}, {"desc": "Document Symbols", "noremap": true, "lhs": "ls", "mode": "n", "rhs": "Telescope lsp_document_symbols theme=get_ivy"}, {"desc": "Rename", "noremap": true, "lhs": "lr", "mode": "n", "rhs": "Lspsaga rename"}, {"desc": "Stop LSP", "noremap": true, "lhs": "lq", "mode": "n", "rhs": "LspStop"}, {"desc": "Incoming Calls", "noremap": true, "lhs": "lp", "mode": "n", "rhs": "Telescope lsp_incoming_calls"}, {"desc": "Outline", "noremap": true, "lhs": "lo", "mode": "n", "rhs": "Lspsaga outline"}, {"desc": "File Diagnostics", "noremap": true, "lhs": "ll", "mode": "n", "rhs": "Telescope diagnostics layout_strategy=vertical"}, {"desc": "Prev Diagnostic", "noremap": true, "lhs": "lk", "mode": "n", "rhs": "Lspsaga diagnostic_jump_prev"}, {"desc": "Next Diagnostic", "noremap": true, "lhs": "lj", "mode": "n", "rhs": "Lspsaga diagnostic_jump_next"}, {"desc": "LSP Info", "noremap": true, "lhs": "li", "mode": "n", "rhs": "LspInfo"}, {"desc": "Hover", "noremap": true, "lhs": "lh", "mode": "n", "rhs": "Lspsaga hover_doc"}, {"desc": "Goto Definition", "noremap": true, "lhs": "lg", "mode": "n", "rhs": "Lspsaga goto_definition"}, {"desc": "Finder", "noremap": true, "lhs": "lf", "mode": "n", "rhs": "Lspsaga finder"}, {"desc": "Peek Definition", "noremap": true, "lhs": "ld", "mode": "n", "rhs": "Lspsaga peek_definition"}, {"desc": "Code Action", "noremap": true, "lhs": "la", "mode": "n", "rhs": "Lspsaga code_action"}, {"desc": "Goto Type Definition", "noremap": true, "lhs": "lT", "mode": "n", "rhs": "Lspsaga goto_type_definition"}, {"desc": "Workspace Symbols", "noremap": true, "lhs": "lS", "mode": "n", "rhs": "Telescope lsp_dynamic_workspace_symbols"}, {"desc": "Replace", "noremap": true, "lhs": "lR", "mode": "n", "rhs": "Lspsaga project_replace"}, {"desc": "Restart LSP", "noremap": true, "lhs": "lQ", "mode": "n", "rhs": "LspRestart"}, {"desc": "Outgoing Calls", "noremap": true, "lhs": "lP", "mode": "n", "rhs": "Telescope lsp_outgoing_calls"}, {"desc": "Workspace Diagnostics", "noremap": true, "lhs": "lL", "mode": "n", "rhs": "Lspsaga show_workspace_diagnostics"}, {"desc": "References", "noremap": true, "lhs": "lF", "mode": "n", "rhs": "Telescope lsp_references layout_strategy=vertical"}, {"desc": "Toggle keys", "noremap": true, "lhs": "kt", "mode": "n", "rhs": "Screenkey"}, {"desc": "Current Word", "noremap": true, "lhs": "jw", "mode": "n", "rhs": "lua require(\"flash\").jump({ pattern = vim.fn.expand(\"cword>\")})"}, {"desc": "Remote Treesitter", "noremap": true, "lhs": "jt", "mode": "n", "rhs": "lua require('flash').treesitter_search()"}, {"desc": "Search", "noremap": true, "lhs": "js", "mode": "n", "rhs": "lua require('flash').jump()"}, {"desc": "Previous Jump", "noremap": true, "lhs": "jp", "mode": "n", "rhs": "lua require('flash').jump({continue = true})"}, {"desc": "Search Forward", "noremap": true, "lhs": "jn", "mode": "n", "rhs": "lua require('flash').jump({search = { forward = true, wrap = false, multi_window = false },})"}, {"desc": "Forward", "noremap": true, "lhs": "jl", "mode": "n", "rhs": ""}, {"desc": "Treesitter", "noremap": true, "lhs": "jk", "mode": "n", "rhs": "lua require('flash').treesitter()"}, {"desc": "Remote", "noremap": true, "lhs": "jj", "mode": "n", "rhs": "lua require('flash').remote()"}, {"desc": "Backward", "noremap": true, "lhs": "jh", "mode": "n", "rhs": ""}, {"desc": "Jumplist", "noremap": true, "lhs": "jf", "mode": "n", "rhs": "Telescope jumplist"}, {"desc": "Diagnostics", "noremap": true, "lhs": "jd", "mode": "n", "rhs": "FlashDiagnostics"}, {"desc": "Word", "noremap": true, "lhs": "jc", "mode": "n", "rhs": "*"}, {"desc": "Search Backward", "noremap": true, "lhs": "jN", "mode": "n", "rhs": "lua require('flash').jump({search = { forward = false, wrap = false, multi_window = false },})"}, {"desc": "Time", "noremap": true, "lhs": "it", "mode": "n", "rhs": "put =strftime('## %r')"}, {"desc": "Registers", "noremap": true, "lhs": "ir", "mode": "n", "rhs": "Telescope registers"}, {"desc": "Relative Path", "noremap": true, "lhs": "ip", "mode": "n", "rhs": "put %"}, {"desc": "Nerd Glyphs", "noremap": true, "lhs": "in", "mode": "n", "rhs": "Nerdy"}, {"desc": "File Name", "noremap": true, "lhs": "if", "mode": "n", "rhs": "put =expand('%:t')"}, {"desc": "Emojis", "noremap": true, "lhs": "ie", "mode": "n", "rhs": "Telescope symbols"}, {"desc": "Date", "noremap": true, "lhs": "id", "mode": "n", "rhs": "put =strftime('## %a, %d %b, %Y, %r')"}, {"desc": "Absolute Path", "noremap": true, "lhs": "iP", "mode": "n", "rhs": "put %:p"}, {"desc": "Man Pages", "noremap": true, "lhs": "hm", "mode": "n", "rhs": "Telescope man_pages"}, {"desc": "Hover Doc", "noremap": true, "lhs": "hk", "mode": "n", "rhs": "Lspsaga hover_doc"}, {"desc": "Inspect Position", "noremap": true, "lhs": "hi", "mode": "n", "rhs": "vim.show_pos"}, {"desc": "Help Pages", "noremap": true, "lhs": "hh", "mode": "n", "rhs": "Telescope help_tags"}, {"desc": "Fuzzy Find in File", "noremap": true, "lhs": "fs", "mode": "n", "rhs": "Telescope current_buffer_fuzzy_find"}, {"desc": "Quickfix", "noremap": true, "lhs": "fq", "mode": "n", "rhs": "Telescope quickfix"}, {"desc": "Undo History", "noremap": true, "lhs": "fu", "mode": "n", "rhs": "Telescope undo"}, {"desc": "Diagnostics", "noremap": true, "lhs": "fd", "mode": "n", "rhs": "Telescope diagnostics"}, {"desc": "Search History", "noremap": true, "lhs": "ks", "mode": "n", "rhs": "Telescope search_history"}, {"desc": "Command History", "noremap": true, "lhs": "kh", "mode": "n", "rhs": "Telescope command_history"}, {"desc": "Commands", "noremap": true, "lhs": "kc", "mode": "n", "rhs": "Telescope commands"}, {"desc": "Keymaps", "noremap": true, "lhs": "kk", "mode": "n", "rhs": "Telescope keymaps"}, {"desc": "Grep String", "noremap": true, "lhs": "fG", "mode": "n", "rhs": "Telescope grep_string"}, {"desc": "Find Highlight Groups", "noremap": true, "lhs": "fH", "mode": "n", "rhs": "Telescope highlights"}, {"desc": "Marks", "noremap": true, "lhs": "fm", "mode": "n", "rhs": "Telescope marks"}, {"desc": "Old Recent Files", "noremap": true, "lhs": "fo", "mode": "n", "rhs": "Telescope oldfiles"}, {"desc": "Find Help", "noremap": true, "lhs": "fh", "mode": "n", "rhs": "Telescope help_tags"}, {"desc": "Buffers", "noremap": true, "lhs": "fb", "mode": "n", "rhs": "Telescope buffers"}, {"desc": "Live Grep", "noremap": true, "lhs": "fg", "mode": "n", "rhs": "Telescope live_grep"}, {"desc": "Find Files (CWD)", "noremap": true, "lhs": "ff", "mode": "n", "rhs": "Telescope find_files"}, {"desc": "New File", "noremap": true, "lhs": "en", "mode": "n", "rhs": "new"}, {"desc": "Readme", "noremap": true, "lhs": "em", "mode": "n", "rhs": "e README.md"}, {"desc": "File Browser", "noremap": true, "lhs": "ef", "mode": "n", "rhs": "Telescope file_browser"}, {"desc": "Left File Explorer", "noremap": true, "lhs": "eE", "mode": "n", "rhs": ":Neotree toggle left"}, {"desc": "Float File Explorer", "noremap": true, "lhs": "ee", "mode": "n", "rhs": ":Neotree toggle float"}, {"desc": "Config Dir", "noremap": true, "lhs": "ed", "mode": "n", "rhs": "lua require(\"telescope.builtin\").find_files({cwd = vim.fn.stdpath(\"config\")})"}, {"desc": "Config", "noremap": true, "lhs": "ec", "mode": "n", "rhs": "e $MYVIMRC"}, {"desc": "Alternate File", "noremap": true, "lhs": "ea", "mode": "n", "rhs": "b#"}, {"desc": "DB Last query", "noremap": true, "lhs": "dl", "mode": "n", "rhs": "DBUILastQueryInfo"}, {"desc": "DB Rename buffer", "noremap": true, "lhs": "dr", "mode": "n", "rhs": "DBUIRenameBuffer"}, {"desc": "DB Find buffer", "noremap": true, "lhs": "db", "mode": "n", "rhs": "DBUIFindBuffer"}, {"desc": "Toggle DB UI", "noremap": true, "lhs": "du", "mode": "n", "rhs": "DBUIToggle"}, {"desc": "Delete Comment Style", "noremap": true, "lhs": "Cd", "mode": "n", "rhs": "CBd"}, {"desc": "Catalog", "noremap": true, "lhs": "Cc", "mode": "n", "rhs": "CBcatalog"}, {"desc": "Marked", "noremap": true, "lhs": "Cm", "mode": "n", "rhs": "CBllbox14"}, {"desc": "Line", "noremap": true, "lhs": "Cl", "mode": "n", "rhs": "CBline"}, {"desc": "Tiled line", "noremap": true, "lhs": "Ct", "mode": "n", "rhs": "CBllline"}, {"desc": "Comment Box", "noremap": true, "lhs": "Cb", "mode": "n", "rhs": "CBccbox"}, {"desc": "Reload Module", "noremap": true, "lhs": "cr", "mode": "n", "rhs": "Telescope reloader"}, {"desc": "Pick Color", "noremap": true, "lhs": "cp", "mode": "n", "rhs": "CccPick"}, {"desc": "Dashboard", "noremap": true, "lhs": "co", "mode": "n", "rhs": "Dashboard"}, {"desc": "Notifications", "noremap": true, "lhs": "cn", "mode": "n", "rhs": "Telescope notify"}, {"desc": "Markdown Preview", "noremap": true, "lhs": "cm", "mode": "n", "rhs": "MarkdownPreviewToggle"}, {"desc": "Clean Empty Lines", "noremap": true, "lhs": "cl", "mode": "n", "rhs": ":g/^\\s*$/d"}, {"desc": "Hardtime", "noremap": true, "lhs": "ch", "mode": "n", "rhs": "Hardtime toggle"}, {"desc": "Root Directory", "noremap": true, "lhs": "cd", "mode": "n", "rhs": "RootDir"}, {"desc": "Highlight Colors", "noremap": true, "lhs": "cc", "mode": "n", "rhs": "CccHighlighterToggle"}, {"desc": "Reload Configs", "noremap": true, "lhs": "cR", "mode": "n", "rhs": "ReloadConfig"}, {"desc": "Convert Color", "noremap": true, "lhs": "cP", "mode": "n", "rhs": "CccConvert"}, {"desc": "Fix Tabs", "noremap": true, "lhs": "cF", "mode": "n", "rhs": "retab"}, {"desc": "Toggle Alternate", "noremap": true, "lhs": "a", "mode": "n", "rhs": "Alternate"}, {"desc": "Exit", "noremap": true, "lhs": "bx", "mode": "n", "rhs": "DapTerminate"}, {"desc": "Debugger", "noremap": true, "lhs": "bt", "mode": "n", "rhs": "DapUIToggle"}, {"desc": "Repl", "noremap": true, "lhs": "br", "mode": "n", "rhs": "DapToggleRepl"}, {"desc": "Over", "noremap": true, "lhs": "bo", "mode": "n", "rhs": "DapStepOver"}, {"desc": "Last", "noremap": true, "lhs": "bl", "mode": "n", "rhs": "lua require'dap'.run_last()"}, {"desc": "Into", "noremap": true, "lhs": "bi", "mode": "n", "rhs": "DapStepInto"}, {"desc": "Continue", "noremap": true, "lhs": "bc", "mode": "n", "rhs": "DapContinue"}, {"desc": "Breakpoint", "noremap": true, "lhs": "bb", "mode": "n", "rhs": "DapToggleBreakpoint"}, {"desc": "Restart Frame", "noremap": true, "lhs": "bR", "mode": "n", "rhs": "DapRestartFrame"}, {"desc": "Out", "noremap": true, "lhs": "bO", "mode": "n", "rhs": "DapStepOut"}, {"desc": "Dismiss All Notifications", "noremap": true, "lhs": "mn", "mode": "n", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "mt", "mode": "n", "rhs": "lua require(\"onedark\").toggle()"}, {"desc": "", "noremap": false, "lhs": "/", "mode": "v", "rhs": "gcc"}, {"desc": "", "noremap": false, "lhs": "/", "mode": "n", "rhs": "gcc"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": ""}, {"desc": ":help v_#-default", "noremap": true, "lhs": "#", "mode": "x", "rhs": ""}, {"desc": "", "noremap": false, "lhs": "%", "mode": "x", "rhs": "(MatchitVisualForward)"}, {"desc": "", "noremap": false, "lhs": "%", "mode": "n", "rhs": "(MatchitNormalForward)"}, {"desc": ":help &-default", "noremap": true, "lhs": "&", "mode": "n", "rhs": ":&&"}, {"desc": ":help v_star-default", "noremap": true, "lhs": "*", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "-", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "-", "mode": "n", "rhs": ""}, {"desc": "Highlight and snapshot selected code into clipboard", "noremap": true, "lhs": "h", "mode": "x", "rhs": "CodeSnapHighlight"}, {"desc": "", "noremap": true, "lhs": "<", "mode": "v", "rhs": "gv"}, {"desc": "", "noremap": true, "lhs": "=", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "=", "mode": "n", "rhs": ""}, {"desc": "", "noremap": true, "lhs": ">", "mode": "v", "rhs": ">gv"}, {"desc": ":help v_@-default", "noremap": true, "lhs": "@", "mode": "x", "rhs": "mode() ==# 'V' ? ':normal! @'.getcharstr().'' : '@'"}, {"desc": "Previous Buffer", "noremap": true, "lhs": "H", "mode": "n", "rhs": "bprevious"}, {"desc": "", "noremap": true, "lhs": "J", "mode": "x", "rhs": ":move '>+1gv-gv"}, {"desc": "", "noremap": true, "lhs": "J", "mode": "n", "rhs": "mzJ`z"}, {"desc": "LSP Hover", "noremap": true, "lhs": "K", "mode": "n", "rhs": "Lspsaga hover_doc"}, {"desc": "", "noremap": true, "lhs": "K", "mode": "x", "rhs": ":move '-2gv-gv"}, {"desc": "Next Buffer", "noremap": true, "lhs": "L", "mode": "n", "rhs": "bnext"}, {"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": "(YankyPutBefore)"}, {"desc": "Put yanked text before cursor", "noremap": true, "lhs": "P", "mode": "n", "rhs": "(YankyPutBefore)"}, {"desc": "Force Quit!", "noremap": true, "lhs": "Q", "mode": "n", "rhs": "qall!"}, {"desc": ":help v_Q-default", "noremap": true, "lhs": "Q", "mode": "x", "rhs": "mode() ==# 'V' ? ':normal! @=reg_recorded()' : 'Q'"}, {"desc": "Flash Treesitter", "noremap": true, "lhs": "S", "mode": "x", "rhs": ""}, {"desc": "Flash Treesitter", "noremap": true, "lhs": "S", "mode": "n", "rhs": ""}, {"desc": "Redo", "noremap": true, "lhs": "U", "mode": "n", "rhs": "redo"}, {"desc": ":help Y-default", "noremap": true, "lhs": "Y", "mode": "n", "rhs": "y$"}, {"desc": "Git Hunk", "noremap": true, "lhs": "[g", "mode": "n", "rhs": "Gitsigns prev_hunk"}, {"desc": "Edit", "noremap": true, "lhs": "[e", "mode": "n", "rhs": "g;"}, {"desc": "Undo backward", "noremap": true, "lhs": "[u", "mode": "n", "rhs": "lua MiniBracketed.undo('backward')"}, {"desc": "Undo first", "noremap": true, "lhs": "[U", "mode": "n", "rhs": "lua MiniBracketed.undo('first')"}, {"desc": "Treesitter backward", "noremap": true, "lhs": "[n", "mode": "x", "rhs": "lua MiniBracketed.treesitter('backward')"}, {"desc": "Treesitter backward", "noremap": true, "lhs": "[n", "mode": "n", "rhs": "lua MiniBracketed.treesitter('backward')"}, {"desc": "Treesitter first", "noremap": true, "lhs": "[N", "mode": "x", "rhs": "lua MiniBracketed.treesitter('first')"}, {"desc": "Treesitter first", "noremap": true, "lhs": "[N", "mode": "n", "rhs": "lua MiniBracketed.treesitter('first')"}, {"desc": "Location backward", "noremap": true, "lhs": "[l", "mode": "n", "rhs": "lua MiniBracketed.location('backward')"}, {"desc": "Location first", "noremap": true, "lhs": "[L", "mode": "n", "rhs": "lua MiniBracketed.location('first')"}, {"desc": "Oldfile backward", "noremap": true, "lhs": "[o", "mode": "n", "rhs": "lua MiniBracketed.oldfile('backward')"}, {"desc": "Oldfile first", "noremap": true, "lhs": "[O", "mode": "n", "rhs": "lua MiniBracketed.oldfile('first')"}, {"desc": "Jump", "noremap": true, "lhs": "[j", "mode": "n", "rhs": ""}, {"desc": "Jump first", "noremap": true, "lhs": "[J", "mode": "n", "rhs": "lua MiniBracketed.jump('first')"}, {"desc": "Indent backward", "noremap": true, "lhs": "[i", "mode": "x", "rhs": "lua MiniBracketed.indent('backward')"}, {"desc": "Indent backward", "noremap": true, "lhs": "[i", "mode": "n", "rhs": "lua MiniBracketed.indent('backward')"}, {"desc": "Indent first", "noremap": true, "lhs": "[I", "mode": "x", "rhs": "lua MiniBracketed.indent('first')"}, {"desc": "Indent first", "noremap": true, "lhs": "[I", "mode": "n", "rhs": "lua MiniBracketed.indent('first')"}, {"desc": "Diagnostic backward", "noremap": true, "lhs": "[d", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('backward')"}, {"desc": "Diagnostic first", "noremap": true, "lhs": "[D", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('first')"}, {"desc": "Diagnostic first", "noremap": true, "lhs": "[D", "mode": "n", "rhs": "lua MiniBracketed.diagnostic('first')"}, {"desc": "Conflict backward", "noremap": true, "lhs": "[x", "mode": "x", "rhs": "lua MiniBracketed.conflict('backward')"}, {"desc": "Conflict backward", "noremap": true, "lhs": "[x", "mode": "n", "rhs": "lua MiniBracketed.conflict('backward')"}, {"desc": "Conflict first", "noremap": true, "lhs": "[X", "mode": "x", "rhs": "lua MiniBracketed.conflict('first')"}, {"desc": "Conflict first", "noremap": true, "lhs": "[X", "mode": "n", "rhs": "lua MiniBracketed.conflict('first')"}, {"desc": "Comment backward", "noremap": true, "lhs": "[c", "mode": "x", "rhs": "lua MiniBracketed.comment('backward')"}, {"desc": "Comment backward", "noremap": true, "lhs": "[c", "mode": "n", "rhs": "lua MiniBracketed.comment('backward')"}, {"desc": "Comment first", "noremap": true, "lhs": "[C", "mode": "x", "rhs": "lua MiniBracketed.comment('first')"}, {"desc": "Comment first", "noremap": true, "lhs": "[C", "mode": "n", "rhs": "lua MiniBracketed.comment('first')"}, {"desc": "Buffer", "noremap": true, "lhs": "[b", "mode": "n", "rhs": "bprevious"}, {"desc": "First Buffer", "noremap": true, "lhs": "[B", "mode": "n", "rhs": "bfirst"}, {"desc": "", "noremap": false, "lhs": "[%", "mode": "x", "rhs": "(MatchitVisualMultiBackward)"}, {"desc": "", "noremap": false, "lhs": "[%", "mode": "n", "rhs": "(MatchitNormalMultiBackward)"}, {"desc": "Diagnostic", "noremap": true, "lhs": "[d", "mode": "n", "rhs": "Lspsaga diagnostic_jump_prev"}, {"desc": "Git Hunk", "noremap": true, "lhs": "]g", "mode": "n", "rhs": "Gitsigns next_hunk"}, {"desc": "Edit", "noremap": true, "lhs": "]e", "mode": "n", "rhs": "g,"}, {"desc": "Undo forward", "noremap": true, "lhs": "]u", "mode": "n", "rhs": "lua MiniBracketed.undo('forward')"}, {"desc": "Undo last", "noremap": true, "lhs": "]U", "mode": "n", "rhs": "lua MiniBracketed.undo('last')"}, {"desc": "Treesitter forward", "noremap": true, "lhs": "]n", "mode": "x", "rhs": "lua MiniBracketed.treesitter('forward')"}, {"desc": "Treesitter forward", "noremap": true, "lhs": "]n", "mode": "n", "rhs": "lua MiniBracketed.treesitter('forward')"}, {"desc": "Treesitter last", "noremap": true, "lhs": "]N", "mode": "x", "rhs": "lua MiniBracketed.treesitter('last')"}, {"desc": "Treesitter last", "noremap": true, "lhs": "]N", "mode": "n", "rhs": "lua MiniBracketed.treesitter('last')"}, {"desc": "Location forward", "noremap": true, "lhs": "]l", "mode": "n", "rhs": "lua MiniBracketed.location('forward')"}, {"desc": "Location last", "noremap": true, "lhs": "]L", "mode": "n", "rhs": "lua MiniBracketed.location('last')"}, {"desc": "Oldfile forward", "noremap": true, "lhs": "]o", "mode": "n", "rhs": "lua MiniBracketed.oldfile('forward')"}, {"desc": "Oldfile last", "noremap": true, "lhs": "]O", "mode": "n", "rhs": "lua MiniBracketed.oldfile('last')"}, {"desc": "Jump", "noremap": true, "lhs": "]j", "mode": "n", "rhs": ""}, {"desc": "Jump last", "noremap": true, "lhs": "]J", "mode": "n", "rhs": "lua MiniBracketed.jump('last')"}, {"desc": "Indent forward", "noremap": true, "lhs": "]i", "mode": "x", "rhs": "lua MiniBracketed.indent('forward')"}, {"desc": "Indent forward", "noremap": true, "lhs": "]i", "mode": "n", "rhs": "lua MiniBracketed.indent('forward')"}, {"desc": "Indent last", "noremap": true, "lhs": "]I", "mode": "x", "rhs": "lua MiniBracketed.indent('last')"}, {"desc": "Indent last", "noremap": true, "lhs": "]I", "mode": "n", "rhs": "lua MiniBracketed.indent('last')"}, {"desc": "Diagnostic forward", "noremap": true, "lhs": "]d", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('forward')"}, {"desc": "Diagnostic last", "noremap": true, "lhs": "]D", "mode": "x", "rhs": "lua MiniBracketed.diagnostic('last')"}, {"desc": "Diagnostic last", "noremap": true, "lhs": "]D", "mode": "n", "rhs": "lua MiniBracketed.diagnostic('last')"}, {"desc": "Conflict forward", "noremap": true, "lhs": "]x", "mode": "x", "rhs": "lua MiniBracketed.conflict('forward')"}, {"desc": "Conflict forward", "noremap": true, "lhs": "]x", "mode": "n", "rhs": "lua MiniBracketed.conflict('forward')"}, {"desc": "Conflict last", "noremap": true, "lhs": "]X", "mode": "x", "rhs": "lua MiniBracketed.conflict('last')"}, {"desc": "Conflict last", "noremap": true, "lhs": "]X", "mode": "n", "rhs": "lua MiniBracketed.conflict('last')"}, {"desc": "Comment forward", "noremap": true, "lhs": "]c", "mode": "x", "rhs": "lua MiniBracketed.comment('forward')"}, {"desc": "Comment forward", "noremap": true, "lhs": "]c", "mode": "n", "rhs": "lua MiniBracketed.comment('forward')"}, {"desc": "Comment last", "noremap": true, "lhs": "]C", "mode": "x", "rhs": "lua MiniBracketed.comment('last')"}, {"desc": "Comment last", "noremap": true, "lhs": "]C", "mode": "n", "rhs": "lua MiniBracketed.comment('last')"}, {"desc": "Buffer", "noremap": true, "lhs": "]b", "mode": "n", "rhs": "bnext"}, {"desc": "Buffer", "noremap": true, "lhs": "]B", "mode": "n", "rhs": "blast"}, {"desc": "", "noremap": false, "lhs": "]%", "mode": "x", "rhs": "(MatchitVisualMultiForward)"}, {"desc": "", "noremap": false, "lhs": "]%", "mode": "n", "rhs": "(MatchitNormalMultiForward)"}, {"desc": "Diagnostic", "noremap": true, "lhs": "]d", "mode": "n", "rhs": "Lspsaga diagnostic_jump_next"}, {"desc": "Around last textobject", "noremap": false, "lhs": "al", "mode": "x", "rhs": ""}, {"desc": "Around next textobject", "noremap": false, "lhs": "an", "mode": "x", "rhs": ""}, {"desc": "Around textobject", "noremap": false, "lhs": "a", "mode": "x", "rhs": ""}, {"desc": "", "noremap": false, "lhs": "a%", "mode": "x", "rhs": "(MatchitVisualTextObject)"}, {"desc": "Change without replacing clipboad", "noremap": true, "lhs": "c", "mode": "n", "rhs": "\"_c"}, {"desc": "Delete without replacing clipboad", "noremap": true, "lhs": "d", "mode": "n", "rhs": "\"_d"}, {"desc": "Put yanked text before selection", "noremap": true, "lhs": "gP", "mode": "x", "rhs": "(YankyGPutBefore)"}, {"desc": "Put yanked text before selection", "noremap": true, "lhs": "gP", "mode": "n", "rhs": "(YankyGPutBefore)"}, {"desc": "Put yanked text after selection", "noremap": true, "lhs": "gp", "mode": "x", "rhs": "(YankyGPutAfter)"}, {"desc": "Put yanked text after selection", "noremap": true, "lhs": "gp", "mode": "n", "rhs": "(YankyGPutAfter)"}, {"desc": "Highlight next surrounding", "noremap": true, "lhs": "gshn", "mode": "n", "rhs": ""}, {"desc": "Find next left surrounding", "noremap": true, "lhs": "gsFn", "mode": "n", "rhs": ""}, {"desc": "Find next right surrounding", "noremap": true, "lhs": "gsfn", "mode": "n", "rhs": ""}, {"desc": "Replace next surrounding", "noremap": true, "lhs": "gsrn", "mode": "n", "rhs": ""}, {"desc": "Delete next surrounding", "noremap": true, "lhs": "gsdn", "mode": "n", "rhs": ""}, {"desc": "Highlight previous surrounding", "noremap": true, "lhs": "gshl", "mode": "n", "rhs": ""}, {"desc": "Find previous left surrounding", "noremap": true, "lhs": "gsFl", "mode": "n", "rhs": ""}, {"desc": "Find previous right surrounding", "noremap": true, "lhs": "gsfl", "mode": "n", "rhs": ""}, {"desc": "Replace previous surrounding", "noremap": true, "lhs": "gsrl", "mode": "n", "rhs": ""}, {"desc": "Delete previous surrounding", "noremap": true, "lhs": "gsdl", "mode": "n", "rhs": ""}, {"desc": "Add surrounding to selection", "noremap": true, "lhs": "gsa", "mode": "x", "rhs": ":lua MiniSurround.add('visual')"}, {"desc": "Update `MiniSurround.config.n_lines`", "noremap": true, "lhs": "gsn", "mode": "n", "rhs": ""}, {"desc": "Highlight surrounding", "noremap": true, "lhs": "gsh", "mode": "n", "rhs": ""}, {"desc": "Find left surrounding", "noremap": true, "lhs": "gsF", "mode": "n", "rhs": ""}, {"desc": "Find right surrounding", "noremap": true, "lhs": "gsf", "mode": "n", "rhs": ""}, {"desc": "Replace surrounding", "noremap": true, "lhs": "gsr", "mode": "n", "rhs": ""}, {"desc": "Delete surrounding", "noremap": true, "lhs": "gsd", "mode": "n", "rhs": ""}, {"desc": "Add surrounding", "noremap": true, "lhs": "gsa", "mode": "n", "rhs": ""}, {"desc": "Move to right \"around\"", "noremap": false, "lhs": "g]", "mode": "x", "rhs": ""}, {"desc": "Move to right \"around\"", "noremap": false, "lhs": "g]", "mode": "n", "rhs": ""}, {"desc": "Move to left \"around\"", "noremap": false, "lhs": "g[", "mode": "x", "rhs": ""}, {"desc": "Move to left \"around\"", "noremap": false, "lhs": "g[", "mode": "n", "rhs": ""}, {"desc": "", "noremap": false, "lhs": "g%", "mode": "x", "rhs": "(MatchitVisualBackward)"}, {"desc": "", "noremap": false, "lhs": "g%", "mode": "n", "rhs": "(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": ""}, {"desc": "Comment selection", "noremap": true, "lhs": "gc", "mode": "x", "rhs": ""}, {"desc": "Comment", "noremap": true, "lhs": "gc", "mode": "n", "rhs": ""}, {"desc": "Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)", "noremap": true, "lhs": "gx", "mode": "x", "rhs": ""}, {"desc": "Opens filepath or URI under cursor with the system handler (file explorer, web browser, …)", "noremap": true, "lhs": "gx", "mode": "n", "rhs": ""}, {"desc": "Inside last textobject", "noremap": false, "lhs": "il", "mode": "x", "rhs": ""}, {"desc": "Inside next textobject", "noremap": false, "lhs": "in", "mode": "x", "rhs": ""}, {"desc": "Inside textobject", "noremap": false, "lhs": "i", "mode": "x", "rhs": ""}, {"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": "(YankyPutAfter)"}, {"desc": "Put yanked text after cursor", "noremap": true, "lhs": "p", "mode": "n", "rhs": "(YankyPutAfter)"}, {"desc": "Flash", "noremap": true, "lhs": "s", "mode": "n", "rhs": ""}, {"desc": "Flash", "noremap": true, "lhs": "s", "mode": "x", "rhs": ""}, {"desc": "", "noremap": true, "lhs": "u", "mode": "n", "rhs": "ulua MiniBracketed.register_undo_state()"}, {"desc": "Cut without replacing clipboad", "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": "(YankyYank)"}, {"desc": "Yank text", "noremap": true, "lhs": "y", "mode": "n", "rhs": "(YankyYank)"}, {"desc": "Multi Edit Next", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#ctrln(v:count1)"}, {"desc": "Add Cursor Down", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_up(0, v:count1)"}, {"desc": "Add Cursor Down", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_down(0, v:count1)"}, {"desc": "Add Cursor Up", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_up(0, v:count1)"}, {"desc": "Add Cursor Down", "noremap": true, "lhs": "", "mode": "n", "rhs": ":call vm#commands#add_cursor_down(0, v:count1)"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "(YankyCycleBackward)"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "(YankyCycleForward)"}, {"desc": "Previous Buffer", "noremap": true, "lhs": "", "mode": "n", "rhs": "bprevious"}, {"desc": "Previous Pane", "noremap": true, "lhs": "", "mode": "n", "rhs": "p"}, {"desc": "Move Up", "noremap": true, "lhs": "", "mode": "n", "rhs": "k"}, {"desc": "Move Down", "noremap": true, "lhs": "", "mode": "n", "rhs": "j"}, {"desc": "Move Left", "noremap": true, "lhs": "", "mode": "n", "rhs": "h"}, {"desc": "Lazygit", "noremap": true, "lhs": "", "mode": "n", "rhs": "Fterm lazygit"}, {"desc": "Find Files", "noremap": true, "lhs": "", "mode": "n", "rhs": "Telescope find_files"}, {"desc": "Increase window height", "noremap": true, "lhs": "", "mode": "n", "rhs": "resize +10which_key.add(no_leader_mappings)"}, {"desc": "Increase window width", "noremap": true, "lhs": "", "mode": "n", "rhs": "vertical resize +10"}, {"desc": "Decrease window width", "noremap": true, "lhs": "", "mode": "n", "rhs": "vertical resize -10"}, {"desc": "Decrease window height", "noremap": true, "lhs": "", "mode": "n", "rhs": "resize -10"}, {"desc": "Move line up", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('up')"}, {"desc": "Move line down", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('down')"}, {"desc": "Move line right", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('right')"}, {"desc": "Move line left", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniMove.move_line('left')"}, {"desc": "Move up", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('up')"}, {"desc": "Move down", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('down')"}, {"desc": "Move right", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('right')"}, {"desc": "Move left", "noremap": true, "lhs": "", "mode": "x", "rhs": "lua MiniMove.move_selection('left')"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "lua MiniBracketed.register_undo_state()"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "zz"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "zz"}, {"desc": "", "noremap": true, "lhs": "", "mode": "n", "rhs": "ggVG"}, {"desc": "Show diagnostics under the cursor", "noremap": false, "lhs": "", "mode": "n", "rhs": "d"}, {"desc": "Show diagnostics under the cursor", "noremap": true, "lhs": "d", "mode": "n", "rhs": ""}, {"desc": "Move Right", "noremap": true, "lhs": "", "mode": "n", "rhs": "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": ""} \ No newline at end of file diff --git a/lua/core/options.lua b/lua/core/options.lua index 458afae..f09d8e1 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -20,6 +20,7 @@ local options = { ignorecase = true, -- ignore case in search patterns inccommand = 'split', -- preview incremental substitute laststatus = 3, + title = true, -- title for context list = false, -- listchars = { trail = "", tab = "", nbsp = "_", extends = ">", precedes = "<" }, -- highlight mouse = 'a', -- allow the mouse to be used in neovim diff --git a/lua/lock.json b/lua/lock.json index 28c9f68..5d9e061 100644 --- a/lua/lock.json +++ b/lua/lock.json @@ -1,9 +1,9 @@ { - "LuaSnip": { "branch": "master", "commit": "7ad2eaeaca56d6ed63acacbfc114b99f1f67b982" }, + "LuaSnip": { "branch": "master", "commit": "45db5addf8d0a201e1cf247cae4cdce605ad3768" }, "Navigator.nvim": { "branch": "master", "commit": "91d86506ac2a039504d5205d32a1d4bc7aa57072" }, "better-escape.nvim": { "branch": "master", "commit": "d337e02b140d909345441392de47a42d283747c1" }, "bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" }, - "ccc.nvim": { "branch": "main", "commit": "4fb5abaef2f2e0540fe22d4d74a9841205fff9e4" }, + "ccc.nvim": { "branch": "main", "commit": "790aa881d7f47bc7cc07ad03f1216bb7caf9ef67" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, @@ -12,8 +12,9 @@ "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, "codeium.vim": { "branch": "main", "commit": "1513aef682a9b3363c0bf60292e6ddc781c716ce" }, + "codesnap.nvim": { "branch": "main", "commit": "c2924bf6c9a2c2c03318fae9b7fe0706412b9d9c" }, "comment-box.nvim": { "branch": "main", "commit": "06bb771690bc9df0763d14769b779062d8f12bc5" }, - "conform.nvim": { "branch": "master", "commit": "62eba813b7501b39612146cbf29cd07f1d4ac29c" }, + "conform.nvim": { "branch": "master", "commit": "0ebe875d9c306f5fc829db38492ffff2a70d8e9d" }, "dashboard-nvim": { "branch": "master", "commit": "fabf5feec96185817c732d47d363f34034212685" }, "dotfyle-metadata.nvim": { "branch": "main", "commit": "342ef8f3f98f3ccc451c9cf2be74e95149ced05d" }, "dressing.nvim": { "branch": "master", "commit": "c5775a888adbc50652cb370073fcfec963eca93e" }, @@ -21,10 +22,10 @@ "flatten.nvim": { "branch": "main", "commit": "e420e531d2ab24aebcf7b3c9fca28e6c5c34964d" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, "hardtime.nvim": { "branch": "main", "commit": "6513bf42cd9261669d1ee41ff8b4065dfdc53a09" }, - "hlargs.nvim": { "branch": "main", "commit": "cc0d9ee75e5ffba730393049119361b9e3a5b1b6" }, + "hlargs.nvim": { "branch": "main", "commit": "9adab9f2a3270c6413b808405479caaf972be953" }, "inc-rename.nvim": { "branch": "main", "commit": "8ba77017ca468f3029bf88ef409c2d20476ea66b" }, "indent-blankline.nvim": { "branch": "master", "commit": "db926997af951da38e5004ec7b9fbdc480b48f5d" }, - "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, + "lazy.nvim": { "branch": "main", "commit": "48b52b5cfcf8f88ed0aff8fde573a5cc20b1306d" }, "lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" }, "lspsaga.nvim": { "branch": "main", "commit": "4ce44df854f447cf0a8972e5387b3aeb5efc798b" }, "lualine.nvim": { "branch": "master", "commit": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056" }, @@ -36,7 +37,7 @@ "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mini.files": { "branch": "main", "commit": "2e262838a773c0bc3ccbc9c4bcf4a1a012497ea2" }, "mini.icons": { "branch": "main", "commit": "12e7b5d47bfc1b4c5ba4278fb49ec9100138df14" }, - "mini.nvim": { "branch": "main", "commit": "b5ee41d2b8ab54f8b6b383b488e822c5cc431871" }, + "mini.nvim": { "branch": "main", "commit": "08430e1ae29d54f2cb54a7d3f9062f2f2a0b4909" }, "modes.nvim": { "branch": "main", "commit": "3188692abf02a8838ec75e59d68c2ce3e4323f5c" }, "neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" }, "neotest": { "branch": "master", "commit": "6d6ad113f56edc7c3f2a77a0836ea8c1b955ebea" }, @@ -52,20 +53,20 @@ "nvim-dap-ui": { "branch": "master", "commit": "1c351e4e417d4691da12948b6ecf966936a56d28" }, "nvim-lint": { "branch": "master", "commit": "debabca63c0905b59ce596a55a8e33eafdf66342" }, "nvim-lsp-file-operations": { "branch": "master", "commit": "92a673de7ecaa157dd230d0128def10beb56d103" }, - "nvim-lspconfig": { "branch": "master", "commit": "2a6f00ff66e276ab3289be8bb9f844f7ab385848" }, + "nvim-lspconfig": { "branch": "master", "commit": "3ad562700d0615818bf358268ac8914f6ce2b079" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-spectre": { "branch": "master", "commit": "ba7fb777edff6c1fbbeffd343e113af64c04e90a" }, - "nvim-treesitter": { "branch": "master", "commit": "7a64148896289a91cb2a92e9da3f76d5512a3fb8" }, - "nvim-treesitter-context": { "branch": "master", "commit": "0f3332788e0bd37716fbd25f39120dcfd557c90f" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "41e3abf6bfd9a9a681eb1f788bdeba91c9004b2b" }, + "nvim-treesitter": { "branch": "master", "commit": "64cc1ef764a0b137a642d05cacdfe1126124fb35" }, + "nvim-treesitter-context": { "branch": "master", "commit": "0ec9a8e00cedfb52e3c2259b55f46a7c18fc2429" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "3a3c6244553f13fdd92d312c82722b57ce6c4bec" }, "nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" }, "nvim-web-devicons": { "branch": "master", "commit": "3722e3d1fb5fe1896a104eb489e8f8651260b520" }, "odoo-snippets": { "branch": "main", "commit": "5e6b7191e3ea60bba00df6cdbc031291b194768d" }, "onedark.nvim": { "branch": "master", "commit": "fae34f7c635797f4bf62fb00e7d0516efa8abe37" }, "persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" }, "plenary.nvim": { "branch": "master", "commit": "ec289423a1693aeae6cd0d503bac2856af74edaa" }, - "rainbow-delimiters.nvim": { "branch": "master", "commit": "9f3d10e66a79e8975926f8cb930856e4930d9da4" }, + "rainbow-delimiters.nvim": { "branch": "master", "commit": "bb48714623a4fae73c42e4b318b4587464111769" }, "refactoring.nvim": { "branch": "master", "commit": "c406fc5fb4d7ba5fce7b668637075fad6e75e9f8" }, "screenkey.nvim": { "branch": "main", "commit": "b1516d5d610c89555062397d29fa7f32fc8ec431" }, "sniprun": { "branch": "master", "commit": "a29d7b1c313b00980015ad79fa0ab512a0729940" }, @@ -80,12 +81,13 @@ "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, "twilight.nvim": { "branch": "main", "commit": "1584c0b0a979b71fd86b18d302ba84e9aba85b1b" }, "ultimate-autopair.nvim": { "branch": "v0.6", "commit": "53ed7c65e466963c916251f9ce6df7dd3685dc36" }, + "vim-alternate": { "branch": "master", "commit": "57a6d2797b3bec39f5c075104082b0c0835535ed" }, "vim-dadbod": { "branch": "master", "commit": "7888cb7164d69783d3dce4e0283decd26b82538b" }, "vim-dadbod-completion": { "branch": "master", "commit": "880f7e9f2959e567c718d52550f9fae1aa07aa81" }, "vim-dadbod-ui": { "branch": "master", "commit": "2f344874918a3ab6bbe68fb866b3f003a639a5d2" }, "vim-visual-multi": { "branch": "master", "commit": "38b0e8d94a5499ccc17d6159763d32c79f53417b" }, "vim-wakatime": { "branch": "master", "commit": "53bba6bb8342de9cbdafc82142a9b5e82008d858" }, - "which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" }, + "which-key.nvim": { "branch": "main", "commit": "bfec3d6bc0a9b0b2cb11644642f78c2c3915eef0" }, "yanky.nvim": { "branch": "main", "commit": "73215b77d22ebb179cef98e7e1235825431d10e4" }, "zen-mode.nvim": { "branch": "main", "commit": "29b292bdc58b76a6c8f294c961a8bf92c5a6ebd6" } } diff --git a/lua/plugins/coding.lua b/lua/plugins/coding.lua index 0ada0a8..97147de 100644 --- a/lua/plugins/coding.lua +++ b/lua/plugins/coding.lua @@ -141,6 +141,11 @@ return { vim.keymap.set('n', 'cI', 'CodeiumToggle', { desc = 'Toggle IA (Codeium)' }) end, }, + { -- Alternate + 'ton/vim-alternate', + lazy = true, + ft = { 'cpp', 'h', 'hpp', 'c' }, + }, { 'nacro90/numb.nvim', event = 'CmdlineEnter', diff --git a/lua/plugins/configs/alpha.lua b/lua/plugins/configs/alpha.lua new file mode 100644 index 0000000..405ec4b --- /dev/null +++ b/lua/plugins/configs/alpha.lua @@ -0,0 +1,94 @@ +local alpha = require('alpha') +local dashboard = require('alpha.themes.dashboard') + +dashboard.section.header.val = { + [[ ]], + [[  ]], + [[ ████ ██████ █████ ██ ]], + [[ ███████████ █████  ]], + [[ █████████ ███████████████████ ███ ███████████ ]], + [[ █████████ ███ █████████████ █████ ██████████████ ]], + [[ █████████ ██████████ █████████ █████ █████ ████ █████ ]], + [[ ███████████ ███ ███ █████████ █████ █████ ████ █████ ]], + [[ ██████ █████████████████████ ████ █████ █████ ████ ██████ ]], + [[ ]], +} +dashboard.section.header.opts.hl = 'AlphaHeader' + +local function button(sc, txt, leader_txt, keybind, keybind_opts) + local sc_after = sc:gsub('%s', ''):gsub(leader_txt, '') + + local opts = { + position = 'center', + shortcut = sc, + cursor = 5, + width = 36, + align_shortcut = 'right', + hl_shortcut = 'AlphaShortcut', + } + + if nil == keybind then + keybind = sc_after + end + + keybind_opts = vim.F.if_nil(keybind_opts, { noremap = true, silent = true, nowait = true }) + opts.keymap = { 'n', sc_after, keybind, keybind_opts } + + local function on_press() + local key = vim.api.nvim_replace_termcodes(sc_after .. '', true, false, true) + vim.api.nvim_feedkeys(key, 't', false) + end + + return { + type = 'button', + val = txt, + on_press = on_press, + opts = opts, + } +end + +local leader = ' ' +dashboard.section.buttons.val = { + button('space f f', ' Find File ', leader, ':Telescope find_files'), + button('space f h', '󰗹 Find Hidden File ', leader, ':Telescope find_files hidden=true no_ignore=true'), + button('space f o', '󱋡 Recent File ', leader, ':Telescope oldfiles'), + button('space f w', '󱀽 Find Word ', leader, ':Telescope live_grep'), + button('space f n', '󱇧 New File ', leader, ':ene startinsert '), + button('space n', ' Settings', leader, ':e $MYVIMRC | :cd %:p:h '), + button('space l', '󰒲 Lazy', leader, ':Lazy'), + button('space q', ' Quit', leader, ':qa'), +} +dashboard.section.buttons.opts.hl = 'String' + +local function footer() + local stats = require('lazy').stats() + local ms = (math.floor(stats.startuptime * 100 + 0.5) / 100) + return '  Have fun with Neovim' .. ' 󱐋 Neovim loaded ' .. stats.count .. ' plugins in ' .. ms .. 'ms' +end + +dashboard.section.footer.val = footer() +dashboard.section.footer.opts.hl = 'AlphaFooter' + +local head_butt_padding = 2 +local occu_height = #dashboard.section.header.val + 2 * #dashboard.section.buttons.val + head_butt_padding +local header_padding = math.max(0, math.ceil((vim.fn.winheight('$') - occu_height) * 0.40)) +local foot_butt_padding = 1 + +dashboard.config.layout = { + { type = 'padding', val = header_padding }, + dashboard.section.header, + { type = 'padding', val = head_butt_padding }, + dashboard.section.buttons, + { type = 'padding', val = foot_butt_padding }, + dashboard.section.footer, +} + +alpha.setup(dashboard.opts) + +vim.api.nvim_create_autocmd('User', { + pattern = 'LazyVimStarted', + callback = function() + dashboard.section.footer.val = footer() + pcall(vim.cmd.AlphaRedraw) + end, +}) diff --git a/lua/plugins/configs/dashboard.lua b/lua/plugins/configs/dashboard.lua index 80fca53..391b0bc 100644 --- a/lua/plugins/configs/dashboard.lua +++ b/lua/plugins/configs/dashboard.lua @@ -14,7 +14,6 @@ dashboard.setup({ config = { week_header = { enable = true, - append = { '', icons.ui.Circle .. ' Learn, Make, Explore! ' .. icons.ui.Circle }, }, packages = { enable = true }, project = { enable = true, limit = 8 }, diff --git a/lua/plugins/configs/lsp.lua b/lua/plugins/configs/lsp.lua index d55509e..87a3618 100644 --- a/lua/plugins/configs/lsp.lua +++ b/lua/plugins/configs/lsp.lua @@ -18,7 +18,7 @@ local cmp_nvim_lsp = require('cmp_nvim_lsp') -- import mason_lspconfig plugin local mason_lspconfig = require('mason-lspconfig') -local keymap = vim.keymap -- for conciseness +-- local keymap = vim.keymap -- for conciseness -- vim.api.nvim_create_autocmd('LspAttach', { -- group = vim.api.nvim_create_augroup('UserLspConfig', {}), @@ -102,10 +102,15 @@ mason_lspconfig.setup({ diagnostics = { globals = { 'vim' }, }, - hint = { enable = true }, completion = { callSnippet = 'Replace', }, + workspace = { + library = { + [vim.fn.expand('$VIMRUNTIME/lua')] = true, + [vim.fn.stdpath('config') .. '/lua'] = true, + }, + }, }, }, }) diff --git a/lua/plugins/configs/lualine.lua b/lua/plugins/configs/lualine.lua index 2dcbcdd..dfb4ce3 100644 --- a/lua/plugins/configs/lualine.lua +++ b/lua/plugins/configs/lualine.lua @@ -173,7 +173,7 @@ lualine.setup({ -- section_separators = '', theme = 'onedark', disabled_filetypes = { - 'dashboard', + statusline = { 'neo-tree', 'alpha', 'dashboard', 'lspsagaoutline' }, }, }, -- extensions = { 'quickfix', 'man', 'mason', 'lazy', 'toggleterm', 'nvim-tree' }, diff --git a/lua/plugins/configs/whichkey.lua b/lua/plugins/configs/whichkey.lua index 79d2d1c..42b5473 100644 --- a/lua/plugins/configs/whichkey.lua +++ b/lua/plugins/configs/whichkey.lua @@ -53,6 +53,7 @@ local n_mappings = { { 'bx', 'DapTerminate', desc = 'Exit' }, { 'c', group = ' Code' }, + { 'a', 'Alternate', desc = 'Toggle Alternate' }, { 'cF', 'retab', desc = 'Fix Tabs' }, { 'cP', 'CccConvert', desc = 'Convert Color' }, { 'cR', 'ReloadConfig', desc = 'Reload Configs' }, @@ -217,6 +218,17 @@ local n_mappings = { { 'on', 'set relativenumber!', desc = 'Relative Numbers' }, { 'oo', 'Telescope vim_options', desc = 'All Options' }, + { 'p', group = ' ScreenShot' }, + { 'py', 'CodeSnap', mode = 'x', desc = 'Save selected code snapshot into clipboard' }, + { 'ps', 'CodeSnapSave', mode = 'x', desc = 'Save selected code snapshot in ~/Pictures' }, + { + 'h', + 'CodeSnapHighlight', + mode = 'x', + desc = 'Highlight and snapshot selected code into clipboard', + }, + { 'pi', 'CodeSnapASCII', mode = 'x', desc = 'Save ASCII code snapshot into clipboard' }, + { 'q', group = ' Quit' }, { 'qa', 'qall', desc = 'Quit All' }, { 'qc', 'bw', desc = 'Close Buffer' }, @@ -228,6 +240,30 @@ local n_mappings = { { 'qw', 'wq', desc = 'Write and Quit' }, { 'r', group = ' Refactor' }, + { + 'rc', + function() + local file_name = vim.api.nvim_buf_get_name(0) + local file_type = vim.bo.filetype + + if file_type == 'c' then + vim.cmd(':terminal gcc ' .. file_name .. '; ./a.out ') + elseif file_type == 'python' then + vim.cmd(':terminal python ' .. file_name) + elseif file_type == 'java' then + vim.cmd(':terminal javac ' .. file_name .. '; java ' .. file_name) + elseif file_type == 'lua' then + vim.cmd(':terminal lua ' .. file_name) + -- elseif file_type == 'js' then + -- vim.cmd(':terminal node ' .. file_name) + -- elseif file_type == 'rust' then + -- vim.cmd(':terminal rustc ' .. file_name .. '; ./a.out ') + -- elseif file_type == 'ts' then + -- vim.cmd(':terminal tsc ' .. file_name .. '; node ' .. file_name) + end + end, + desc = 'Code Runner', + }, { 'rR', "lua require('telescope').extensions.refactoring.refactors()", diff --git a/lua/plugins/extra.lua b/lua/plugins/extra.lua index fa028b5..a9d6fc8 100644 --- a/lua/plugins/extra.lua +++ b/lua/plugins/extra.lua @@ -113,6 +113,21 @@ return { event = { 'VimEnter' }, lazy = false, }, + { -- Codesnap + 'mistricky/codesnap.nvim', + lazy = true, + build = 'make', + opts = { + save_path = '~/Pictures/screenshots/code', + has_breadcrumbs = false, + show_workspace = false, + bg_theme = 'default', + watermark = 'S4NKALP', + code_font_family = 'Iosevka NF', + code_font_size = 12, + }, + cmd = { 'CodeSnap', 'CodeSnapSave', 'CodeSnapHighlight', 'CodeSnapASCII' }, + }, { 'mvllow/modes.nvim', event = { 'BufReadPost', 'BufNewFile' },