This commit is contained in:
sankalp committed 2023-12-30 21:19:06 +05:45
commit 0cbbf662e3
473 files changed
+40489

No files matched your search

+613
View File
@@ -0,0 +1,613 @@
# :herb: ‎ <samp>About</samp>
<!--toc:start-->
- [Plugins](#plugins)
- [Programming Language/Technology Support](#programming-languagetechnology-support)
- [Language Servers](#language-servers)
- [Linters](#linters)
- [Formatters](#formatters)
<!--toc:end-->
### Plugins
<details>
<summary><b>🤖 AI</b></summary>
- [Exafunction/codeium.nvim](https://dotfyle.com/plugins/Exafunction/codeium.nvim)
- [tzachar/cmp-tabnine](https://github.com/tzachar/cmp-tabnine)
- [jackMort/ChatGPT.nvim](https://dotfyle.com/plugins/jackMort/ChatGPT.nvim)
- [zbirenbaum/copilot.lua](https://dotfyle.com/plugins/zbirenbaum/copilot.lua)
</details>
<details>
<summary><b>📊 Bars and lines</b></summary>
- [utilyre/barbecue.nvim](https://dotfyle.com/plugins/utilyre/barbecue.nvim)
- [SmiteshP/nvim-navic](https://dotfyle.com/plugins/SmiteshP/nvim-navic)
- [Bekaboo/dropbar.nvim](https://dotfyle.com/plugins/Bekaboo/dropbar.nvim)
- [luukvbaal/statuscol.nvim](https://dotfyle.com/plugins/luukvbaal/statuscol.nvim)
</details>
<details>
<summary><b>🏃 Code runner</b></summary>
- [stevearc/overseer.nvim](https://dotfyle.com/plugins/stevearc/overseer.nvim)
- [michaelb/sniprun](https://dotfyle.com/plugins/michaelb/sniprun)
- [Civitasv/cmake-tools.nvim](https://dotfyle.com/plugins/Civitasv/cmake-tools.nvim)
- [Zeioth/compiler.nvim](https://dotfyle.com/plugins/Zeioth/compiler.nvim)
</details>
<details>
<summary><b>🖌️ Color</b></summary>
- [folke/twilight.nvim](https://dotfyle.com/plugins/folke/twilight.nvim)
- [echasnovski/mini.hipatterns](https://dotfyle.com/plugins/echasnovski/mini.hipatterns)
- [miversen33/sunglasses.nvim](https://dotfyle.com/plugins/miversen33/sunglasses.nvim)
- [xiyaowong/nvim-transparent](https://dotfyle.com/plugins/xiyaowong/nvim-transparent)
- [uga-rosa/ccc.nvim](https://dotfyle.com/plugins/uga-rosa/ccc.nvim)
</details>
<details>
<summary><b>🎨 Colorscheme</b></summary>
- [savq/melange-nvim](https://dotfyle.com/plugins/savq/melange-nvim)
- [projekt0n/github-nvim-theme](https://dotfyle.com/plugins/projekt0n/github-nvim-theme)
- [marko-cerovac/material.nvim](https://dotfyle.com/plugins/marko-cerovac/material.nvim)
- [shaunsingh/nord.nvim](https://dotfyle.com/plugins/shaunsingh/nord.nvim)
- [kaiuri/nvim-juliana](https://dotfyle.com/plugins/kaiuri/nvim-juliana)
- [Tsuzat/NeoSolarized.nvim](https://dotfyle.com/plugins/Tsuzat/NeoSolarized.nvim)
- [sainnhe/everforest](https://dotfyle.com/plugins/sainnhe/everforest)
- [folke/tokyonight.nvim](https://dotfyle.com/plugins/folke/tokyonight.nvim)
- [NTBBloodbath/doom-one.nvim](https://dotfyle.com/plugins/NTBBloodbath/doom-one.nvim)
- [catppuccin/nvim](https://dotfyle.com/plugins/catppuccin/nvim)
- [ellisonleao/gruvbox.nvim](https://dotfyle.com/plugins/ellisonleao/gruvbox.nvim)
- [nyoom-engineering/oxocarbon.nvim](https://dotfyle.com/plugins/nyoom-engineering/oxocarbon.nvim)
- [olimorris/onedarkpro.nvim](https://dotfyle.com/plugins/olimorris/onedarkpro.nvim)
- [sainnhe/sonokai](https://dotfyle.com/plugins/sainnhe/sonokai)
- [rebelot/kanagawa.nvim](https://dotfyle.com/plugins/rebelot/kanagawa.nvim)
- [rose-pine/neovim](https://dotfyle.com/plugins/rose-pine/neovim)
- [navarasu/onedark.nvim](https://dotfyle.com/plugins/navarasu/onedark.nvim)
- [Mofiqul/dracula.nvim](https://dotfyle.com/plugins/Mofiqul/dracula.nvim)
- [AlexvZyl/nordic.nvim](https://dotfyle.com/plugins/AlexvZyl/nordic.nvim)
- [olivercederborg/poimandres.nvim](https://dotfyle.com/plugins/olivercederborg/poimandres.nvim)
- [bluz71/vim-nightfly-colors](https://dotfyle.com/plugins/bluz71/vim-nightfly-colors)
- [EdenEast/nightfox.nvim](https://dotfyle.com/plugins/EdenEast/nightfox.nvim)
- [Mofiqul/vscode.nvim](https://dotfyle.com/plugins/Mofiqul/vscode.nvim)
- [echasnovski/mini.base16](https://dotfyle.com/plugins/echasnovski/mini.base16)
</details>
<details>
<summary><b>💬 Comment</b></summary>
- [LudoPinelli/comment-box.nvim](https://dotfyle.com/plugins/LudoPinelli/comment-box.nvim)
- [Zeioth/dooku.nvim](https://dotfyle.com/plugins/Zeioth/dooku.nvim)
- [danymat/neogen](https://dotfyle.com/plugins/danymat/neogen)
- [echasnovski/mini.comment](https://dotfyle.com/plugins/echasnovski/mini.comment)
- [JoosepAlviste/nvim-ts-context-commentstring](https://dotfyle.com/plugins/JoosepAlviste/nvim-ts-context-commentstring)
- [folke/todo-comments.nvim](https://dotfyle.com/plugins/folke/todo-comments.nvim)
</details>
<details>
<summary><b>🔥 Completion</b></summary>
- [hrsh7th/nvim-cmp](https://dotfyle.com/plugins/hrsh7th/nvim-cmp)
- [roobert/tailwindcss-colorizer-cmp.nvim](https://dotfyle.com/plugins/roobert/tailwindcss-colorizer-cmp.nvim)
</details>
<details>
<summary><b>〰️ Cursorline</b></summary>
- [mawkler/modicator.nvim](https://dotfyle.com/plugins/mawkler/modicator.nvim)
- [RRethy/vim-illuminate](https://dotfyle.com/plugins/RRethy/vim-illuminate)
</details>
<details>
<summary><b>🦠 Debugging</b></summary>
- [Weissle/persistent-breakpoints.nvim](https://dotfyle.com/plugins/Weissle/persistent-breakpoints.nvim)
- [mfussenegger/nvim-dap](https://dotfyle.com/plugins/mfussenegger/nvim-dap)
- [andrewferrier/debugprint.nvim](https://dotfyle.com/plugins/andrewferrier/debugprint.nvim)
</details>
<details>
<summary><b>📦 Dependency management</b></summary>
- [Saecki/crates.nvim](https://dotfyle.com/plugins/Saecki/crates.nvim)
- [williamboman/mason.nvim](https://dotfyle.com/plugins/williamboman/mason.nvim)
- [piersolenski/telescope-import.nvim](https://dotfyle.com/plugins/piersolenski/telescope-import.nvim)
- [vuki656/package-info.nvim](https://dotfyle.com/plugins/vuki656/package-info.nvim)
</details>
<details>
<summary><b>🔬 Diagnostics</b></summary>
- [folke/trouble.nvim](https://dotfyle.com/plugins/folke/trouble.nvim)
</details>
<details>
<summary><b>📝 Editing support</b></summary>
- [monaqa/dial.nvim](https://dotfyle.com/plugins/monaqa/dial.nvim)
- [chrisgrieser/nvim-various-textobjs](https://dotfyle.com/plugins/chrisgrieser/nvim-various-textobjs)
- [ckolkey/ts-node-action](https://dotfyle.com/plugins/ckolkey/ts-node-action)
- [debugloop/telescope-undo.nvim](https://dotfyle.com/plugins/debugloop/telescope-undo.nvim)
- [echasnovski/mini.pairs](https://dotfyle.com/plugins/echasnovski/mini.pairs)
- [smoka7/multicursors.nvim](https://github.com/smoka7/multicursors.nvim)
- [nvim-treesitter/nvim-treesitter-context](https://dotfyle.com/plugins/nvim-treesitter/nvim-treesitter-context)
- [folke/zen-mode.nvim](https://dotfyle.com/plugins/folke/zen-mode.nvim)
- [shortcuts/no-neck-pain.nvim](https://dotfyle.com/plugins/shortcuts/no-neck-pain.nvim)
- [HiPhish/rainbow-delimiters.nvim](https://dotfyle.com/plugins/HiPhish/rainbow-delimiters.nvim)
- [windwp/nvim-autopairs](https://dotfyle.com/plugins/windwp/nvim-autopairs)
- [Wansmer/sibling-swap.nvim](https://dotfyle.com/plugins/Wansmer/sibling-swap.nvim)
- [altermo/ultimate-autopair.nvim](https://dotfyle.com/plugins/altermo/ultimate-autopair.nvim)
- [haringsrob/nvim_context_vt](https://dotfyle.com/plugins/haringsrob/nvim_context_vt)
- [nacro90/numb.nvim](https://dotfyle.com/plugins/nacro90/numb.nvim)
- [windwp/nvim-ts-autotag](https://dotfyle.com/plugins/windwp/nvim-ts-autotag)
- [gbprod/yanky.nvim](https://dotfyle.com/plugins/gbprod/yanky.nvim)
- [bennypowers/nvim-regexplainer](https://dotfyle.com/plugins/bennypowers/nvim-regexplainer)
- [echasnovski/mini.ai](https://dotfyle.com/plugins/echasnovski/mini.ai)
- [cshuaimin/ssr.nvim](https://dotfyle.com/plugins/cshuaimin/ssr.nvim)
- [chrisgrieser/nvim-puppeteer](https://dotfyle.com/plugins/chrisgrieser/nvim-puppeteer)
</details>
<details>
<summary><b>📁 File explorer</b></summary>
- [nvim-neo-tree/neo-tree.nvim](https://dotfyle.com/plugins/nvim-neo-tree/neo-tree.nvim)
- [echasnovski/mini.files](https://dotfyle.com/plugins/echasnovski/mini.files)
- [stevearc/oil.nvim](https://dotfyle.com/plugins/stevearc/oil.nvim)
</details>
<details>
<summary><b>🔠 Formatting</b></summary>
- [echasnovski/mini.align](https://dotfyle.com/plugins/echasnovski/mini.align)
- [stevearc/conform.nvim](https://dotfyle.com/plugins/stevearc/conform.nvim)
</details>
<details>
<summary><b>🔎 Search</b></summary>
- [jvgrootveld/telescope-zoxide](https://dotfyle.com/plugins/jvgrootveld/telescope-zoxide)
- [nvim-telescope/telescope.nvim](https://dotfyle.com/plugins/nvim-telescope/telescope.nvim)
</details>
<details>
<summary><b>🎮 Game</b></summary>
- [ThePrimeagen/vim-be-good](https://dotfyle.com/plugins/ThePrimeagen/vim-be-good)
- [NStefan002/speedtyper.nvim](https://dotfyle.com/plugins/NStefan002/speedtyper.nvim)
</details>
<details>
<summary><b>🔨 Git</b></summary>
- [lewis6991/gitsigns.nvim](https://dotfyle.com/plugins/lewis6991/gitsigns.nvim)
- [akinsho/git-conflict.nvim](https://dotfyle.com/plugins/akinsho/git-conflict.nvim)
- [sindrets/diffview.nvim](https://dotfyle.com/plugins/sindrets/diffview.nvim)
</details>
<details>
<summary><b>🐙 Github</b></summary>
- [pwntester/octo.nvim](https://dotfyle.com/plugins/pwntester/octo.nvim)
</details>
<details>
<summary><b>🔴 Icon</b></summary>
- [ziontee113/icon-picker.nvim](https://dotfyle.com/plugins/ziontee113/icon-picker.nvim)
</details>
<details>
<summary><b>👉 Indent</b></summary>
- [echasnovski/mini.indentscope](https://dotfyle.com/plugins/echasnovski/mini.indentscope)
- [lukas-reineke/indent-blankline.nvim](https://dotfyle.com/plugins/lukas-reineke/indent-blankline.nvim)
</details>
<details>
<summary><b>⌨️ Keybinding</b></summary>
- [max397574/better-escape.nvim](https://dotfyle.com/plugins/max397574/better-escape.nvim)
- [folke/which-key.nvim](https://dotfyle.com/plugins/folke/which-key.nvim)
- [tris203/hawtkeys.nvim](https://dotfyle.com/plugins/tris203/hawtkeys.nvim)
</details>
<details>
<summary><b>📜 LSP</b></summary>
- [simrat39/symbols-outline.nvim](https://dotfyle.com/plugins/simrat39/symbols-outline.nvim)
- [antosha417/nvim-lsp-file-operations](https://github.com/antosha417/nvim-lsp-file-operations)
- [Wansmer/symbol-usage.nvim](https://dotfyle.com/plugins/Wansmer/symbol-usage.nvim)
- [aznhe21/actions-preview.nvim](https://dotfyle.com/plugins/aznhe21/actions-preview.nvim)
- [smjonas/inc-rename.nvim](https://dotfyle.com/plugins/smjonas/inc-rename.nvim)
- [ThePrimeagen/refactoring.nvim](https://github.com/ThePrimeagen/refactoring.nvim)
- [MaximilianLloyd/tw-values.nvim](https://dotfyle.com/plugins/MaximilianLloyd/tw-values.nvim)
- [nvimtools/none-ls.nvim](https://dotfyle.com/plugins/nvimtools/none-ls.nvim)
- [neovim/nvim-lspconfig](https://dotfyle.com/plugins/neovim/nvim-lspconfig)
- [mfussenegger/nvim-lint](https://dotfyle.com/plugins/mfussenegger/nvim-lint)
- [VidocqH/lsp-lens.nvim](https://dotfyle.com/plugins/VidocqH/lsp-lens.nvim)
- [hedyhli/outline.nvim](https://dotfyle.com/plugins/hedyhli/outline.nvim)
- [kosayoda/nvim-lightbulb](https://dotfyle.com/plugins/kosayoda/nvim-lightbulb)
- [b0o/SchemaStore.nvim](https://dotfyle.com/plugins/b0o/SchemaStore.nvim)
- [mrcjkb/haskell-tools.nvim](https://dotfyle.com/plugins/mrcjkb/haskell-tools.nvim)
- [stevearc/aerial.nvim](https://dotfyle.com/plugins/stevearc/aerial.nvim)
</details>
<details>
<summary><b>📄 Markdown</b></summary>
- [Zeioth/markmap.nvim](https://dotfyle.com/plugins/Zeioth/markmap.nvim)
- [iamcco/markdown-preview.nvim](https://dotfyle.com/plugins/iamcco/markdown-preview.nvim)
</details>
<details>
<summary><b>🔖 Marks</b></summary>
- [ThePrimeagen/harpoon](https://dotfyle.com/plugins/ThePrimeagen/harpoon)
- [tomasky/bookmarks.nvim](https://dotfyle.com/plugins/tomasky/bookmarks.nvim)
</details>
<details>
<summary><b>📸 Media</b></summary>
- [andweeb/presence.nvim](https://dotfyle.com/plugins/andweeb/presence.nvim)
- [edluffy/hologram.nvim](https://dotfyle.com/plugins/edluffy/hologram.nvim)
</details>
<details>
<summary><b>🚶 Motion</b></summary>
- [folke/flash.nvim](https://dotfyle.com/plugins/folke/flash.nvim)
- [chrisgrieser/nvim-spider](https://dotfyle.com/plugins/chrisgrieser/nvim-spider)
- [ggandor/leap.nvim](https://dotfyle.com/plugins/ggandor/leap.nvim)
- [ggandor/flit.nvim](https://dotfyle.com/plugins/ggandor/flit.nvim)
</details>
<details>
<summary><b>📚 Note-Taking</b></summary>
- [nvim-neorg/neorg](https://dotfyle.com/plugins/nvim-neorg/neorg)
- [epwalsh/obsidian.nvim](https://dotfyle.com/plugins/epwalsh/obsidian.nvim)
</details>
<details>
<summary><b>🔧 Nvim Development</b></summary>
- [anuvyklack/animation.nvim](https://dotfyle.com/plugins/anuvyklack/animation.nvim)
- [jbyuki/one-small-step-for-vimkind](https://dotfyle.com/plugins/jbyuki/one-small-step-for-vimkind)
- [ray-x/guihua.lua](https://dotfyle.com/plugins/ray-x/guihua.lua)
- [kkharji/sqlite.lua](https://dotfyle.com/plugins/kkharji/sqlite.lua)
- [folke/neodev.nvim](https://dotfyle.com/plugins/folke/neodev.nvim)
- [MunifTanjim/nui.nvim](https://dotfyle.com/plugins/MunifTanjim/nui.nvim)
- [nvim-lua/plenary.nvim](https://dotfyle.com/plugins/nvim-lua/plenary.nvim)
</details>
<details>
<summary><b>🔡 Programming Language Support</b></summary>
- [gennaro-tedesco/nvim-jqx](https://dotfyle.com/plugins/gennaro-tedesco/nvim-jqx)
- [simrat39/rust-tools.nvim](https://dotfyle.com/plugins/simrat39/rust-tools.nvim)
- [dmmulroy/tsc.nvim](https://dotfyle.com/plugins/dmmulroy/tsc.nvim)
- [mfussenegger/nvim-jdtls](https://dotfyle.com/plugins/mfussenegger/nvim-jdtls)
- [ray-x/go.nvim](https://dotfyle.com/plugins/ray-x/go.nvim)
</details>
<details>
<summary><b>📂 Project</b></summary>
- [ahmedkhalf/project.nvim](https://dotfyle.com/plugins/ahmedkhalf/project.nvim)
</details>
<details>
<summary><b>📜 Scrollbar-Scrolling</b></summary>
- [lewis6991/satellite.nvim](https://dotfyle.com/plugins/lewis6991/satellite.nvim)
- [dstein64/nvim-scrollview](https://dotfyle.com/plugins/dstein64/nvim-scrollview)
- [echasnovski/mini.map](https://dotfyle.com/plugins/echasnovski/mini.map)
- [declancm/cinnamon.nvim](https://dotfyle.com/plugins/declancm/cinnamon.nvim)
</details>
<details>
<summary><b>🔎 Search</b></summary>
- [roobert/search-replace.nvim](https://dotfyle.com/plugins/roobert/search-replace.nvim)
</details>
<details>
<summary><b>🐌 Snippet</b></summary>
- [TobinPalmer/rayso.nvim](https://dotfyle.com/plugins/TobinPalmer/rayso.nvim)
- [L3MON4D3/LuaSnip](https://dotfyle.com/plugins/L3MON4D3/LuaSnip)
- [mrcjkb/haskell-snippets.nvim](https://dotfyle.com/plugins/mrcjkb/haskell-snippets.nvim)
- [cvigilv/esqueleto.nvim](https://dotfyle.com/plugins/cvigilv/esqueleto.nvim)
- [rafamadriz/friendly-snippets](https://dotfyle.com/plugins/rafamadriz/friendly-snippets)
</details>
<details>
<summary><b>🪟 Windows</b></summary>
- [folke/edgy.nvim](https://dotfyle.com/plugins/folke/edgy.nvim)
- [anuvyklack/windows.nvim](https://dotfyle.com/plugins/anuvyklack/windows.nvim)
- [mrjones2014/smart-splits.nvim](https://dotfyle.com/plugins/mrjones2014/smart-splits.nvim)
- [sindrets/winshift.nvim](https://dotfyle.com/plugins/sindrets/winshift.nvim)
- [echasnovski/mini.bufremove](https://dotfyle.com/plugins/echasnovski/mini.bufremove)
</details>
<details>
<summary><b>📈 Startup</b></summary>
- [nvimdev/dashboard-nvim](https://dotfyle.com/plugins/nvimdev/dashboard-nvim)
- [goolord/alpha-nvim](https://dotfyle.com/plugins/goolord/alpha-nvim)
- [echasnovski/mini.starter](https://dotfyle.com/plugins/echasnovski/mini.starter)
</details>
<details>
<summary><b>💊 Statusline</b></summary>
- [nvim-lualine/lualine.nvim](https://dotfyle.com/plugins/nvim-lualine/lualine.nvim)
</details>
<details>
<summary><b>📝 Syntax</b></summary>
- [echasnovski/mini.surround](https://dotfyle.com/plugins/echasnovski/mini.surround)
- [nvim-treesitter/nvim-treesitter-textobjects](https://dotfyle.com/plugins/nvim-treesitter/nvim-treesitter-textobjects)
- [nvim-treesitter/nvim-treesitter](https://dotfyle.com/plugins/nvim-treesitter/nvim-treesitter)
</details>
<details>
<summary><b>📑 Tabline</b></summary>
- [akinsho/bufferline.nvim](https://dotfyle.com/plugins/akinsho/bufferline.nvim)
</details>
<details>
<summary><b>🧪 Test</b></summary>
- [nvim-neotest/neotest](https://dotfyle.com/plugins/nvim-neotest/neotest)
- [haydenmeade/neotest-jest](https://github.com/nvim-neotest/neotest-jest)
- [adrigzr/neotest-mocha](https://github.com/adrigzr/neotest-mocha)
- [marilari88/neotest-vitest](https://github.com/marilari88/neotest-vitest)
- [rcasia/neotest-bash](https://github.com/rcasia/neotest-bash)
- [mrcjkb/neotest-haskell](https://github.com/mrcjkb/neotest-haskell)
- [Issafalcon/neotest-dotnet](https://github.com/Issafalcon/neotest-dotnet)
- [jfpedroza/neotest-elixir](https://github.com/jfpedroza/neotest-elixir)
- [nvim-neotest/neotest-go](https://github.com/nvim-neotest/neotest-go)
- [nvim-neotest/neotest-python](https://github.com/nvim-neotest/neotest-python)
- [olimorris/neotest-rspec](https://github.com/olimorris/neotest-rspec)
- [rouge8/neotest-rust](https://github.com/rouge8/neotest-rust)
</details>
<details>
<summary><b>🔧 Utility</b></summary>
- [zbirenbaum/neodim](https://dotfyle.com/plugins/zbirenbaum/neodim)
- [backdround/tabscope](https://dotfyle.com/plugins/backdround/tabscope.nvim)
- [echasnovski/mini.animate](https://dotfyle.com/plugins/echasnovski/mini.animate)
- [folke/noice.nvim](https://dotfyle.com/plugins/folke/noice.nvim)
- [rcarriga/nvim-notify](https://dotfyle.com/plugins/rcarriga/nvim-notify)
- [kawre/leetcode.nvim](https://dotfyle.com/plugins/kawre/leetcode.nvim)
- [sitiom/nvim-numbertoggle](https://dotfyle.com/plugins/sitiom/nvim-numbertoggle)
- [axieax/urlview.nvim](https://dotfyle.com/plugins/axieax/urlview.nvim)
- [3rd/image.nvim](https://dotfyle.com/plugins/3rd/image.nvim)
- [luckasRanarison/nvim-devdocs](https://dotfyle.com/plugins/luckasRanarison/nvim-devdocs)
- [chrisgrieser/nvim-early-retirement](https://dotfyle.com/plugins/chrisgrieser/nvim-early-retirement)
- [stevearc/dressing.nvim](https://dotfyle.com/plugins/stevearc/dressing.nvim)
- [kevinhwang91/nvim-ufo](https://dotfyle.com/plugins/kevinhwang91/nvim-ufo)
- [chrisgrieser/nvim-recorder](https://dotfyle.com/plugins/chrisgrieser/nvim-recorder)
</details>
<details>
<summary><b>⛑️ Workflow</b></summary>
- [m4xshen/hardtime.nvim](https://dotfyle.com/plugins/m4xshen/hardtime.nvim)
</details>
### Programming Language/Technology Support
- ansible
- angular
- astro
- bash
- c
- cmake
- cpp
- docker
- elixir
- fish
- go
- graphql
- haskell
- htmx
- html
- java
- javascript
- json
- julia
- lua
- markdown
- nix
- omnisharp
- php
- python
- react
- ruby
- rust
- svelte
- sql
- terraform
- tex
- toml
- typescript
- vue
- xml
- yaml
### Language Servers
- ansible
- astro
- bash
- clangd
- css
- cssmodules
- docker
- elixir
- emmet
- gopls
- graphql
- haskell
- htmx
- html
- jdtls
- json
- julia
- lemminx
- lua
- marksman
- neocmake
- omnisharp
- phpactor
- pyright
- rnix
- rust-analyzer
- ruff
- solargraph
- sqlls
- svelte
- tailwindcss
- terraform
- texlab
- tsserver
- vue
- yaml
### Linters
- biome
- cmakelint
- credo
- eslint
- fish
- hadolint
- markdownlint
- pylint
- shellcheck
- stylelint
- terraform_validate
- vale
### Formatters
- black
- csharpier
- fish_indent
- flake8
- gofumpt
- goimports
- isort
- prettier
- rustfmt
- shfmt
- stylua
- terraform_fmt
# :gear: ‎ <samp>Config</samp>
# :camera: ‎ <samp>Gallery</samp>
| **Dashboard** |
| --------------------------------------------- |
| ![dashboard](./overview-images/dashboard.png) |
| **Telescope Find-files** |
| ----------------------------------------------- |
| ![find-files](./overview-images/find-files.png) |
<div style="display: flex;">
| **Neo-tree** |
| ------------------------------------------- |
| ![neo-tree](./overview-images/neo-tree.png) |
| **Symbols Outline** |
| ----------------------------------------- |
| ![outline](./overview-images/outline.png) |
</div>
| **Bufferline** |
| ----------------------------------------------- |
| ![bufferline](./overview-images/bufferline.png) |
| **Lualine** |
| ----------------------------------------- |
| ![lualine](./overview-images/lualine.png) |
| **Which-key** |
| --------------------------------------------- |
| ![which-key](./overview-images/which-key.png) |
| **Telescope Live-Grep** |
| --------------------------------------------- |
| ![live-grep](./overview-images/live-grep.png) |
| **Breadcrumbs** |
| ------------------------------------------------- |
| ![breadcrumbs](./overview-images/breadcrumbs.png) |
| **Trouble** |
| ----------------------------------------- |
| ![trouble](./overview-images/trouble.png) |
| **Diff-History** |
| --------------------------------------------------- |
| ![diff-history](./overview-images/diff-history.png) |
# :keyboard: ‎ <samp>Binds</samp>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

+7
View File
@@ -0,0 +1,7 @@
tt.*
.tests
doc/tags
.repro
foo.*
*.log
data
+15
View File
@@ -0,0 +1,15 @@
{
"neodev": {
"library": {
"enabled": true,
"plugins": true
}
},
"neoconf": {
"plugins": {
"lua_ls": {
"enabled": true
}
}
}
}
+2
View File
@@ -0,0 +1,2 @@
-- bootstrap lazy.nvim, LazyVim and your plugins
require("config.lazy")
+145
View File
@@ -0,0 +1,145 @@
{
"LazyVim": { "branch": "main", "commit": "879e29504d43e9f178d967ecc34d482f902e5a91" },
"LuaSnip": { "branch": "master", "commit": "2463d687fe704b76eb0aa3bb34e95f69a5bb0362" },
"SchemaStore.nvim": { "branch": "main", "commit": "771c9517bf36f431361cbaac1ddc8499c7e5c5d3" },
"actions-preview.nvim": { "branch": "master", "commit": "8f79029a36ab6807478f157538a91ccd4af5858f" },
"animation.nvim": { "branch": "main", "commit": "fb77091ab72ec9971aee0562e7081182527aaa6a" },
"autolist.nvim": { "branch": "main", "commit": "5f70a5f99e96c8fe3069de042abd2a8ed2deb855" },
"bigfile.nvim": { "branch": "main", "commit": "33eb067e3d7029ac77e081cfe7c45361887a311a" },
"bufferline.nvim": { "branch": "main", "commit": "e48ce1805697e4bb97bc171c081e849a65859244" },
"catppuccin": { "branch": "main", "commit": "b901cf144573b293b6cefeb1ac8c97d5d239ee7a" },
"ccc.nvim": { "branch": "main", "commit": "ec6e23fd2c0bf4ffcf71c1271acdcee6e2c6f49c" },
"cinnamon.nvim": { "branch": "master", "commit": "c406ffda3a0302f32c23b24ab756ea20467d6578" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-nvim-lsp": { "branch": "main", "commit": "5af77f54de1b16c34b23cba810150689a3a90312" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
"codeium.vim": { "branch": "main", "commit": "a31ff444697497438cd2569200ddb4af846cae65" },
"compiler.nvim": { "branch": "main", "commit": "b2661965cc4a9603642ddb03fb766fd2bd8b2dc9" },
"conform.nvim": { "branch": "master", "commit": "ad2b5ecd907128ed1b66b1cf4bed57902ef836ee" },
"crates.nvim": { "branch": "main", "commit": "81c6325b7f8875857ec09e5d24f3b6d7986f29e2" },
"dashboard-nvim": { "branch": "master", "commit": "63df28409d940f9cac0a925df09d3dc369db9841" },
"debugprint.nvim": { "branch": "main", "commit": "13378f67edc112bf0d043bc0c018f8923dc2198d" },
"dial.nvim": { "branch": "master", "commit": "27eb570085db2ef44bff4f620d3806039184651c" },
"diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" },
"dooku.nvim": { "branch": "main", "commit": "10d7ccca5cdd30d4d03bc7433023590ca620edc7" },
"dressing.nvim": { "branch": "master", "commit": "94b0d24483d56f3777ee0c8dc51675f21709318c" },
"dropbar.nvim": { "branch": "master", "commit": "ee3a356254ab494c0e280b809969a7a3a7e38fb7" },
"edgy.nvim": { "branch": "main", "commit": "8355be45610afdf79a0bab32b91ee297997455b4" },
"flash.nvim": { "branch": "main", "commit": "48817af25f51c0590653bbc290866e4890fe1cbe" },
"friendly-snippets": { "branch": "main", "commit": "53d3df271d031c405255e99410628c26a8f0d2b0" },
"garbage-day.nvim": { "branch": "main", "commit": "957499b8a493974bd7002b68b1f15f7d285e0dd1" },
"git-worktree.nvim": { "branch": "master", "commit": "f247308e68dab9f1133759b05d944569ad054546" },
"gitsigns.nvim": { "branch": "main", "commit": "d195f0c35ced5174d3ecce1c4c8ebb3b5bc23fa9" },
"glance.nvim": { "branch": "master", "commit": "8ed5cf3b3b1231ea696d88c9efd977027429d869" },
"harpoon": { "branch": "harpoon2", "commit": "6afc142443f8135329f8dd09b77e229f65001c0c" },
"headlines.nvim": { "branch": "master", "commit": "e3d7bfdf40e41a020d966d35f8b48d75b90367d2" },
"highlight-undo.nvim": { "branch": "main", "commit": "50a6884a8476be04ecce8f1c4ed692c5000ef0a1" },
"hydra.nvim": { "branch": "master", "commit": "55de54543d673824435930ecf533256eea2e565b" },
"icon-picker.nvim": { "branch": "master", "commit": "8e89c06411584e02a928b3baaee056eab24466b3" },
"inc-rename.nvim": { "branch": "main", "commit": "6f9b5f9cb237e12935144cdc535322b8c93c1b25" },
"indent-blankline.nvim": { "branch": "master", "commit": "5da5546947f3125dfd6aa85ab21074dc83f776d5" },
"lazy.nvim": { "branch": "main", "commit": "96584866b9c5e998cbae300594d0ccfd0c464627" },
"live-server.nvim": { "branch": "main", "commit": "f6f00a3f541251f0320910bb0d03c4ae14ee6d10" },
"lsp-lens.nvim": { "branch": "main", "commit": "48bb1a7e271424c15f3d588d54adc9b7c319d977" },
"lualine.nvim": { "branch": "master", "commit": "566b7036f717f3d676362742630518a47f132fff" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "56e435e09f8729af2d41973e81a0db440f8fe9c9" },
"mason-nvim-dap.nvim": { "branch": "main", "commit": "9e82ded0515186edd4f69e4ce6b1a5f1b55b47e9" },
"mason.nvim": { "branch": "main", "commit": "a09da6ac634926a299dd439da08bdb547a8ca011" },
"middleclass": { "branch": "master", "commit": "9fab4d5bca67262614960960ca35c4740eb2be2c" },
"mini.ai": { "branch": "main", "commit": "f7787cff9cc42004f722ca1e64e6af4e64e34177" },
"mini.align": { "branch": "main", "commit": "708c0265b1513a00c83c181bff3d237741031cd1" },
"mini.bufremove": { "branch": "main", "commit": "020243bfed8c8b941f2c20626faf3ea39c0c0e1b" },
"mini.comment": { "branch": "main", "commit": "67f00d3ebbeae15e84584d971d0c32aad4f4f3a4" },
"mini.indentscope": { "branch": "main", "commit": "5a8369475cd7cd6f207a4d288406d03b0fc48bdb" },
"mini.surround": { "branch": "main", "commit": "7bf8915ba15d7a4f3c2afe7868d3c15a858d73f1" },
"multicursors.nvim": { "branch": "main", "commit": "8e876fe9db46c1b76c151202b418df21eca07bad" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "77d9f484b88fd380386b46ed9206e5374d69d9d8" },
"neoconf.nvim": { "branch": "main", "commit": "64437787dba70fce50dad7bfbb97d184c5bc340f" },
"neodev.nvim": { "branch": "main", "commit": "8526ce7de23e04735827a4e3f78ff634880181c5" },
"neogen": { "branch": "main", "commit": "70127baaff25611deaf1a29d801fc054ad9d2dc1" },
"neotest": { "branch": "master", "commit": "6aa6e4529a4a125b49c48541b97ba146ceee2441" },
"neotest-bash": { "branch": "main", "commit": "2eaad2ae4577fadf4af1eec32ec169d0fb2698bb" },
"neotest-jest": { "branch": "main", "commit": "a394106cf053eef86d65ae04c4b93a1a7bd60aef" },
"neotest-mocha": { "branch": "main", "commit": "68f0e9768a94c3ebd4d5e67b2765e6a5df017d99" },
"neotest-python": { "branch": "master", "commit": "86ac2bbc8a4da3f203e56d9303d6ed1d7e50c1f6" },
"neotest-rust": { "branch": "main", "commit": "48c1e146ed0eb775fef6aca75903baf3cedadc01" },
"neotest-vitest": { "branch": "main", "commit": "15972c4791b3d47df82311047835803a072c1da6" },
"noice.nvim": { "branch": "main", "commit": "92433164e2f7118d4122c7674c3834d9511722ba" },
"nui.nvim": { "branch": "main", "commit": "80445d015d2b5f9af0d9e8bce63d303bc86eda8a" },
"nvim-ansible": { "branch": "main", "commit": "d115cb9bb3680c990e2684f58cf333663fff03b8" },
"nvim-autopairs": { "branch": "master", "commit": "9fd41181693dd4106b3e414a822bb6569924de81" },
"nvim-cmp": { "branch": "main", "commit": "538e37ba87284942c1d76ed38dd497e54e65b891" },
"nvim-dap": { "branch": "master", "commit": "f0dca670fa059eb89dda8869a6310c804241345c" },
"nvim-dap-python": { "branch": "master", "commit": "091e4ae00a12085f9ed4200a3cd04af7179b8a23" },
"nvim-dap-ui": { "branch": "master", "commit": "34160a7ce6072ef332f350ae1d4a6a501daf0159" },
"nvim-dap-virtual-text": { "branch": "master", "commit": "d4542ac257d3c7ee4131350db6179ae6340ce40b" },
"nvim-devdocs": { "branch": "master", "commit": "521d24661ffe6d1ba025debea2675c765a9c1ee1" },
"nvim-lightbulb": { "branch": "master", "commit": "8f00b89dd1b1dbde16872bee5fbcee2e58c9b8e9" },
"nvim-lint": { "branch": "master", "commit": "3ffa176628fe49e74f47992757016b7371a9b86b" },
"nvim-lsp-file-operations": { "branch": "master", "commit": "8e7223e138590c1bd9d86d3de810e65939d8b12f" },
"nvim-lspconfig": { "branch": "master", "commit": "0d9e870d01894c592d7ea93cfe0fa451916d9a7f" },
"nvim-notify": { "branch": "master", "commit": "ebcdd8219e2a2cbc0a4bef68002f6867f1fde269" },
"nvim-numbertoggle": { "branch": "main", "commit": "9ab95e60ea5ec138e1b2332e0fc18b8e5de464c6" },
"nvim-puppeteer": { "branch": "main", "commit": "d7e1b2d67c89d32b6ecada88ff67b539ba09f2d7" },
"nvim-spectre": { "branch": "master", "commit": "d8906855f1949ac97b1e77aaf8d3fe12ed158ddc" },
"nvim-treesitter": { "branch": "master", "commit": "362ebd3a210f20aab80be05557f216cbaf4531e6" },
"nvim-treesitter-context": { "branch": "master", "commit": "652ec514d6ba8bc4a3c2de76c855fe668e2c7196" },
"nvim-treesitter-endwise": { "branch": "master", "commit": "4c344ffc8d54d7e1ba2cefaaa2c10ea93aa1cc2d" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0e2d5bd4cbe75849a013901555d436a48c6680cb" },
"nvim-ts-autotag": { "branch": "main", "commit": "8515e48a277a2f4947d91004d9aa92c29fdc5e18" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "1277b4a1f451b0f18c0790e1a7f12e1e5fdebfee" },
"nvim-various-textobjs": { "branch": "main", "commit": "8ebbedb58845d4bce91cfb1db705fb4e942ee333" },
"nvim-web-devicons": { "branch": "master", "commit": "43aa2ddf476012a2155f5f969ee55ab17174da7a" },
"nvim_context_vt": { "branch": "master", "commit": "a14f9292b4bd68ceed433fc513f287641816dc6d" },
"octo.nvim": { "branch": "master", "commit": "b5371003f209764c9d1cc43cf20b6dc52961f0e8" },
"openingh.nvim": { "branch": "main", "commit": "5c9e851d7c26fdb236dfea8866b71fefe7ddeffc" },
"outline.nvim": { "branch": "main", "commit": "5669c8aa9ea6346ab491646a9a1e73d7f594e2f8" },
"overseer.nvim": { "branch": "master", "commit": "78e893394cef6efee05f31bd65f6dff08b0bac09" },
"package-info.nvim": { "branch": "master", "commit": "18f8126dd8e65b2e21804c9107785af4abbb5bfc" },
"persistence.nvim": { "branch": "main", "commit": "ad538bfd5336f1335cdb6fd4e0b0eebfa6e12f32" },
"persistent-breakpoints.nvim": { "branch": "main", "commit": "db2ad5974b0435cb806cd287e7525219d6ac4bd3" },
"plenary.nvim": { "branch": "master", "commit": "55d9fe89e33efd26f532ef20223e5f9430c8b0c0" },
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
"rainbow-delimiters.nvim": { "branch": "master", "commit": "a249476e451673f7811852d93109dff19311ee39" },
"refactoring.nvim": { "branch": "master", "commit": "156532476deb10b1b2a32cb38e1078b3f9951c42" },
"rust-tools.nvim": { "branch": "master", "commit": "0cc8adab23117783a0292a0c8a2fbed1005dc645" },
"satellite.nvim": { "branch": "main", "commit": "acb185e1475a19e2538ee517fb540b82db629887" },
"search-replace.nvim": { "branch": "main", "commit": "d92290a02d97f4e9b8cd60d28b56b403432158d5" },
"semshi": { "branch": "master", "commit": "0182447e2ff4dfa04cd2dfe5f189e012c581ca45" },
"smart-splits.nvim": { "branch": "master", "commit": "f0003bf9c3f11b8b9209264f865b8864453ca926" },
"sqlite.lua": { "branch": "master", "commit": "b7e28c8463254c46a8e61c52d27d6a2040492fc3" },
"suda.vim": { "branch": "master", "commit": "8b0fc3711760195aba104e2d190cff9af8267052" },
"telescope-all-recent.nvim": { "branch": "main", "commit": "766d79bedf8dd59c2d0a944a7cf3c98795ab5f07" },
"telescope-floaterm.nvim": { "branch": "main", "commit": "ccd3f40ae30dce5de0e5d0f5069e08e7d9ad6d23" },
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" },
"telescope-import.nvim": { "branch": "main", "commit": "d735be055a9b773f77089529d3917c0646cf3114" },
"telescope-lazy.nvim": { "branch": "main", "commit": "7a360fc33d0728cf0c18c0032ca36ebfe3cd2a8c" },
"telescope-luasnip.nvim": { "branch": "master", "commit": "2ef7da3a363890686dbaad18ddbf59177cfe4f78" },
"telescope-undo.nvim": { "branch": "main", "commit": "d3afc1c105535a90caec092ce27a113f77ba7b84" },
"telescope-zoxide": { "branch": "main", "commit": "68966349aa1b8e9ade403e18479ecf79447389a7" },
"telescope.nvim": { "branch": "master", "commit": "3466159b0fcc1876483f6f53587562628664d850" },
"text-case.nvim": { "branch": "main", "commit": "d6f121ec471118afb4fc7ed8cafb08eef3e9b307" },
"theme-loader.nvim": { "branch": "master", "commit": "ad8774ec8267a447d469b4e6603b43f49b946e53" },
"todo-comments.nvim": { "branch": "main", "commit": "4a6737a8d70fe1ac55c64dfa47fcb189ca431872" },
"tokyonight.nvim": { "branch": "main", "commit": "f247ee700b569ed43f39320413a13ba9b0aef0db" },
"tree-sitter-hypr": { "branch": "master", "commit": "da3c1d780c8e04446722ece04beadb6a44eb442d" },
"trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" },
"ts-node-action": { "branch": "master", "commit": "e37eb458378de5d994df459a53711b2546abef0f" },
"tsc.nvim": { "branch": "main", "commit": "a8f26d3d6a0faf533afb840816a6d9ac6a1fcbea" },
"twilight.nvim": { "branch": "main", "commit": "8b7b50c0cb2dc781b2f4262a5ddd57571556d1e4" },
"venv-selector.nvim": { "branch": "main", "commit": "79709f8ad99ac2082d99a713985f3da0c924f4a2" },
"vim-dadbod": { "branch": "master", "commit": "738cfc2ea6a1510fe23cba9006fef9291be70f7b" },
"vim-dadbod-completion": { "branch": "master", "commit": "c920cb0ba3dff4b1b0ed373e1c0b3007dec696c2" },
"vim-dadbod-ui": { "branch": "master", "commit": "9ddb0623e69d696b7a8355b93e3950a8dc6e00a0" },
"vim-floaterm": { "branch": "master", "commit": "3f01a623376957437f9376327637491b74719e38" },
"vim-illuminate": { "branch": "master", "commit": "3bd2ab64b5d63b29e05691e624927e5ebbf0fb86" },
"vim-startuptime": { "branch": "master", "commit": "454b3de856b7bd298700de33d79774ca9b9e3875" },
"vim-uppercase-sql": { "branch": "master", "commit": "58bfde1d679a1387dabfe292b38d51d84819b267" },
"vim-wakatime": { "branch": "master", "commit": "8c8856327815a077cbebeba8c7456312a3d2c39c" },
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" },
"windows.nvim": { "branch": "main", "commit": "c7492552b23d0ab30325e90b56066ec51242adc8" },
"yanky.nvim": { "branch": "main", "commit": "6bb9ffd3cad4c9876bda54e19d0659de28a4f84f" },
"zen-mode.nvim": { "branch": "main", "commit": "50e2e2a36cc97847d9ab3b1a3555ba2ef6839b50" }
}
+87
View File
@@ -0,0 +1,87 @@
{
"extras": [
"lazyvim.plugins.extras.formatting.black",
"lazyvim.plugins.extras.lang.python-semshi",
"lazyvim.plugins.extras.lang.yaml",
"lazyvim.plugins.extras.ui.edgy",
"lazyvim.plugins.extras.util.dot",
"plugins.extras.coding.ai.codeium",
"plugins.extras.coding.ai.gpt",
"plugins.extras.coding.annotation",
"plugins.extras.coding.cmp.autopairs",
"plugins.extras.coding.debugprint",
"plugins.extras.coding.dial",
"plugins.extras.coding.multicursor",
"plugins.extras.coding.refactoring",
"plugins.extras.coding.treesitter.endwise",
"plugins.extras.coding.treesitter.mini-align",
"plugins.extras.coding.treesitter.node-action",
"plugins.extras.coding.treesitter.puppeteer",
"plugins.extras.coding.treesitter.text-case",
"plugins.extras.coding.treesitter.various-textobjs",
"plugins.extras.coding.yanky",
"plugins.extras.dap.core",
"plugins.extras.dap.persistent-breakpoints",
"plugins.extras.editor.color",
"plugins.extras.editor.docs.devdocs",
"plugins.extras.editor.git.diffview",
"plugins.extras.editor.git.github",
"plugins.extras.editor.git.worktree",
"plugins.extras.editor.harpoon",
"plugins.extras.editor.live-server",
"plugins.extras.editor.outline",
"plugins.extras.editor.package-info",
"plugins.extras.editor.search-replace",
"plugins.extras.editor.smart-splits",
"plugins.extras.editor.suda",
"plugins.extras.editor.telescope.all-recent",
"plugins.extras.editor.telescope.import",
"plugins.extras.editor.telescope.lazy",
"plugins.extras.editor.telescope.luasnip",
"plugins.extras.editor.telescope.undotree",
"plugins.extras.editor.telescope.zoxide",
"plugins.extras.editor.terminal.floaterm",
"plugins.extras.formatting.isort",
"plugins.extras.formatting.prettier",
"plugins.extras.formatting.rustfmt",
"plugins.extras.lang.ansible",
"plugins.extras.lang.bash",
"plugins.extras.lang.git",
"plugins.extras.lang.markdown-extended",
"plugins.extras.lang.python-extended",
"plugins.extras.lang.rust-extended",
"plugins.extras.lang.sql",
"plugins.extras.lang.web.css",
"plugins.extras.lang.web.html",
"plugins.extras.lang.web.typescript-extended",
"plugins.extras.linting.eslint-extended",
"plugins.extras.linting.shellcheck",
"plugins.extras.lsp.actions-preview",
"plugins.extras.lsp.compiler",
"plugins.extras.lsp.file-operations",
"plugins.extras.lsp.garbage-day",
"plugins.extras.lsp.glance",
"plugins.extras.lsp.inc-rename",
"plugins.extras.lsp.lens",
"plugins.extras.lsp.lightbulb",
"plugins.extras.test.core",
"plugins.extras.ui.breadcrumbs",
"plugins.extras.ui.context",
"plugins.extras.ui.highlight-undo",
"plugins.extras.ui.number-toggle",
"plugins.extras.ui.rainbow-delimeters",
"plugins.extras.ui.scrollbar",
"plugins.extras.ui.smooth-scrolling",
"plugins.extras.ui.windows",
"plugins.extras.ui.zen-mode",
"plugins.extras.util.bigfile",
"plugins.extras.util.discordrcp",
"plugins.extras.util.icon-picker",
"plugins.extras.util.vscode",
"plugins.extras.util.wakatime"
],
"news": {
"NEWS.md": "2123"
},
"version": 2
}
+76
View File
@@ -0,0 +1,76 @@
-- Autocmds are automatically loaded on the VeryLazy event
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
-- Add any additional autocmds here
local function augroup(name)
return vim.api.nvim_create_augroup("lazyvim_" .. name, { clear = true })
end
-- Disable diagnostics in a .env file
vim.api.nvim_create_autocmd("BufRead", {
pattern = ".env",
callback = function()
vim.diagnostic.disable(0)
end,
})
-- Fix telescope entering on insert mode
vim.api.nvim_create_autocmd("WinLeave", {
callback = function()
if vim.bo.ft == "TelescopePrompt" and vim.fn.mode() == "i" then
vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("<Esc>", true, false, true), "i", false)
end
end,
})
local auto_close_filetype = {
"lazy",
"mason",
"lspinfo",
"toggleterm",
"null-ls-info",
"TelescopePrompt",
"notify",
}
-- Auto close window when leaving
vim.api.nvim_create_autocmd("BufLeave", {
group = augroup("auto_close_win"),
callback = function(event)
local ft = vim.api.nvim_buf_get_option(event.buf, "filetype")
if vim.fn.index(auto_close_filetype, ft) ~= -1 then
local winids = vim.fn.win_findbuf(event.buf)
for _, win in pairs(winids) do
vim.api.nvim_win_close(win, true)
end
end
end,
})
-- Disable leader and localleader for some filetypes
vim.api.nvim_create_autocmd("FileType", {
group = augroup("unbind_leader_key"),
pattern = {
"lazy",
"mason",
"lspinfo",
"toggleterm",
"null-ls-info",
"neo-tree-popup",
"TelescopePrompt",
"notify",
"floaterm",
},
callback = function(event)
vim.keymap.set("n", "<leader>", "<nop>", { buffer = event.buf, desc = "" })
vim.keymap.set("n", "<localleader>", "<nop>", { buffer = event.buf, desc = "" })
end,
})
-- Delete number column on terminals
vim.api.nvim_create_autocmd("TermOpen", {
callback = function()
vim.cmd("setlocal listchars= nonumber norelativenumber")
end,
})
+173
View File
@@ -0,0 +1,173 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
local map = vim.keymap.set
local Util = require("lazyvim.util")
-- Search current word
local searching_brave =
[[:lua vim.fn.system({'xdg-open', 'https://search.brave.com/search?q=' .. vim.fn.expand("<cword>")})<CR>]]
map("n", "<leader>?", searching_brave, { noremap = true, silent = true, desc = "Search current word on brave search" })
-- Toggle background
map("n", "<leader>uB", function()
Util.toggle("background", false, { "light", "dark" })
end, { desc = "Toggle Background" })
-- Disable lazyterminal keymap
map("n", "<leader>fT", "<Nop>")
-- End of the word backwards
map("n", "E", "ge")
-- Increment/decrement
map("n", "+", "<C-a>")
map("n", "-", "<C-x>")
-- Tabs
map("n", "<tab>", "<cmd>tabnext<cr>", { desc = "Next Tab" })
map("n", "<S-tab>", "<cmd>tabprevious<cr>", { desc = "Previous Tab" })
map("n", "]<tab>", "<cmd>tabnext<cr>", { desc = "Next Tab" })
map("n", "[<tab>", "<cmd>tabprevious<cr>", { desc = "Previous Tab" })
-- Buffers
map("n", "<leader>bf", "<cmd>bfirst<cr>", { desc = "First Buffer" })
map("n", "<leader>ba", "<cmd>blast<cr>", { desc = "Last Buffer" })
-- Center the screen automatically
map("n", "<C-d>", "<C-d>zz")
map("n", "<C-u>", "<C-u>zz")
map("n", "n", "nzzzv")
map("n", "N", "Nzzzv")
-- Toggle statusline
map("n", "<leader>uS", function()
if vim.opt.laststatus:get() == 0 then
vim.opt.laststatus = 3
else
vim.opt.laststatus = 0
end
end, { desc = "Toggle Statusline" })
-- Plugin Info
map("n", "<leader>cif", "<cmd>LazyFormatInfo<cr>", { desc = "Formatting" })
map("n", "<leader>cic", "<cmd>ConformInfo<cr>", { desc = "Conform" })
map("n", "<leader>cir", "<cmd>LazyRoot<cr>", { desc = "Root" })
map("n", "<leader>cie", "<cmd>LazyExtras<cr>", { desc = "Extras" })
-- U for redo
map("n", "U", "<C-r>", { desc = "Redo" })
-- Move to beginning/end of line
map("n", "<a-h>", "_", { desc = "First character of Line" })
map("n", "<a-l>", "$", { desc = "Last character of Line" })
-- Copy whole text to clipboard
map("n", "<C-c>", ":%y+<CR>", { desc = "Copy whole text to clipboard", silent = true })
-- Select all text
map("n", "<C-a>", "gg<S-V>G", { desc = "Select all text", silent = true, noremap = true })
-- Better paste
-- remap "p" in visual mode to delete the highlighted text without overwriting your yanked/copied text, and then paste the content from the unnamed register.
map("v", "p", '"_dP')
map("n", "dd", function()
local is_empty_line = vim.api.nvim_get_current_line():match("^%s*$")
if is_empty_line then
return '"_dd'
else
return "dd"
end
end, { noremap = true, expr = true, desc = "Don't yank empty line to clipboard" })
-- Search inside visually highlighted text. Use `silent = false` for it to
-- make effect immediately.
map("x", "g/", "<esc>/\\%V", { silent = false, desc = "Search inside visual selection" })
-- Search visually selected text (slightly better than builtins in Neovim>=0.8)
map("x", "*", [[y/\V<C-R>=escape(@", '/\')<CR><CR>]])
map("x", "#", [[y?\V<C-R>=escape(@", '?\')<CR><CR>]])
if package.loaded["cinnamon"] then
-- DEFAULT_KEYMAPS:
-- Half-window movements:
map({ "n", "x" }, "<C-u>", "<Cmd>lua Scroll('<C-u>', 1, 1)<CR>")
map({ "n", "x" }, "<C-d>", "<Cmd>lua Scroll('<C-d>', 1, 1)<CR>")
-- Page movements:
map({ "n", "x" }, "<C-b>", "<Cmd>lua Scroll('<C-b>', 1, 1)<CR>")
map({ "n", "x" }, "<C-f>", "<Cmd>lua Scroll('<C-f>', 1, 1)<CR>")
map({ "n", "x" }, "<PageUp>", "<Cmd>lua Scroll('<C-b>', 1, 1)<CR>")
map({ "n", "x" }, "<PageDown>", "<Cmd>lua Scroll('<C-f>', 1, 1)<CR>")
-- EXTRA_KEYMAPS:
-- Start/end of file and line number movements:
map({ "n", "x" }, "gg", "<Cmd>lua Scroll('gg')<CR>")
map({ "n", "x" }, "G", "<Cmd>lua Scroll('G', 0, 1)<CR>")
-- Start/end of line:
map({ "n", "x" }, "0", "<Cmd>lua Scroll('0')<CR>")
map({ "n", "x" }, "^", "<Cmd>lua Scroll('^')<CR>")
map({ "n", "x" }, "$", "<Cmd>lua Scroll('$', 0, 1)<CR>")
-- Paragraph movements:
map({ "n", "x" }, "{", "<Cmd>lua Scroll('{')<CR>")
map({ "n", "x" }, "}", "<Cmd>lua Scroll('}')<CR>")
-- Previous/next search result:
map("n", "n", "<Cmd>lua Scroll('n', 1)<CR>")
map("n", "N", "<Cmd>lua Scroll('N', 1)<CR>")
map("n", "*", "<Cmd>lua Scroll('*', 1)<CR>")
map("n", "#", "<Cmd>lua Scroll('#', 1)<CR>")
map("n", "g*", "<Cmd>lua Scroll('g*', 1)<CR>")
map("n", "g#", "<Cmd>lua Scroll('g#', 1)<CR>")
-- Previous/next cursor location:
map("n", "<C-o>", "<Cmd>lua Scroll('<C-o>', 1)<CR>")
map("n", "<C-i>", "<Cmd>lua Scroll('1<C-i>', 1)<CR>")
-- Screen scrolling:
map("n", "zz", "<Cmd>lua Scroll('zz', 0, 1)<CR>")
map("n", "zt", "<Cmd>lua Scroll('zt', 0, 1)<CR>")
map("n", "zb", "<Cmd>lua Scroll('zb', 0, 1)<CR>")
map("n", "z.", "<Cmd>lua Scroll('z.', 0, 1)<CR>")
map("n", "z<CR>", "<Cmd>lua Scroll('zt^', 0, 1)<CR>")
map("n", "z-", "<Cmd>lua Scroll('z-', 0, 1)<CR>")
map("n", "z^", "<Cmd>lua Scroll('z^', 0, 1)<CR>")
map("n", "z+", "<Cmd>lua Scroll('z+', 0, 1)<CR>")
map("n", "<C-y>", "<Cmd>lua Scroll('<C-y>', 0, 1)<CR>")
map("n", "<C-e>", "<Cmd>lua Scroll('<C-e>', 0, 1)<CR>")
-- Horizontal screen scrolling:
map("n", "zH", "<Cmd>lua Scroll('zH')<CR>")
map("n", "zL", "<Cmd>lua Scroll('zL')<CR>")
map("n", "zs", "<Cmd>lua Scroll('zs')<CR>")
map("n", "ze", "<Cmd>lua Scroll('ze')<CR>")
map("n", "zh", "<Cmd>lua Scroll('zh', 0, 1)<CR>")
map("n", "zl", "<Cmd>lua Scroll('zl', 0, 1)<CR>")
-- EXTENDED_KEYMAPS:
-- Up/down movements:
map({ "n", "x" }, "k", "<Cmd>lua Scroll('k', 0, 1)<CR>")
map({ "n", "x" }, "j", "<Cmd>lua Scroll('j', 0, 1)<CR>")
map({ "n", "x" }, "<Up>", "<Cmd>lua Scroll('k', 0, 1)<CR>")
map({ "n", "x" }, "<Down>", "<Cmd>lua Scroll('j', 0, 1)<CR>")
-- Left/right movements:
map({ "n", "x" }, "h", "<Cmd>lua Scroll('h', 0, 1)<CR>")
map({ "n", "x" }, "l", "<Cmd>lua Scroll('l', 0, 1)<CR>")
map({ "n", "x" }, "<Left>", "<Cmd>lua Scroll('h', 0, 1)<CR>")
map({ "n", "x" }, "<Right>", "<Cmd>lua Scroll('l', 0, 1)<CR>")
-- LSP_KEYMAPS:
-- LSP go-to-definition:
map("n", "gd", "<Cmd>lua Scroll('definition')<CR>")
-- LSP go-to-declaration:
map("n", "gD", "<Cmd>lua Scroll('declaration')<CR>")
end
+42
View File
@@ -0,0 +1,42 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
-- bootstrap lazy.nvim
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable",
lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
require("lazy").setup({
spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "plugins" },
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
lazy = true,
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
-- have outdated releases, which may break your Neovim install.
version = false, -- always use the latest git commit
-- version = "*", -- try installing the latest stable version for plugins that support semver
},
checker = { enabled = true }, -- automatically check for plugin updates
performance = {
cache = {
enabled = true,
-- disable_events = {},
},
rtp = {
-- disable some rtp plugins
disabled_plugins = {
"gzip",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})
+85
View File
@@ -0,0 +1,85 @@
-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-- vim.o.spell = true
vim.loader.enable()
vim.g.mapleader = " "
vim.g.gui_font_default_size = 10
vim.g.gui_font_size = vim.g.gui_font_default_size
vim.g.gui_font_face = "JetBrainsMono Nerd Font"
if vim.g.neovide then
-- Put anything you want to happen only in Neovide here
RefreshGuiFont = function()
vim.opt.guifont = string.format("%s:h%s", vim.g.gui_font_face, vim.g.gui_font_size)
end
ResizeGuiFont = function(delta)
vim.g.gui_font_size = vim.g.gui_font_size + delta
RefreshGuiFont()
end
ResetGuiFont = function()
vim.g.gui_font_size = vim.g.gui_font_default_size
RefreshGuiFont()
end
-- Call function on startup to set default value
ResetGuiFont()
-- Keymaps
local opts = { noremap = true, silent = true }
vim.keymap.set({ "n", "i" }, "<C-+>", function()
ResizeGuiFont(1)
end, opts)
vim.keymap.set({ "n", "i" }, "<C-->", function()
ResizeGuiFont(-1)
end, opts)
vim.keymap.set({ "n", "i" }, "<C-BS>", function()
ResetGuiFont()
end, opts)
vim.g.neovide_padding_top = 5
vim.g.neovide_padding_right = 5
vim.g.neovide_padding_left = 5
vim.g.neovide_floating_blur_amount_x = 5.0
vim.g.neovide_floating_blur_amount_y = 5.0
vim.g.neovide_transparency = 0.85
vim.g.neovide_cursor_antialiasing = false
vim.g.neovide_cursor_vfx_mode = "pixiedust"
vim.opt.winblend = 20
if vim.fn.exists("g:terminal_color_0") == 0 then
vim.api.nvim_set_var("terminal_color_0", "#494D64")
vim.api.nvim_set_var("terminal_color_1", "#ED8796")
vim.api.nvim_set_var("terminal_color_2", "#A6DA95")
vim.api.nvim_set_var("terminal_color_3", "#EED49F")
vim.api.nvim_set_var("terminal_color_4", "#8AADF4")
vim.api.nvim_set_var("terminal_color_5", "#F5BDE6")
vim.api.nvim_set_var("terminal_color_6", "#8BD5CA")
vim.api.nvim_set_var("terminal_color_7", "#B8C0E0")
vim.api.nvim_set_var("terminal_color_8", "#5B6078")
vim.api.nvim_set_var("terminal_color_9", "#ED8796")
vim.api.nvim_set_var("terminal_color_10", "#A6DA95")
vim.api.nvim_set_var("terminal_color_11", "#EED49F")
vim.api.nvim_set_var("terminal_color_12", "#8AADF4")
vim.api.nvim_set_var("terminal_color_13", "#F5BDE6")
vim.api.nvim_set_var("terminal_color_14", "#8BD5CA")
vim.api.nvim_set_var("terminal_color_15", "#B8C0E0")
end
vim.g.neovide_theme = "catppuccin-macchiato"
end
vim.o.winwidth = 10
vim.o.winminwidth = 10
vim.o.equalalways = false
+24
View File
@@ -0,0 +1,24 @@
return {
"akinsho/bufferline.nvim",
keys = {
{ "[B", "<cmd>BufferLineMovePrev<cr>", desc = "Move buffer prev" },
{ "]B", "<cmd>BufferLineMoveNext<cr>", desc = "Move buffer next" },
{ "<leader>b1", "<cmd>BufferLineGoToBuffer 1<cr>", desc = "Buffer 1" },
{ "<leader>b2", "<cmd>BufferLineGoToBuffer 2<cr>", desc = "Buffer 2" },
{ "<leader>b3", "<cmd>BufferLineGoToBuffer 3<cr>", desc = "Buffer 3" },
{ "<leader>b4", "<cmd>BufferLineGoToBuffer 4<cr>", desc = "Buffer 4" },
{ "<leader>b5", "<cmd>BufferLineGoToBuffer 5<cr>", desc = "Buffer 5" },
{ "<leader>b6", "<cmd>BufferLineGoToBuffer 6<cr>", desc = "Buffer 6" },
{ "<leader>b7", "<cmd>BufferLineGoToBuffer 7<cr>", desc = "Buffer 7" },
{ "<leader>b8", "<cmd>BufferLineGoToBuffer 8<cr>", desc = "Buffer 8" },
{ "<leader>b9", "<cmd>BufferLineGoToBuffer 9<cr>", desc = "Buffer 9" },
{ "<leader>b0", "<cmd>BufferLineGoToBuffer -1<cr>", desc = "Buffer -1" },
},
opts = {
options = {
modified_icon = "",
color_icons = true,
separator_style = "slope",
},
},
}
+98
View File
@@ -0,0 +1,98 @@
local macchiato = require("catppuccin.palettes").get_palette("macchiato")
return {
{
"catppuccin/nvim",
lazy = false,
name = "catppuccin",
opts = {
background = {
light = "latte",
dark = "macchiato",
},
integrations = {
alpha = true,
cmp = true,
barbecue = {
dim_dirname = true, -- directory name is dimmed by default
bold_basename = true,
dim_context = false,
alt_background = false,
},
dap = true,
dap_ui = true,
dashboard = true,
flash = true,
headlines = true,
gitsigns = true,
harpoon = false,
illuminate = true,
indent_blankline = {
enabled = true,
scope_color = "lavender", -- catppuccin color (eg. `lavender`) Default: text
colored_indent_levels = false,
},
mason = true,
markdown = true,
mini = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = { "italic" },
hints = { "italic" },
warnings = { "italic" },
information = { "italic" },
},
underlines = {
errors = { "underline" },
hints = { "underline" },
warnings = { "underline" },
information = { "underline" },
},
inlay_hints = {
background = true,
},
},
lsp_trouble = false,
navic = { enabled = false, custom_bg = "lualine" },
neotest = true,
neotree = true,
notify = true,
noice = true,
ufo = true,
overseer = false,
octo = false,
rainbow_delimiters = true,
semantic_tokens = true,
telescope = {
enabled = true,
style = "nvchad",
},
symbols_outline = false,
treesitter = true,
treesitter_context = false,
which_key = true,
},
},
},
{
"akinsho/bufferline.nvim",
opts = {
highlights = require("catppuccin.groups.integrations.bufferline").get({
styles = { "italic", "bold" },
custom = {
all = {
fill = { bg = macchiato.mantle },
background = { bg = macchiato.mantle },
},
},
}),
},
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin-macchiato",
},
},
}
+66
View File
@@ -0,0 +1,66 @@
local cmp = require("cmp")
return {
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"saadparwaiz1/cmp_luasnip",
},
keys = {
{ "<leader>ciC", "<cmd>CmpStatus<CR>", desc = "Cmp Status" },
},
opts = function(_, opts)
opts.mapping = cmp.mapping.preset.insert({
["<C-j>"] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Insert }),
["<C-k>"] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Insert }),
["<C-n>"] = cmp.mapping.select_next_item({ behavior = cmp.SelectBehavior.Insert }),
["<C-p>"] = cmp.mapping.select_prev_item({ behavior = cmp.SelectBehavior.Insert }),
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.abort(),
["<CR>"] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
["<S-CR>"] = cmp.mapping.confirm({
behavior = cmp.ConfirmBehavior.Replace,
select = true,
}), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
["<C-CR>"] = function(fallback)
cmp.abort()
fallback()
end,
})
opts.window = {
completion = {
border = "rounded",
winhighlight = "Normal:Normal,FloatBorder:Normal,CursorLine:Visual,Search:None",
scrollbar = false,
col_offset = -3,
side_padding = 1,
},
documentation = {
border = "rounded",
winhighlight = "Normal:Normal,FloatBorder:Normal,CursorLine:Visual,Search:None",
scrollbar = false,
},
}
opts.performance = {
debounce = 20,
throttle = 20,
fetching_timeout = 20,
confirm_resolve_timeout = 20,
async_budget = 1,
max_view_entries = 50,
}
cmp.setup.cmdline({ "/", "?" }, {
mapping = cmp.mapping.preset.cmdline(),
sources = {
{ name = "buffer" },
},
})
end,
}
+21
View File
@@ -0,0 +1,21 @@
return {
"nvimdev/dashboard-nvim",
opts = function(_, opts)
vim.api.nvim_create_autocmd("TabNewEntered", { command = "Dashboard" })
local logo = [[

████ ██████ █████ ██
███████████ █████ 
█████████ ███████████████████ ███ ███████████
█████████ ███ █████████████ █████ ██████████████
█████████ ██████████ █████████ █████ █████ ████ █████
███████████ ███ ███ █████████ █████ █████ ████ █████
██████ █████████████████████ ████ █████ █████ ████ ██████
]]
logo = string.rep("\n", 8) .. logo .. "\n\n"
opts.config.header = vim.split(logo, "\n")
return opts
end,
}
@@ -0,0 +1,43 @@
return {
{
"Exafunction/codeium.vim",
event = "InsertEnter",
config = function()
local opts = { expr = true, silent = true }
vim.g.codeium_filetypes = { TelescopePrompt = false, DressingInput = false }
vim.g.codeium_disable_bindings = 1
vim.keymap.set("i", "<M-CR>", function()
return vim.fn["codeium#Accept"]()
end, opts)
vim.keymap.set("i", "<M-]>", function()
return vim.fn["codeium#CycleCompletions"](1)
end, opts)
vim.keymap.set("i", "<M-[>", function()
return vim.fn["codeium#CycleCompletions"](-1)
end, opts)
vim.keymap.set("i", "<M-c>", function()
return vim.fn["codeium#Clear"]()
end, opts)
vim.keymap.set("n", "<leader>cI", "<cmd>CodeiumToggle<cr>", { desc = "Toggle IA" })
end,
},
{
"nvim-lualine/lualine.nvim",
opts = function(_, opts)
local icon = require("lazyvim.config").icons.kinds.Codeium
local function show_codeium_status()
return icon .. vim.fn["codeium#GetStatusString"]()
end
-- Insert the icon
table.insert(opts.sections.lualine_x, 2, show_codeium_status)
end,
},
}
@@ -0,0 +1,26 @@
return {
{
import = "lazyvim.plugins.extras.coding.copilot",
},
{
"zbirenbaum/copilot.lua",
event = "InsertEnter",
opts = {
suggestion = {
enabled = true,
auto_trigger = true,
keymap = {
accept = "<M-CR>",
accept_line = "<M-l>",
accept_word = "<M-k>",
next = "<M-]>",
prev = "<M-[>",
dismiss = "<M-c>",
},
},
},
keys = {
{ "<leader>cI", "<cmd>Copilot toggle<cr>", desc = "Toggle IA" },
},
},
}
@@ -0,0 +1,106 @@
return {
{
"jackMort/ChatGPT.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
},
cond = function()
local api_key = os.getenv("OPENAI_API_KEY")
return api_key and api_key ~= "" and true or false
end,
opts = {
edit_with_instructions = {
diff = false,
keymaps = {
close = "<C-c>",
accept = "<C-y>",
toggle_diff = "<C-d>",
toggle_settings = "<C-o>",
cycle_windows = "<Tab>",
use_output_as_input = "<C-i>",
},
},
chat = {
welcome_message = "",
keymaps = {
close = { "<C-c>" },
yank_last = "<C-y>",
yank_last_code = "<C-k>",
scroll_up = "<C-u>",
scroll_down = "<C-d>",
new_session = "<C-n>",
cycle_windows = "<Tab>",
cycle_modes = "<C-f>",
next_message = "<C-j>",
prev_message = "<C-k>",
select_session = { "<Space>", "o", "<cr>" },
rename_session = "r",
delete_session = "d",
draft_message = "<C-d>",
edit_message = "e",
delete_message = "d",
toggle_settings = "<C-o>",
toggle_message_role = "<C-r>",
toggle_system_role_open = "<C-s>",
stop_generating = "<C-x>",
},
},
openai_params = {
model = "gpt-3.5-turbo-16k",
-- model = "gpt-4",
frequency_penalty = 0,
presence_penalty = 0,
max_tokens = 300,
temperature = 0.3,
top_p = 0.3,
n = 1,
-- temperature = 0,
-- top_p = 1,
},
openai_edit_params = {
model = "gpt-3.5-turbo-16k",
-- model = "gpt-4",
frequency_penalty = 0,
presence_penalty = 0,
temperature = 0,
top_p = 1,
n = 1,
},
show_quickfixes_cmd = "Trouble quickfix",
-- actions_paths = { "~/.config/nvim/custom_actions.json" },
},
cmd = {
"ChatGPT",
"ChatGPTActAs",
"ChatGPTCompleteCode",
"ChatGPTEditWithInstructions",
"ChatGPTRun",
},
-- stylua: ignore
keys = {
{ "<leader>Cc", "<cmd>ChatGPT<CR>", desc = "ChatGPT" },
{ "<leader>Ce", "<cmd>ChatGPTEditWithInstruction<CR>", desc = "Edit with instruction", mode = { "n", "v" } },
{ "<leader>Cg", "<cmd>ChatGPTRun grammar_correction<CR>", desc = "Grammar Correction", mode = { "n", "v" } },
{ "<leader>Ct", "<cmd>ChatGPTRun translate<CR>", desc = "Translate", mode = { "n", "v" } },
{ "<leader>Ck", "<cmd>ChatGPTRun keywords<CR>", desc = "Keywords", mode = { "n", "v" } },
{ "<leader>Cd", "<cmd>ChatGPTRun docstring<CR>", desc = "Docstring", mode = { "n", "v" } },
{ "<leader>CT", "<cmd>ChatGPTRun add_tests<CR>", desc = "Add Tests", mode = { "n", "v" } },
{ "<leader>Co", "<cmd>ChatGPTRun optimize_code<CR>", desc = "Optimize Code", mode = { "n", "v" } },
{ "<leader>Cs", "<cmd>ChatGPTRun summarize<CR>", desc = "Summarize", mode = { "n", "v" } },
{ "<leader>Cf", "<cmd>ChatGPTRun fix_bugs<CR>", desc = "Fix Bugs", mode = { "n", "v" } },
{ "<leader>Cx", "<cmd>ChatGPTRun explain_code<CR>", desc = "Explain Code", mode = { "n", "v" } },
{ "<leader>Cr", "<cmd>ChatGPTRun roxygen_edit<CR>", desc = "Roxygen Edit", mode = { "n", "v" } },
{ "<leader>Cl", "<cmd>ChatGPTRun code_readability_analysis<CR>", desc = "Code Readability Analysis", mode = { "n", "v" }, },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>C"] = { name = "󰚩 chatGPT" },
},
},
},
}
@@ -0,0 +1,34 @@
return {
{
"danymat/neogen",
opts = {
snippet_engine = "luasnip",
enabled = true,
},
-- stylua: ignore
keys = {
{ "<leader>ad", function() require("neogen").generate() end, desc = "Default Annotation" },
{ "<leader>ac", function() require("neogen").generate({ type = "class" }) end, desc = "Class" },
{ "<leader>af", function() require("neogen").generate({ type = "func" }) end, desc = "Function" },
{ "<leader>at", function() require("neogen").generate({ type = "type" }) end, desc = "Type" },
{ "<leader>aF", function() require("neogen").generate({ type = "file" }) end, desc = "File" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>a"] = { name = " annotation" },
},
},
},
{
"Zeioth/dooku.nvim",
cmd = { "DookuGenerate", "DookuOpen", "DookuAutoSetup" },
opts = {},
-- stylua: ignore
keys = {
{ "<leader>ag", "<Cmd>DookuGenerate<CR>", desc = "Generate HTML Docs" },
},
},
}
@@ -0,0 +1,125 @@
return {
{
"hrsh7th/nvim-cmp",
dependencies = {
"windwp/nvim-autopairs",
opts = {},
},
opts = function()
local cmp = require("cmp")
local cmp_autopairs = require("nvim-autopairs.completion.cmp")
local ts_utils = require("nvim-treesitter.ts_utils")
local ts_node_func_parens_disabled = {
-- ecma
named_imports = true,
-- rust
use_declaration = true,
}
local npairs = require("nvim-autopairs")
local Rule = require("nvim-autopairs.rule")
local cond = require("nvim-autopairs.conds")
local brackets = { { "(", ")" }, { "[", "]" }, { "{", "}" } }
local default_handler = cmp_autopairs.filetypes["*"]["("].handler
cmp_autopairs.filetypes["*"]["("].handler = function(char, item, bufnr, rules, commit_character)
local node_type = ts_utils.get_node_at_cursor():type()
if ts_node_func_parens_disabled[node_type] then
if item.data then
item.data.funcParensDisabled = true
else
char = ""
end
end
default_handler(char, item, bufnr, rules, commit_character)
end
cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done())
npairs.add_rules({
-- Rule for a pair with left-side ' ' and right side ' '
Rule(" ", " ")
-- Pair will only occur if the conditional function returns true
:with_pair(function(opts)
-- We are checking if we are inserting a space in (), [], or {}
local pair = opts.line:sub(opts.col - 1, opts.col)
return vim.tbl_contains({
brackets[1][1] .. brackets[1][2],
brackets[2][1] .. brackets[2][2],
brackets[3][1] .. brackets[3][2],
}, pair)
end)
:with_move(cond.none())
:with_cr(cond.none())
-- We only want to delete the pair of spaces when the cursor is as such: ( | )
:with_del(
function(opts)
local col = vim.api.nvim_win_get_cursor(0)[2]
local context = opts.line:sub(col - 1, col + 2)
return vim.tbl_contains({
brackets[1][1] .. " " .. brackets[1][2],
brackets[2][1] .. " " .. brackets[2][2],
brackets[3][1] .. " " .. brackets[3][2],
}, context)
end
),
-- Javascript arrow key
Rule("%(.*%)%s*%=>$", " { }", { "typescript", "typescriptreact", "javascript" })
:use_regex(true)
:set_end_pair_length(2),
-- Auto addspace on =
Rule("=", "")
:with_pair(cond.not_inside_quote())
:with_pair(function(opts)
local last_char = opts.line:sub(opts.col - 1, opts.col - 1)
if last_char:match("[%w%=%s]") then
return true
end
return false
end)
:replace_endpair(function(opts)
local prev_2char = opts.line:sub(opts.col - 2, opts.col - 1)
local next_char = opts.line:sub(opts.col, opts.col)
next_char = next_char == " " and "" or " "
if prev_2char:match("%w$") then
return "<bs> =" .. next_char
end
if prev_2char:match("%=$") then
return next_char
end
if prev_2char:match("=") then
return "<bs><bs>=" .. next_char
end
return ""
end)
:set_end_pair_length(0)
:with_move(cond.none())
:with_del(cond.none()),
})
-- For each pair of brackets we will add another rule
for _, bracket in pairs(brackets) do
npairs.add_rules({
-- Each of these rules is for a pair with left-side '( ' and right-side ' )' for each bracket type
Rule(bracket[1] .. " ", " " .. bracket[2])
:with_pair(cond.none())
:with_move(function(opts)
return opts.char == bracket[2]
end)
:with_del(cond.none())
:use_key(bracket[2])
-- Removes the trailing whitespace that can occur without this
:replace_map_cr(function(_)
return "<C-c>2xi<CR><C-c>O"
end),
})
end
end,
},
{
"echasnovski/mini.pairs",
enabled = false,
},
}
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-emoji",
},
opts = function(_, opts)
table.insert(opts.sources, { name = "emoji" })
end,
}
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"amarakon/nvim-cmp-fonts",
},
opts = function(_, opts)
table.insert(opts.sources, { name = "fonts", option = { space_filter = "-" } })
end,
}
@@ -0,0 +1,18 @@
local cmp = require("cmp")
return {
"hrsh7th/nvim-cmp",
dependencies = {
"petertriho/cmp-git",
opts = {},
},
opts = function(_, opts)
cmp.setup.filetype("gitcommit", {
sources = cmp.config.sources({
{ name = "git" }, -- You can specify the `git` source if [you were installed it](https://github.com/petertriho/cmp-git).
}, {
{ name = "buffer" },
}),
})
end,
}
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"chrisgrieser/cmp-nerdfont",
},
opts = function(_, opts)
table.insert(opts.sources, { name = "nerdfont" })
end,
}
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"lukas-reineke/cmp-rg",
},
opts = function(_, opts)
table.insert(opts.sources, { name = "rg", keyword_length = 3 })
end,
}
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"lukas-reineke/cmp-under-comparator",
},
opts = function(_, opts)
table.insert(opts.sorting.comparators, 4, require("cmp-under-comparator").under)
end,
}
@@ -0,0 +1,9 @@
return {
"hrsh7th/nvim-cmp",
dependencies = {
"chrisgrieser/cmp_yanky",
},
opts = function(_, opts)
table.insert(opts.sources, { name = "cmp_yanky" })
end,
}
@@ -0,0 +1,75 @@
return {
"michaelb/sniprun",
run = "bash ./install.sh",
cmd = { "SnipRun", "SnipInfo", "SnipLive", "SnipClose", "SnipReset", "SnipReplMemoryClean" },
opts = {
selected_interpreters = {}, --# use those instead of the default for the current filetype
repl_enable = { "javascript", "typescript" }, --# enable REPL-like behavior for the given interpreters
repl_disable = {}, --# disable REPL-like behavior for the given interpreters
interpreter_options = {
--# interpreter-specific options, see docs / :SnipInfo <name>
--# use the interpreter name as key
GFM_original = {
use_on_filetypes = { "markdown.pandoc" }, --# the 'use_on_filetypes' configuration key is
--# available for every interpreter
},
Python3_original = {
error_truncate = "auto", --# Truncate runtime errors 'long', 'short' or 'auto'
--# the hint is available for every interpreter
--# but may not be always respected
},
},
--# you can combo different display modes as desired and with the 'Ok' or 'Err' suffix
--# to filter only sucessful runs (or errored-out runs respectively)
display = {
-- "Classic", --# display results in the command-line area
-- "VirtualTextOk", --# display ok results as virtual text (multiline is shortened)
"VirtualText", --# display results as virtual text
-- "TempFloatingWindow", --# display results in a floating window
-- "LongTempFloatingWindow", --# same as above, but only long results. To use with VirtualText[Ok/Err]
-- "Terminal", --# display results in a vertical split
-- "TerminalWithCode", --# display results and code history in a vertical split
-- "NvimNotify", --# display with the nvim-notify plugin
-- "Api" --# return output to a programming interface
},
live_display = { "VirtualTextOk" }, --# display mode used in live_mode
display_options = {
terminal_scrollback = vim.o.scrollback, --# change terminal display scrollback lines
terminal_line_number = false, --# whether show line number in terminal window
terminal_signcolumn = false, --# whether show signcolumn in terminal window
terminal_persistence = true, --# always keep the terminal open (true) or close it at every occasion (false)
terminal_width = 45, --# change the terminal display option width
notification_timeout = 5, --# timeout for nvim_notify output
},
--# You can use the same keys to customize whether a sniprun producing
--# no output should display nothing or '(no output)'
show_no_output = {
"Classic",
"TempFloatingWindow", --# implies LongTempFloatingWindow, which has no effect on its own
},
--# customize highlight groups (setting this overrides colorscheme)
-- snipruncolors = {
-- SniprunVirtualTextOk = { bg = "#66eeff", fg = "#000000", ctermbg = "Cyan", cterfg = "Black" },
-- SniprunFloatingWinOk = { fg = "#66eeff", ctermfg = "Cyan" },
-- SniprunVirtualTextErr = { bg = "#881515", fg = "#000000", ctermbg = "DarkRed", cterfg = "Black" },
-- SniprunFloatingWinErr = { fg = "#881515", ctermfg = "DarkRed" },
-- },
live_mode_toggle = "off", --# live mode toggle, see Usage - Running for more info
--# miscellaneous compatibility/adjustement settings
inline_messages = false, --# inline_message (0/1) is a one-line way to display messages
--# to workaround sniprun not being able to display anything
borders = "single", --# display borders around floating windows
--# possible values are 'none', 'single', 'double', or 'shadow'
},
}
@@ -0,0 +1,34 @@
return {
{
"andrewferrier/debugprint.nvim",
opts = {
create_keymaps = false,
},
-- stylua: ignore
keys = {
{ "<Leader>ddl", function() return require("debugprint").debugprint() end, desc = "Print under current line", expr = true },
{ "<Leader>ddL", function() return require("debugprint").debugprint({ above = true }) end, desc = "Print above current line", expr = true },
{
"<Leader>ddv",
function() return require("debugprint").debugprint({ variable = true }) end,
desc = "Print variable under current line",
expr = true,
},
{
"<Leader>ddV",
function() return require("debugprint").debugprint({ above = true, variable = true }) end,
desc = "Print variable above current line",
expr = true,
},
{ "<Leader>ddd", function() return require("debugprint").deleteprints() end, desc = "Delete all prints" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>dd"] = { name = "debugPrint" },
},
},
},
}
@@ -0,0 +1,14 @@
return {
"monaqa/dial.nvim",
-- stylua: ignore
keys = {
{ "<C-a>", function() require("dial.map").manipulate("increment", "normal") end },
{ "<C-x>", function() require("dial.map").manipulate("decrement", "normal") end },
{ "g<C-a>", function() require("dial.map").manipulate("increment", "gnormal") end },
{ "g<C-x>", function() require("dial.map").manipulate("decrement", "gnormal") end },
{ "<C-a>", function() require("dial.map").manipulate("increment", "visual") end, mode = "v", },
{ "<C-x>", function() require("dial.map").manipulate("decrement", "visual") end, mode = "v", },
{ "g<C-a>", function() require("dial.map").manipulate("increment", "gvisual") end, mode = "v", },
{ "g<C-x>", function() require("dial.map").manipulate("decrement", "gvisual") end, mode = "v", },
},
}
@@ -0,0 +1,5 @@
return {
"kevinhwang91/nvim-ibus-sw",
event = "InsertLeave",
opts = {},
}
@@ -0,0 +1,48 @@
return {
{
"smoka7/multicursors.nvim",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"smoka7/hydra.nvim",
},
cmd = { "MCstart", "MCvisual", "MCclear", "MCpattern", "MCvisualPattern", "MCunderCursor" },
-- stylua: ignore
keys = {
{ mode = { "v", "n" }, "<leader>m", "<cmd>MCstart<cr>", desc = "Multicursor" },
},
opts = {
hint_config = {
border = "rounded",
position = "bottom-right",
},
generate_hints = {
normal = true,
insert = true,
extend = true,
config = {
column_count = 1,
},
},
},
},
{
"nvim-lualine/lualine.nvim",
optional = true,
opts = function(_, opts)
local function is_active()
local ok, hydra = pcall(require, "hydra.statusline")
return ok and hydra.is_active()
end
local function get_name()
local ok, hydra = pcall(require, "hydra.statusline")
if ok then
return hydra.get_name()
end
return ""
end
table.insert(opts.sections.lualine_b, { get_name, cond = is_active })
end,
},
}
@@ -0,0 +1,24 @@
return {
"chrisgrieser/nvim-recorder",
dependencies = { "rcarriga/nvim-notify" },
keys = {
{ "q", desc = "Start Recording" },
{ "Q", desc = "Play Recording" },
{ "<C-q>", desc = "Switch Slot" },
{ "cq", desc = "Edit Macro" },
{ "yq", desc = "Yank Macro" },
{ "dq", desc = "Delete All Macros" },
},
opts = {
useNerdFontsIcons = false,
slots = { "a", "b", "c", "d" },
mapping = {
startStopRecording = "q",
playMacro = "Q",
editMacro = "cq",
switchSlot = "<C-q>",
deleteAllMacros = "dq",
yankMacro = "yq",
},
},
}
@@ -0,0 +1,17 @@
return {
"ThePrimeagen/refactoring.nvim",
requires = {
{ "nvim-lua/plenary.nvim" },
{ "nvim-treesitter/nvim-treesitter" },
},
opts = {},
config = function(_, opts)
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("refactoring")
end)
end,
-- stylua: ignore
keys = {
{ "<leader>cR", function() require('telescope').extensions.refactoring.refactors() end, mode = { "n", "x" }, desc = "Refactor" },
},
}
@@ -0,0 +1,11 @@
return {
"vidocqh/auto-indent.nvim",
event = "LazyFile",
opts = {
---@param lnum: number
---@return number
indentexpr = function(lnum)
return require("nvim-treesitter.indent").get_indent(lnum)
end,
},
}
@@ -0,0 +1,11 @@
return {
"nvim-treesitter/nvim-treesitter",
dependencies = {
"RRethy/nvim-treesitter-endwise",
},
opts = {
endwise = {
enable = true,
},
},
}
@@ -0,0 +1,5 @@
return {
"nmac427/guess-indent.nvim",
event = "LazyFile",
opts = {},
}
@@ -0,0 +1,8 @@
return {
"echasnovski/mini.align",
opts = {},
keys = {
{ "ga", mode = { "n", "v" }, desc = "Align" },
{ "gA", mode = { "n", "v" }, desc = "Align Preview" },
},
}
@@ -0,0 +1,7 @@
return {
"ckolkey/ts-node-action",
dependencies = { "nvim-treesitter" },
opts = {},
--stylua: ignore
keys = { { "J", "<cmd>NodeAction<cr>", mode = "n", desc = "Node action" } },
}
@@ -0,0 +1,4 @@
return {
"nvim-treesitter/nvim-treesitter",
dependencies = { "chrisgrieser/nvim-puppeteer" },
}
@@ -0,0 +1,13 @@
return {
"Wansmer/sibling-swap.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
opts = {
use_default_keymaps = false,
highlight_node_at_cursor = true,
},
-- stylua: ignore
keys = {
{ "<C-.>", function() require("sibling-swap").swap_with_right() end, desc = "Move Node Right" },
{ "<C-,>", function() require("sibling-swap").swap_with_left() end, desc = "Move Node Left" },
},
}
@@ -0,0 +1,10 @@
return {
"chrisgrieser/nvim-spider",
opts = {},
keys = {
{ "w", "<cmd>lua require('spider').motion('w')<CR>", mode = { "n", "o", "x" }, desc = "Spider-w" },
{ "e", "<cmd>lua require('spider').motion('e')<CR>", mode = { "n", "o", "x" }, desc = "Spider-e" },
{ "b", "<cmd>lua require('spider').motion('b')<CR>", mode = { "n", "o", "x" }, desc = "Spider-b" },
{ "E", "<cmd>lua require('spider').motion('ge')<CR>", mode = { "n", "o", "x" }, desc = "Spider-E" },
},
}
@@ -0,0 +1,11 @@
return {
"johmsalas/text-case.nvim",
dependencies = { "nvim-telescope/telescope.nvim" },
config = function()
require("textcase").setup({})
require("telescope").load_extension("textcase")
end,
keys = {
{ "gC", "<cmd>TextCaseOpenTelescope<CR>", mode = { "n", "v" }, desc = "Text Case" },
},
}
@@ -0,0 +1,16 @@
return {
"chrisgrieser/nvim-various-textobjs",
opts = { useDefaultKeymaps = false },
-- stylua: ignore
keys = {
{ "im", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdlink("inner") end, desc = "Markdown Link", },
{ "am", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdlink("outer") end, desc = "Markdown Link", },
{ "iC", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdFencedCodeBlock("inner") end, desc = "CodeBlock", },
{ "aC", ft = { "markdown" }, mode = { "o", "x" }, function() require("various-textobjs").mdFencedCodeBlock("outer") end, desc = "CodeBlock", },
{ "gd", mode = { "o", "x" }, function() require("various-textobjs").diagnostics() end, desc = "Diagnostics", },
{ "iy", ft = { "python" }, mode = { "o", "x" }, function() require("various-textobjs").pyTripleQuotes("inner") end, desc = "Triple Quotes", },
{ "ay", ft = { "python" }, mode = { "o", "x" }, function() require("various-textobjs").pyTripleQuotes("outer") end, desc = "Triple Quotes", },
{ "iC", ft = { "css", "scss", "less" }, mode = { "o", "x" }, function() require("various-textobjs").cssSelector("inner") end, desc = "CSS Selector", },
{ "aC", ft = { "css", "scss", "less" }, mode = { "o", "x" }, function() require("various-textobjs").cssSelector("outer") end, desc = "CSS Selector", },
},
}
@@ -0,0 +1,5 @@
return {
"sustech-data/wildfire.nvim",
event = "BufEnter",
opts = {},
}
@@ -0,0 +1,12 @@
return {
{
"altermo/ultimate-autopair.nvim",
event = { "InsertEnter", "CmdlineEnter" },
branch = "v0.6", --recomended as each new version will have breaking changes
opts = {},
},
{
"echasnovski/mini.pairs",
enabled = false,
},
}
@@ -0,0 +1,39 @@
return {
{
import = "lazyvim.plugins.extras.coding.yanky",
},
{
"gbprod/yanky.nvim",
opts = function(_, opts)
local utils = require("yanky.utils")
local mapping = require("yanky.telescope.mapping")
opts.highlight = { timer = 250 }
opts.ring = { storage = jit.os:find("Windows") and "shada" or "sqlite" }
opts.picker = {
telescope = {
use_default_mappings = false,
mappings = {
default = mapping.put("p"),
i = {
["<c-g>"] = mapping.put("p"),
["<c-h>"] = mapping.put("P"),
["<c-x>"] = mapping.delete(),
["<c-r>"] = mapping.set_register(utils.get_default_register()),
},
n = {
p = mapping.put("p"),
P = mapping.put("P"),
d = mapping.delete(),
r = mapping.set_register(utils.get_default_register()),
},
},
},
}
end,
-- stylua: ignore
keys = {
{"<leader>sy", function() require("telescope").extensions.yank_history.yank_history({}) end, mode = {"n", "v"}, desc = "Yank History"},
},
},
}
@@ -0,0 +1,32 @@
return {
{ import = "lazyvim.plugins.extras.dap.core" },
{
"mfussenegger/nvim-dap",
opts = {
defaults = {
fallback = {
external_terminal = {
command = "/usr/bin/kitty",
args = { "--class", "kitty-dap", "--hold", "--detach", "nvim-dap", "-c", "DAP" },
},
},
},
},
-- stylua: ignore
keys = {
{ "<F5>", function() require("dap").continue() end, desc = "Debug: Continue" },
{ "<F10>", function() require("dap").step_over() end, desc = "Debug: Step over" },
{ "<F11>", function() require("dap").step_into() end, desc = "Debug: Step into" },
{ "<F12>", function() require("dap").step_out() end, desc = "Debug: Step out" },
{ "<F2>", function() require("dap").toggle_breakpoint() end, desc = "Debug: Toggle breakpoint" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>d"] = { name = " debug" },
},
},
},
}
@@ -0,0 +1,31 @@
return {
{
"Weissle/persistent-breakpoints.nvim",
event = "LazyFile",
keys = {
{ "<leader>dbd", "<cmd>PBClearAllBreakpoints<cr>", desc = "Delete All Breakpoints" },
{ "<leader>dbB", "<cmd>PBSetConditionalBreakpoint<cr>", desc = "Breakpoint Condition" },
{ "<leader>dbb", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
{ "<F2>", "<cmd>PBToggleBreakpoint<cr>", desc = "Toggle Breakpoint" },
},
opts = {
load_breakpoints_event = { "BufReadPost" },
},
},
{
"mfussenegger/nvim-dap",
optional = true,
keys = {
{ "<F2>", false },
{ "<leader>dB", false },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>db"] = { name = "breakpoints" },
},
},
},
}
@@ -0,0 +1,12 @@
return {
"nvim-treesitter/nvim-treesitter",
dependencies = {
"LiadOz/nvim-dap-repl-highlights",
opts = {},
},
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "dap_repl" })
end
end,
}
@@ -0,0 +1,16 @@
return {
"nvim-telescope/telescope-dap.nvim",
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("dap")
end)
end,
-- stylua: ignore
keys = {
{ "<leader>dm", "<cmd>Telescope dap commands<CR>", desc = "Commands" },
{ "<leader>df", "<cmd>Telescope dap frames<CR>", desc = "Frames" },
{ "<leader>dG", "<cmd>Telescope dap configurations<CR>", desc = "Configurations" },
{ "<leader>dbL", "<cmd>Telescope dap list_breakpoints<CR>", desc = "List Breakpoints" },
{ "<leader>dv", "<cmd>Telescope dap variables<CR>", desc = "Variables" },
},
}
@@ -0,0 +1,43 @@
return {
"tomasky/bookmarks.nvim",
config = function()
require("bookmarks").setup({
save_file = vim.fn.stdpath("state") .. "/bookmarks",
keywords = {
["@t"] = "󰄵 ",
["@w"] = "",
["@f"] = "󰁨 ",
["@n"] = "",
},
})
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
repo = {
list = {
fd_opts = {
"--no-ignore-vcs",
},
search_dirs = {
"~/Repos/",
},
},
},
},
})
require("telescope").load_extension("bookmarks")
end)
end,
-- stylua: ignore
keys = {
{ "<leader>fB", "<cmd>Telescope bookmarks list<cr>", desc = "Bookmarks" },
{ "mm", function() require("bookmarks").bookmark_toggle() end, desc = "Toggle Bookmark" },
{ "ml", function() require("bookmarks").bookmark_ann() end, desc = "Add/Edit Current Line" },
{ "mc", function() require("bookmarks").bookmark_clean() end, desc = "Clear All Bookmarks" },
{ "mn", function() require("bookmarks").bookmark_next() end, desc = "Next Bookmark" },
{ "mp", function() require("bookmarks").bookmark_prev() end, desc = "Previous Bookmark" },
{ "]k", function() require("bookmarks").bookmark_next() end, desc = "Next Bookmark" },
{ "[k", function() require("bookmarks").bookmark_prev() end, desc = "Previous Bookmark" },
{ "mL", function() require("bookmarks").bookmark_list() end, desc = "List Bookmarks" },
},
}
@@ -0,0 +1,26 @@
return {
"uga-rosa/ccc.nvim",
init = function()
vim.api.nvim_create_autocmd("BufReadPost", {
callback = function()
local firstline = vim.api.nvim_buf_get_lines(0, 0, 1, false)[1]
if vim.endswith(firstline, "vim-pseudo-modeline: buffer_has_colors") then
vim.cmd.CccHighlighterEnable()
end
end,
})
end,
ft = { "css", "scss", "sh" },
cmd = { "CccPick", "CccConvert", "CccHighlighterEnable", "CccHighlighterDisable", "CccHighlighterToggle" },
keys = {
{ "<leader>up", "<cmd>CccHighlighterToggle<cr>", desc = "Toggle Paint/Colorizer" },
{ "<A-C>", "<cmd>CccConvert<cr>", desc = "Convert color" },
{ "<S-c>", "<cmd>CccPick<cr>", desc = "Pick Color" },
},
opts = {
highlighter = {
auto_enable = true,
lsp = true,
},
},
}
@@ -0,0 +1,45 @@
return {
"luckasRanarison/nvim-devdocs",
cmd = {
"DevdocsFetch",
"DevdocsInstall",
"DevdocsUninstall",
"DevdocsOpen",
"DevdocsOpenFloat",
"DevdocsOpenCurrent",
"DevdocsOpenCurrentFloat",
"DevdocsUpdate",
"DevdocsUpdateAll",
},
keys = {
{ "<leader>sE", "<cmd>DevdocsOpen<cr>", desc = "Devdocs" },
{ "<leader>se", "<cmd>DevdocsOpenCurrent<cr>", desc = "Devdocs Current" },
},
opts = {
dir_path = vim.fn.stdpath("data") .. "/devdocs", -- installation directory
telescope = {}, -- passed to the telescope picker
float_win = { -- passed to nvim_open_win(), see :h api-floatwin
relative = "editor",
height = 25,
width = 100,
border = "rounded",
},
wrap = false, -- text wrap, only applies to floating window
previewer_cmd = nil, -- for example: "glow"
cmd_args = {}, -- example using glow: { "-s", "dark", "-w", "80" }
cmd_ignore = {}, -- ignore cmd rendering for the listed docs
picker_cmd = false, -- use cmd previewer in picker preview
picker_cmd_args = {}, -- example using glow: { "-s", "dark", "-w", "50" }
after_open = function(bufnr)
vim.api.nvim_buf_set_keymap(bufnr, "n", "q", ":close<CR>", {})
end,
ensure_installed = {
"javascript",
"lua-5.4",
"fish-3.6",
"git",
"npm",
"node",
},
},
}
@@ -0,0 +1,26 @@
return {
"nvim-neorg/neorg",
build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" },
event = "VeryLazy",
opts = {
load = {
["core.defaults"] = {}, -- Loads default behaviour
["core.concealer"] = {}, -- Adds pretty icons to your documents
["core.keybinds"] = {}, -- Adds default keybindings
["core.completion"] = {
config = {
engine = "nvim-cmp",
},
}, -- Enables support for completion plugins
["core.journal"] = {}, -- Enables support for the journal module
["core.dirman"] = { -- Manages Neorg workspaces
config = {
workspaces = {
notes = "~/projects/notes",
},
},
},
},
},
}
@@ -0,0 +1,95 @@
return {
"epwalsh/obsidian.nvim",
event = { "BufReadPre" .. vim.fn.expand("~") .. "Documentos/Obsidian/obsidianVault/root/**.md" },
keys = {
{
"gf",
function()
if require("obsidian").util.cursor_on_markdown_link() then
return "<cmd>ObsidianFollowLink<CR>"
else
return "gf"
end
end,
noremap = false,
expr = true,
},
},
dependencies = {
"nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp",
"nvim-telescope/telescope.nvim",
},
opts = {
dir = vim.env.HOME .. "Documentos/Obsidian/obsidianVault/root", -- specify the vault location. no need to call 'vim.fn.expand' here
use_advanced_uri = true,
finder = "telescope.nvim",
mappings = {},
templates = {
subdir = "templates",
date_format = "%Y-%m-%d-%a",
time_format = "%H:%M",
},
backlinks = { height = 10, wrap = true },
-- Optional, by default when you use `:ObsidianFollowLink` on a link to an external
-- URL it will be ignored but you can customize this behavior here.
follow_url_func = function(url)
-- Open the URL in the default web browser.
vim.fn.jobstart({ "xdg-open", url }) -- linux
end,
-- Optional, set to true if you use the Obsidian Advanced URI plugin.
-- https://github.com/Vinzent03/obsidian-advanced-uri
use_advanced_uri = false,
-- Optional, set to true to force ':ObsidianOpen' to bring the app to the foreground.
open_app_foreground = false,
-- Optional, by default commands like `:ObsidianSearch` will attempt to use
-- telescope.nvim, fzf-lua, and fzf.nvim (in that order), and use the
-- first one they find. By setting this option to your preferred
-- finder you can attempt it first. Note that if the specified finder
-- is not installed, or if it the command does not support it, the
-- remaining finders will be attempted in the original order.
finder = "telescope.nvim",
-- Optional, determines whether to open notes in a horizontal split, a vertical split,
-- or replacing the current buffer (default)
-- Accepted values are "current", "hsplit" and "vsplit"
open_notes_in = "current",
daily_notes = {
folder = "journal/daily",
date_format = "%Y-%m-%d",
},
completion = {
nvim_cmp = true,
min_chars = 2,
-- Where to put new notes created from completion. Valid options are
-- * "current_dir" - put new notes in same directory as the current buffer.
-- * "notes_subdir" - put new notes in the default notes subdirectory.
new_notes_location = "current_dir",
-- Whether to add the output of the node_id_func to new notes in autocompletion.
-- E.g. "[[Foo" completes to "[[foo|Foo]]" assuming "foo" is the ID of the note.
prepend_note_id = false,
},
note_frontmatter_func = function(note)
-- This is equivalent to the default frontmatter function.
local out = { id = note.id, aliases = note.aliases, tags = note.tags }
-- `note.metadata` contains any manually added fields in the frontmatter.
-- So here we just make sure those fields are kept in the frontmatter.
if note.metadata ~= nil and require("obsidian").util.table_length(note.metadata) > 0 then
for k, v in pairs(note.metadata) do
out[k] = v
end
end
return out
end,
},
}
@@ -0,0 +1,44 @@
return {
{
"sindrets/diffview.nvim",
keys = {
{ "<leader>gd", "<cmd>DiffviewFileHistory<CR>", desc = "Diff File History" },
{ "<leader>gD", "<cmd>DiffviewOpen<CR>", desc = "Diff View Open" },
},
opts = function(_, opts)
local actions = require("diffview.actions")
opts.keymaps = {
--stylua: ignore
view = {
{ "n", "<leader>gCo", actions.conflict_choose("ours"), { desc = "Choose the OURS version of a conflict" } },
{ "n", "<leader>gCt", actions.conflict_choose("theirs"), { desc = "Choose the THEIRS version of a conflict" } },
{ "n", "<leader>gCb", actions.conflict_choose("base"), { desc = "Choose the BASE version of a conflict" } },
{ "n", "<leader>gCa", actions.conflict_choose("all"), { desc = "Choose all the versions of a conflict" } },
{ "n", "<leader>gCx", actions.conflict_choose("none"), { desc = "Delete the conflict region" } },
{ "n", "<leader>gCO", actions.conflict_choose_all("ours"), { desc = "Choose the OURS version of a conflict for the whole file" } },
{ "n", "<leader>gCT", actions.conflict_choose_all("theirs"), { desc = "Choose the THEIRS version of a conflict for the whole file" } },
{ "n", "<leader>gCB", actions.conflict_choose_all("base"), { desc = "Choose the BASE version of a conflict for the whole file" } },
{ "n", "<leader>gCA", actions.conflict_choose_all("all"), { desc = "Choose all the versions of a conflict for the whole file" } },
{ "n", "<leader>gCX", actions.conflict_choose_all("none"), { desc = "Delete the conflict region for the whole file" } },
},
--stylua: ignore
file_panel = {
{ "n", "<leader>gCO", actions.conflict_choose_all("ours"), { desc = "Choose the OURS version of a conflict for the whole file" } },
{ "n", "<leader>gCT", actions.conflict_choose_all("theirs"), { desc = "Choose the THEIRS version of a conflict for the whole file" } },
{ "n", "<leader>gCB", actions.conflict_choose_all("base"), { desc = "Choose the BASE version of a conflict for the whole file" } },
{ "n", "<leader>gCA", actions.conflict_choose_all("all"), { desc = "Choose all the versions of a conflict for the whole file" } },
{ "n", "<leader>gCX", actions.conflict_choose_all("none"), { desc = "Delete the conflict region for the whole file" } },
},
}
end,
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>gC"] = { name = "conflicts" },
},
},
},
}
@@ -0,0 +1,26 @@
return {
{
"akinsho/git-conflict.nvim",
opts = {
default_mappings = false,
},
version = "v1.0.0",
cmd = { "GitConflictChooseTheirs", "GitConflictChooseOurs", "GitConflictChooseBoth", "GitConflictListQf" },
keys = {
{ "<leader>gCt", "<cmd>GitConflictChooseTheirs<cr>", desc = "Choose Their Changes" },
{ "<leader>gCo", "<cmd>GitConflictChooseOurs<cr>", desc = "Choose Our Changes" },
{ "<leader>gCb", "<cmd>GitConflictChooseBoth<cr>", desc = "Choose Both changes" },
{ "<leader>gCl", "<cmd>GitConflictListQf<cr>", desc = "Git Conflict Quicklist" },
{ "[g", "<cmd>GitConflictPrevConflict<cr>", desc = "Prev Git Conflict" },
{ "]g", "<cmd>GitConflictPrevConflict<cr>", desc = "Next Git Conflict" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>gC"] = { name = "conflicts" },
},
},
},
}
@@ -0,0 +1,103 @@
local prefix = "<leader>G"
return {
{
"almo7aya/openingh.nvim",
cmd = { "OpenInGHRepo", "OpenInGHFile", "OpenInGHFileLines" },
keys = {
{ prefix .. "ro", "<cmd>OpenInGHRepo<CR>", desc = "Open git repo in web", mode = { "n" } },
{ prefix .. "rf", "<cmd>OpenInGHFile<CR>", desc = "Open git file in web", mode = { "n" } },
{ prefix .. "rc", "<cmd>OpenInGHFileLines<CR>", desc = "Open current line in web", mode = { "n", "x", "v" } },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>G"] = { name = " github" },
["<leader>Gc"] = { name = "comments" },
["<leader>Gt"] = { name = "threads" },
["<leader>Gi"] = { name = "issues" },
["<leader>Gp"] = { name = "pull requests" },
["<leader>Gpm"] = { name = "merge current PR" },
["<leader>Gr"] = { name = "repo" },
["<leader>Ga"] = { name = "assignee/reviewer" },
["<leader>Gl"] = { name = "label" },
["<leader>Ge"] = { name = "reaction" },
["<leader>GR"] = { name = "review" },
},
},
},
{
"pwntester/octo.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
"nvim-tree/nvim-web-devicons",
},
cmd = { "Octo" },
opts = {
use_diagnostic_signs = true,
mappings = {},
},
keys = {
{ prefix .. "ca", "<cmd>Octo comment add<CR>", desc = "Add a new comment" },
{ prefix .. "cd", "<cmd>Octo comment delete<CR>", desc = "Delete a comment" },
{ prefix .. "ta", "<cmd>Octo thread resolve<CR>", desc = "Mark thread as resolved" },
{ prefix .. "td", "<cmd>Octo thread unresolve<CR>", desc = "Mark thread as unresolved" },
{ prefix .. "ic", "<cmd>Octo issue close<CR>", desc = "Close current issue" },
{ prefix .. "ir", "<cmd>Octo issue reopen<CR>", desc = "Reopen current issue" },
{ prefix .. "il", "<cmd>Octo issue list<CR>", desc = "List open issues" },
{ prefix .. "iu", "<cmd>Octo issue url<CR>", desc = "Copies URL of current issue" },
{ prefix .. "io", "<cmd>Octo issue browser<CR>", desc = "Open current issue in browser" },
{ prefix .. "pp", "<cmd>Octo pr checkout<CR>", desc = "Checkout PR" },
{ prefix .. "pmm", "<cmd>Octo pr merge commit<CR>", desc = "Merge commit PR" },
{ prefix .. "pms", "<cmd>Octo pr merge squash<CR>", desc = "Squash merge PR" },
{ prefix .. "pmd", "<cmd>Octo pr merge delete<CR>", desc = "Delete merge PR" },
{ prefix .. "pmr", "<cmd>Octo pr merge rebase<CR>", desc = "Rebase merge PR" },
{ prefix .. "pc", "<cmd>Octo pr close<CR>", desc = "Close current PR" },
{ prefix .. "pn", "<cmd>Octo pr create<CR>", desc = "Create PR for current branch" },
{ prefix .. "pd", "<cmd>Octo pr diff<CR>", desc = "Show PR diff" },
{ prefix .. "ps", "<cmd>Octo pr list<CR>", desc = "List open PRs" },
{ prefix .. "pr", "<cmd>Octo pr ready<CR>", desc = "Mark draft as ready for review" },
{ prefix .. "po", "<cmd>Octo pr browser<CR>", desc = "Open current PR in browser" },
{ prefix .. "pu", "<cmd>Octo pr url<CR>", desc = "Copies URL of current PR" },
{ prefix .. "pt", "<cmd>Octo pr commits<CR>", desc = "List PR commits" },
{ prefix .. "pl", "<cmd>Octo pr commits<CR>", desc = "List changed files in PR" },
{ prefix .. "rl", "<cmd>Octo repo list<CR>", desc = "List repo user stats" },
{ prefix .. "rF", "<cmd>Octo repo fork<CR>", desc = "Fork repo" },
{ prefix .. "ru", "<cmd>Octo repo url<CR>", desc = "Copies URL of current repo" },
{ prefix .. "aa", "<cmd> Octo assignee add<CR>", desc = "Assign a user" },
{ prefix .. "ar", "<cmd> Octo assignee remove<CR>", desc = "Remove a user" },
{ prefix .. "ap", "<cmd> Octo reviewer add<CR>", desc = "Assign a PR reviewer" },
{ prefix .. "la", "<cmd> Octo label add<CR>", desc = "Assign a label" },
{ prefix .. "lr", "<cmd> Octo label remove<CR>", desc = "Remove a label" },
{ prefix .. "lc", "<cmd> Octo label create<CR>", desc = "Create a label" },
{ prefix .. "e1", "<cmd>Octo reaction thumbs_up<CR>", desc = "Add 👍 reaction" },
{ prefix .. "e2", "<cmd>Octo reaction thumbs_down<CR>", desc = "Add 👎 reaction" },
{ prefix .. "e3", "<cmd>Octo reaction eyes<CR>", desc = "Add 👀 reaction" },
{ prefix .. "e4", "<cmd>Octo reaction laugh<CR>", desc = "Add 😄 reaction" },
{ prefix .. "e5", "<cmd>Octo reaction confused<CR>", desc = "Add 😕 reaction" },
{ prefix .. "e6", "<cmd>Octo reaction rocket<CR>", desc = "Add 🚀 reaction" },
{ prefix .. "e7", "<cmd>Octo reaction heart<CR>", desc = "Add ❤️ reaction" },
{ prefix .. "e8", "<cmd>Octo reaction party<CR>", desc = "Add 🎉 reaction" },
{ prefix .. "x", "<cmd>Octo actions<CR>", desc = "Run an action" },
{ prefix .. "ss", "<cmd> Octo review start<CR>", desc = "Start review" },
{ prefix .. "sf", "<cmd> Octo review submit<CR>", desc = "Submit review" },
{ prefix .. "sr", "<cmd> Octo review resume<CR>", desc = "Submit resume" },
{ prefix .. "sd", "<cmd> Octo review discard<CR>", desc = "Delete pending review" },
{ prefix .. "sc", "<cmd> Octo review comments<CR>", desc = "View pending comments" },
{ prefix .. "sp", "<cmd> Octo review commit<CR>", desc = "Select commit to review" },
{ prefix .. "sc", "<cmd> Octo review close<CR>", desc = "Return to PR" },
},
},
}
@@ -0,0 +1,24 @@
return {
{
"ThePrimeagen/git-worktree.nvim",
opts = {},
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("git_worktree")
end)
end,
-- stylua: ignore
keys = {
{ "<leader>gwm", function() require("telescope").extensions.git_worktree.git_worktrees() end, desc = "Manage Worktrees" },
{ "<leader>gwc", function() require("telescope").extensions.git_worktree.create_git_worktree() end, desc = "Create Worktree" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>gw"] = { name = "worktrees" },
},
},
},
}
@@ -0,0 +1,74 @@
return {
{
"ThePrimeagen/harpoon",
branch = "harpoon2",
dependencies = { "nvim-lua/plenary.nvim" },
--stylua: ignore
keys = {
{ "<leader>ha", function() require("harpoon"):list():append() end, desc = "Add Mark" },
{ "<leader>hh", function() require("harpoon").ui:toggle_quick_menu(require("harpoon"):list()) end, desc = "Menu" },
{ "<leader>hf", "<cmd>Telescope harpoon marks<CR>", desc = "Files" },
{ "<leader>h1", function() require("harpoon"):list():select(1) end, desc = "File 1" },
{ "<leader>h2", function() require("harpoon"):list():select(2) end, desc = "File 2" },
{ "<leader>h3", function() require("harpoon"):list():select(3) end, desc = "File 3" },
{ "<leader>h4", function() require("harpoon"):list():select(4) end, desc = "File 4" },
{ "<leader>h5", function() require("harpoon"):list():select(5) end, desc = "File 5" },
{ "<leader>h6", function() require("harpoon"):list():select(6) end, desc = "File 6" },
{ "<leader>h7", function() require("harpoon"):list():select(7) end, desc = "File 7" },
{ "<leader>h8", function() require("harpoon"):list():select(8) end, desc = "File 8" },
{ "<leader>h9", function() require("harpoon"):list():select(9) end, desc = "File 9" },
{ "]H", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" },
{ "[H", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" },
{ "<M-]>", function() require("harpoon"):list():next() end, desc = "Next Harpoon File" },
{ "<M-[>", function() require("harpoon"):list():prev() end, desc = "Prev Harpoon File" },
},
opts = {
globalsettings = {
save_on_toggle = true,
enter_on_sendcmd = true,
},
},
config = function(_, opts)
require("harpoon").setup(opts)
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("harpoon")
end)
end,
},
{
"goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard)
local button = dashboard.button("h", "󱌧 " .. " Harpoon", "<cmd>Telescope harpoon marks<CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 5, button)
end,
},
{
"nvimdev/dashboard-nvim",
optional = true,
opts = function(_, opts)
local harpoon = {
action = "Telescope harpoon marks",
desc = " Harpoon",
icon = "󱌧 ",
key = "h",
}
harpoon.desc = harpoon.desc .. string.rep(" ", 43 - #harpoon.desc)
harpoon.key_format = " %s"
table.insert(opts.config.center, 5, harpoon)
end,
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>h"] = { name = "󱌧 harpoon" },
},
},
},
}
@@ -0,0 +1,15 @@
return {
{
import = "lazyvim.plugins.extras.editor.leap",
},
{
"ggandor/leap.nvim",
dependencies = {
"ggandor/leap-spooky",
},
opts = {
prefix = true,
paste_on_remote_yank = true,
},
},
}
@@ -0,0 +1,10 @@
return {
"aurum77/live-server.nvim",
build = function()
require("live_server.util").install()
end,
cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" },
keys = {
{ "<leader>cV", ft = "html", "<cmd>LiveServer<CR>", desc = "Live Server" },
},
}
@@ -0,0 +1,9 @@
return {
"Zeioth/markmap.nvim",
build = "yarn global add markmap-cli",
cmd = { "MarkmapOpen", "MarkmapSave", "MarkmapWatch", "MarkmapWatchStop" },
opts = {},
keys = {
{ "<leader>cm", "<cmd>MarkmapOpen<cr>", desc = "Markmap" },
},
}
@@ -0,0 +1,5 @@
return {
"nacro90/numb.nvim",
event = "CmdlineEnter",
opts = {},
}
@@ -0,0 +1,14 @@
return {
"stevearc/oil.nvim",
dependencies = "nvim-tree/nvim-web-devicons",
opts = {
delete_to_trash = true,
keymaps = {
["q"] = "actions.close",
},
},
-- stylua: ignore
keys = {
{ "<leader>;", function() require("oil").toggle_float() end, desc = "Toggle oil" },
},
}
@@ -0,0 +1,34 @@
return {
{
"hedyhli/outline.nvim",
cmd = { "Outline", "OutlineOpen" },
keys = { { "<leader>cs", "<cmd>Outline<CR>", desc = "Symbols Outline" } },
opts = {
outline_window = {
show_symbol_lineno = true,
auto_jump = true,
jump_highlight_duration = 150,
},
symbol_folding = {
autofold_depth = 1,
},
symbols = {
filter = require("lazyvim.config").kind_filter,
},
},
},
{
"folke/edgy.nvim",
optional = true,
opts = function(_, opts)
opts.right = opts.right or {}
table.insert(opts.right, {
title = "Symbols Outline",
ft = "Outline",
pinned = true,
open = "OutlineOpen",
size = { width = 0.15 },
})
end,
},
}
@@ -0,0 +1,34 @@
return {
{
"vuki656/package-info.nvim",
event = {
"BufRead package.json",
"BufRead package-lock.json",
},
opts = {},
-- stylua: ignore
keys = {
{ "<leader>ps", "<cmd>lua require('package-info').show({ force = true })<cr>", desc = "Show Package Versions" },
{ "<leader>pu", "<cmd>lua require('package-info').update()<cr>", desc = "Update Package" },
{ "<leader>pr", "<cmd>lua require('package-info').delete()<cr>", desc = "Remove Package" },
{ "<leader>pv", "<cmd>lua require('package-info').change_version()<cr>", desc = "Change Package Version" },
{ "<leader>pn", "<cmd>lua require('package-info').install()<cr>", desc = "Install New Dependency" },
},
},
{
"voldikss/vim-floaterm",
optional = true,
-- stylua: ignore
keys = {
{ "<leader>pp", "<cmd>FloatermNew --disposable --name=lazynpm --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> lazynpm<CR>", desc = "Lazynpm", },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>p"] = { name = " packages" },
},
},
},
}
@@ -0,0 +1,11 @@
return {
"TobinPalmer/rayso.nvim",
cmd = { "Rayso" },
keys = {
{ "<leader>cS", "<cmd>Rayso<cr>", mode = { "n" }, desc = "Screenshot Code" },
{ "<leader>cS", "<cmd>'<,'>Rayso<cr>", mode = { "v" }, desc = "Screenshot Selection" },
},
opts = {
open_cmd = "librewolf",
},
}
@@ -0,0 +1,19 @@
return {
"bennypowers/nvim-regexplainer",
dependencies = {
"MunifTanjim/nui.nvim",
},
opts = {
auto = "true",
},
-- stylua: ignore
keys = {
{
"gR",
function()
require("regexplainer").show()
end,
desc = "Regexplainer",
},
},
}
@@ -0,0 +1,67 @@
return {
{
"nvim-treesitter/nvim-treesitter",
opts = function(_, opts)
if type(opts.ensure_installed) == "table" then
vim.list_extend(opts.ensure_installed, { "http" })
end
end,
},
{
"rest-nvim/rest.nvim",
dependencies = {
{
"gennaro-tedesco/nvim-jqx",
ft = { "json", "yaml" },
},
},
ft = { "http" },
opts = {
-- Open request results in a horizontal split
result_split_horizontal = true,
-- Keep the http file buffer above|left when split horizontal|vertical
result_split_in_place = false,
-- Skip SSL verification, useful for unknown certificates
skip_ssl_verification = false,
-- Encode URL before making request
encode_url = true,
-- Highlight request on run
highlight = {
enabled = true,
timeout = 150,
},
result = {
-- toggle showing URL, HTTP info, headers at top the of result window
show_url = true,
show_http_info = true,
show_headers = true,
-- executables or functions for formatting response body [optional]
-- set them to false if you want to disable them
formatters = {
json = "jq",
html = function(body)
return vim.fn.system({ "tidy", "-i", "-q", "-" }, body)
end,
},
},
-- Jump to request line on run
jump_to_request = false,
env_file = ".env",
custom_dynamic_variables = {},
yank_dry_run = true,
},
-- stylua: ignore
keys = {
{ "<leader>thp", function() require("rest-nvim").run(true) end, desc = "Preview Request" },
{ "<leader>thr", function() require("rest-nvim").run() end, desc = "Run Request" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>th"] = { name = "http" },
},
},
},
}
@@ -0,0 +1,8 @@
return {
"chrisgrieser/nvim-early-retirement",
event = "VeryLazy",
opts = {
retirementAgeMins = 30,
ignoreUnsavedChangesBufs = false,
},
}
@@ -0,0 +1,26 @@
return {
"roobert/search-replace.nvim",
opts = {
default_replace_single_buffer_options = "gcI",
default_replace_multi_buffer_options = "egcI",
},
-- stylua: ignore
keys = {
{ "<leader>srb", "<CMD>SearchReplaceSingleBufferVisualSelection<CR>", desc = "Buffer", mode = "v" },
{ "<leader>srv", "<CMD>SearchReplaceWithinVisualSelection<CR>", desc = "Visual Selection", mode = "v" },
{ "<leader>srw", "<CMD>SearchReplaceWithinVisualSelectionCWord<CR>", desc = "Word on Buffer", mode = "v" },
{ "<leader>srb", "<CMD>SearchReplaceSingleBufferOpen<CR>", desc = "Buffer", mode = "n" },
{ "<leader>srw", "<CMD>SearchReplaceSingleBufferCWord<CR>", desc = "Word on Buffer", mode = "n" },
{ "<leader>srW", "<CMD>SearchReplaceSingleBufferCWORD<CR>", desc = "WORD on Buffer", mode = "n" },
{ "<leader>sre", "<CMD>SearchReplaceSingleBufferCExpr<CR>", desc = "Expression on Buffer", mode = "n" },
{ "<leader>srf", "<CMD>SearchReplaceSingleBufferCFile<CR>", desc = "File on Buffer", mode = "n" },
-- { "n", "<leader>rbs", "<CMD>SearchReplaceMultiBufferSelections<CR>", desc = "Search and Replace in Multi Buffer Selections" },
-- { "n", "<leader>rbo", "<CMD>SearchReplaceMultiBufferOpen<CR>", desc = "Search and Replace in Multi Buffer, Open" },
-- { "n", "<leader>rbw", "<CMD>SearchReplaceMultiBufferCWord<CR>", desc = "Search and Replace in Multi Buffer (Current Word)" },
-- { "n", "<leader>rbW", "<CMD>SearchReplaceMultiBufferCWORD<CR>", desc = "Search and Replace in Multi Buffer (Current WORD)" },
-- { "n", "<leader>rbe", "<CMD>SearchReplaceMultiBufferCExpr<CR>", desc = "Search and Replace in Multi Buffer (Current Expression)" },
-- { "n", "<leader>rbf", "<CMD>SearchReplaceMultiBufferCFile<CR>", desc = "Search and Replace in Multi Buffer (Current File)" },
},
}
@@ -0,0 +1,19 @@
return {
"mrjones2014/smart-splits.nvim",
build = "./kitty/install-kittens.bash",
-- stylua: ignore
keys = {
{ "<C-A-Left>", function() require("smart-splits").resize_left() end, desc = "Resize left", mode = "n" },
{ "<C-A-Down>", function() require("smart-splits").resize_down() end, desc = "Resize down", mode = "n" },
{ "<C-A-Up>", function() require("smart-splits").resize_up() end, desc = "Resize up", mode = "n" },
{ "<C-A-Right>", function() require("smart-splits").resize_right() end, desc = "Resize right", mode = "n" },
{ "<C-h>", function() require("smart-splits").move_cursor_left() end, desc = "Move cursor left", mode = "n" },
{ "<C-j>", function() require("smart-splits").move_cursor_down() end, desc = "Move cursor down", mode = "n" },
{ "<C-k>", function() require("smart-splits").move_cursor_up() end, desc = "Move cursor up", mode = "n" },
{ "<C-l>", function() require("smart-splits").move_cursor_right() end, desc = "Move cursor right", mode = "n" },
{ "<C-A-h>", function() require("smart-splits").swap_buf_left() end, desc = "Swap buffer left", mode = "n" },
{ "<C-A-j>", function() require("smart-splits").swap_buf_down() end, desc = "Swap buffer down", mode = "n" },
{ "<C-A-k>", function() require("smart-splits").swap_buf_up() end, desc = "Swap buffer up", mode = "n" },
{ "<C-A-l>", function() require("smart-splits").swap_buf_right() end, desc = "Swap buffer right", mode = "n" },
},
}
@@ -0,0 +1,8 @@
return {
"cshuaimin/ssr.nvim",
opts = {},
-- stylua: ignore
keys = {
{ "<leader>srs", function() require("ssr").open() end, desc = "Structural" },
},
}
@@ -0,0 +1,11 @@
return {
"lambdalisue/suda.vim",
-- stylua: ignore
keys = {
{ "<leader>W", ":SudaWrite<CR>", desc = "Suda Write" },
},
cmd = {
"SudaRead",
"SudaWrite",
},
}
@@ -0,0 +1,7 @@
return {
"akinsho/bufferline.nvim",
dependencies = {
"backdround/tabscope.nvim",
opts = {},
},
}
@@ -0,0 +1,27 @@
return {
"nvim-telescope/telescope.nvim",
dependencies = {
"prochri/telescope-all-recent.nvim",
dependencies = {
"kkharji/sqlite.lua",
},
opts = {
pickers = {
["workspaces.nvim#workspaces"] = {
disable = false,
sorting = "frecency",
},
["project.nvim#projects"] = {
disable = false,
sorting = "frecency",
},
["yanky.nvim#yank_history"] = {
disable = true,
},
["zoxide.nvim#zoxide"] = {
disable = true,
},
},
},
},
}
@@ -0,0 +1,19 @@
return {
"piersolenski/telescope-import.nvim",
opts = {},
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
import = {
insert_at_top = true,
},
},
})
require("telescope").load_extension("import")
end)
end,
keys = {
{ "<leader>sI", "<cmd>Telescope import<CR>", desc = "Imports" },
},
}
@@ -0,0 +1,11 @@
return {
"tsakirist/telescope-lazy.nvim",
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("lazy")
end)
end,
keys = {
{ "<leader>sp", "<cmd>Telescope lazy<CR>", desc = "Plugins (Lazy)" },
},
}
@@ -0,0 +1,11 @@
return {
"benfowler/telescope-luasnip.nvim",
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("luasnip")
end)
end,
keys = {
{ "<leader>sl", "<cmd>Telescope luasnip<CR>", desc = "Luasnip (Snippets)" },
},
}
@@ -0,0 +1,18 @@
return {
"dharmx/telescope-media.nvim",
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
media = {
backend = "ueberzug", -- image/gif backend
},
},
})
require("telescope").load_extension("media")
end)
end,
keys = {
{ "<leader>sM", "<cmd>Telescope media<CR>", desc = "Media" },
},
}
@@ -0,0 +1,69 @@
return {
{
"cljoly/telescope-repo.nvim",
event = "VeryLazy",
dependencies = {
{
"airblade/vim-rooter",
init = function()
vim.g["rooter_cd_cmd"] = "lcd"
vim.g["rooter_silent_chdir"] = 1
end,
},
{ "nvim-telescope/telescope.nvim" },
{ "nvim-lua/plenary.nvim" },
},
opts = {},
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
repo = {
list = {
fd_opts = {
"--no-ignore-vcs",
},
search_dirs = {
"~/Repos/",
},
},
},
},
})
require("telescope").load_extension("repo")
end)
end,
-- stylua: ignore
keys = {
{ "<leader>fp", "<cmd>Telescope repo list<cr>", desc = "Projects (~/Repos)" },
{ "<leader>fP", "<cmd>lua require'telescope'.extensions.repo.list{search_dirs = { '~/' }}<cr>", desc = "Projects (System)" },
},
},
{
"goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard)
local button = dashboard.button("r", "" .. " Repos", "<cmd>Telescope repo list<CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 4, button)
end,
},
{
"nvimdev/dashboard-nvim",
optional = true,
opts = function(_, opts)
local projects = {
action = "Telescope repo list",
desc = " Repos",
icon = "",
key = "r",
}
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
projects.key_format = " %s"
table.insert(opts.config.center, 4, projects)
end,
},
}
@@ -0,0 +1,26 @@
return {
{
"debugloop/telescope-undo.nvim",
opts = {},
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
undo = {
use_delta = true,
side_by_side = true,
layout_strategy = "vertical",
layout_config = {
preview_height = 0.6,
},
},
},
})
require("telescope").load_extension("undo")
end)
end,
keys = {
{ "<leader>su", "<cmd>Telescope undo<cr>", desc = "Undos" },
},
},
}
@@ -0,0 +1,8 @@
return {
"axieax/urlview.nvim",
cmd = { "UrlView" },
keys = { { "<leader>sU", "<cmd>UrlView<cr>", desc = "Search Urls" } },
opts = {
default_picker = "telescope",
},
}
@@ -0,0 +1,56 @@
return {
{
"natecraddock/workspaces.nvim",
event = "VeryLazy",
cmd = {
"Telescope workspaces",
"WorkspacesAdd",
"WorkspacesAddDir",
"WorkspacesRemove",
"WorkspacesRename",
"WorkspacesOpen",
"WorkspacesList",
"WorkspacesListDirs",
},
config = function()
require("workspaces").setup({
hooks = {
open = { "Telescope find_files" },
},
})
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("workspaces")
end)
end,
keys = {
{ "<leader>fw", "<cmd>Telescope workspaces<cr>", desc = "Workspaces" },
},
},
{
"goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard)
local button = dashboard.button("w", "󰭤 " .. " Workspaces", "<cmd>Telescope workspaces<CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 4, button)
end,
},
{
"nvimdev/dashboard-nvim",
optional = true,
opts = function(_, opts)
local projects = {
action = "Telescope workspaces",
desc = " Workspaces",
icon = "󰭤 ",
key = "w",
}
projects.desc = projects.desc .. string.rep(" ", 43 - #projects.desc)
projects.key_format = " %s"
table.insert(opts.config.center, 4, projects)
end,
},
}
@@ -0,0 +1,53 @@
return {
{
"jvgrootveld/telescope-zoxide",
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").setup({
extensions = {
zoxide = {
mappings = {
default = {
after_action = function(selection)
require("telescope.builtin").find_files({ cwd = selection.path })
end,
},
},
},
},
})
require("telescope").load_extension("zoxide")
end)
end,
keys = {
{ "<leader>fz", "<cmd>Telescope zoxide list<CR>", desc = "Zoxide" },
},
},
{
"goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard)
local button = dashboard.button("z", "" .. " Zoxide", "<cmd>Telescope zoxide list <CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 5, button)
end,
},
{
"nvimdev/dashboard-nvim",
optional = true,
opts = function(_, opts)
local zoxide = {
action = "Telescope zoxide list",
desc = " Zoxide",
icon = "",
key = "z",
}
zoxide.desc = zoxide.desc .. string.rep(" ", 43 - #zoxide.desc)
zoxide.key_format = " %s"
table.insert(opts.config.center, 4, zoxide)
end,
},
}
@@ -0,0 +1,97 @@
return {
{
"voldikss/vim-floaterm",
cmd = { "FloatermNew", "FloatermToggle", "FloatermNext", "FloatermPrev", "FloatermLast", "FloatermFirst" },
--stylua: ignore
keys = {
{ "<leader>Ts", "<cmd>FloatermNew --disposable --name=duaroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> dua i<CR>", desc = "Workspace Size (root dir)" },
{ "<leader>TS", "<cmd>FloatermNew --disposable --name=duabuffer --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<buffer> dua i<CR>", desc = "Workspace Size (cwd)" },
{ "<A-e>", "<cmd>FloatermNew --disposable --name=yaziroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> yazi<CR>", desc = "File Explorer (root dir)" },
{ "<leader>gg", "<cmd>FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> lazygit<CR>", desc = "Lazygit (root dir)" },
{ "<leader>gG", "<cmd>FloatermNew --disposable --name=lazygitbuffer --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<buffer> lazygit<CR>", desc = "Lazygit (cwd)" },
{ "<leader>Td", "<cmd>FloatermNew --disposable --name=lazydocker --opener=edit --titleposition=center --height=0.85 --width=0.85 lazydocker<CR>", desc = "Lazydocker" },
{ "<leader>Tb", "<cmd>FloatermNew --disposable --name=btop --opener=edit --titleposition=center --height=0.85 --width=0.85 btop<CR>", desc = "Btop" },
{ "<leader>fd", "<cmd>FloatermNew --disposable --name=dots --opener=edit --titleposition=center --height=0.85 --width=0.85 dots<CR>", desc = "Dotfiles" },
{ "<leader>Tn", "<cmd>FloatermNew --disposable --name=navi --opener=edit --titleposition=center --height=0.85 --width=0.85 pages<CR>", desc = "Navi Pages" },
{ "<leader>Tp", "<cmd>FloatermNew --disposable --name=proc --opener=edit --titleposition=center --height=0.85 --width=0.85 proc<CR>", desc = "Systemd Processes" },
{ "<leader>TB", "<cmd>FloatermNew --disposable --name=bandwhich --opener=edit --titleposition=center --height=0.85 --width=0.85 bandwhich<CR>", desc = "Bandwidth" },
{ "<leader>gF", "<cmd>FloatermNew --disposable --name=forgit --opener=edit --titleposition=center --height=0.85 --width=0.85 fgit<CR>", desc = "Forgit" },
{ "<leader>gf", "<cmd>FloatermNew! --disposable --name=onefetch --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> gfetch<CR>", desc = "Gitfetch" },
{ "<leader>cen", "<cmd>FloatermNew --name=node --opener=edit --titleposition=center --wintype=split --height=0.35 node<CR>", desc = "Node" },
{ "<leader>cep", "<cmd>FloatermNew --name=python --opener=edit --titleposition=center --wintype=split --height=0.35 python<CR>", desc = "Python" },
{ "<S-Right>", "<Esc><Esc><cmd>FloatermNext<CR>", mode = { "t" }, desc = "Next Terminal" },
{ "<S-Left>", "<Esc><Esc><cmd>FloatermPrev<CR>", mode = { "t" }, desc = "Prev Terminal" },
{ "<A-Right>", "<Esc><Esc><cmd>FloatermLast<CR>", mode = { "t" }, desc = "Last Terminal" },
{ "<A-Left>", "<Esc><Esc><cmd>FloatermFirst<CR>", mode = { "t" }, desc = "First Terminal" },
{ [[<c-\>]], "<cmd>FloatermToggle<cr>", mode = { "n", "t" }, desc = "Toggle Terminal" },
{ "<leader>ftf", "<cmd>FloatermNew --name=floatroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root><cr>", desc = "Floating (root dir)" },
{ "<leader>ftF", "<cmd>FloatermNew --name=floatbuffer --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<buffer><cr>", desc = "Floating (cwd)" },
{ "<leader>fts", "<cmd>FloatermNew --name=splitroot --opener=edit --titleposition=center --height=0.35 --wintype=split --cwd=<root><cr>", desc = "Split (root dir)" },
{ "<leader>ftS", "<cmd>FloatermNew --name=splitbuffer --opener=edit --titleposition=center --height=0.35 --wintype=split --cwd=<buffer><cr>", desc = "Split (cwd)" },
},
},
{
"dawsers/telescope-floaterm.nvim",
config = function()
require("lazyvim.util").on_load("telescope.nvim", function()
require("telescope").load_extension("floaterm")
end)
end,
keys = {
{ "<c-/>", "<cmd>Telescope floaterm<cr>", desc = "Terminals" },
},
},
{
"folke/which-key.nvim",
opts = {
defaults = {
["<leader>ce"] = { name = "r[e]pl" },
["<leader>ft"] = { name = "terminals" },
["<leader>T"] = { name = " tools" },
},
},
},
{
"folke/edgy.nvim",
optional = true,
opts = function(_, opts)
table.insert(opts.bottom, {
ft = "floaterm",
title = "Floaterm",
size = { height = 0.4 },
filter = function(buf, win)
return vim.api.nvim_win_get_config(win).relative == ""
end,
})
end,
},
{
"goolord/alpha-nvim",
optional = true,
opts = function(_, dashboard)
-- stylua: ignore
local button = dashboard.button("G", "󰊢 " .. " Git", "<cmd>FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> lazygit<CR>")
button.opts.hl = "AlphaButtons"
button.opts.hl_shortcut = "AlphaShortcut"
table.insert(dashboard.section.buttons.val, 7, button)
return dashboard
end,
},
{
"nvimdev/dashboard-nvim",
optional = true,
opts = function(_, opts)
local git = {
action = "FloatermNew --disposable --name=lazygitroot --opener=edit --titleposition=center --height=0.85 --width=0.85 --cwd=<root> lazygit",
desc = " Git",
icon = "",
key = "G",
}
git.desc = git.desc .. string.rep(" ", 43 - #git.desc)
git.key_format = " %s"
table.insert(opts.config.center, 7, git)
end,
},
}
@@ -0,0 +1,58 @@
return {
{
"akinsho/toggleterm.nvim",
cmd = {
"ToggleTerm",
"ToggleTermSetName",
"ToggleTermToggleAll",
"ToggleTermSendVisualLines",
"ToggleTermSendCurrentLine",
"ToggleTermSendVisualSelection",
},
opts = {
size = function(term)
if term.direction == "horizontal" then
return 30
elseif term.direction == "vertical" then
return vim.o.columns * 0.4
end
end,
open_mapping = [[<c-\>]],
hide_numbers = true, -- hide the number column in toggleterm buffers
shade_filetypes = {},
shade_terminals = true, -- NOTE: this option takes priority over highlights specified so if you specify Normal highlights you should set this to false
shading_factor = "-10", -- the percentage by which to lighten terminal background, default: -30 (gets multiplied by -3 if background is light)
start_in_insert = true,
insert_mappings = true, -- whether or not the open mapping applies in insert mode
terminal_mappings = true, -- whether or not the open mapping applies in the opened terminals
persist_size = true,
persist_mode = true, -- if set to true (default) the previous terminal mode will be remembered
direction = "float",
close_on_exit = true, -- close the terminal window when the process exits
-- Change the default shell. Can be a string or a function returning a string
shell = vim.o.shell,
-- This field is only relevant if direction is set to 'float'
float_opts = {
-- The border key is *almost* the same as 'nvim_open_win'
-- see :h nvim_open_win for details on borders however
-- the 'curved' border is a custom border type
-- not natively supported but implemented in this plugin.
border = "curved",
-- like `size`, width and height can be a number or function which is passed the current terminal
highlights = { border = "Normal", background = "Normal" },
winblend = 3,
},
},
-- stylua: ignore
keys = {
{ [[<c-\>]], "<cmd>ToggleTerm<cr>", mode = "n", desc = "Toggle Terminal" },
},
},
{
"ryanmsnyder/toggleterm-manager.nvim",
opts = {},
keys = {
{ "<c-/>", "<cmd>Telescope toggleterm_manager<cr>", desc = "Terminals" },
},
},
}
@@ -0,0 +1,41 @@
if vim.fn.has("nvim-0.10") == 1 then
return {
{
"nvim-treesitter/nvim-treesitter",
dependencies = {
"nvim-treesitter/playground",
},
build = ":TSInstall query",
opts = {
playground = {
enable = true,
},
query_linter = {
enable = true,
use_virtual_text = true,
lint_events = { "BufWrite", "CursorHold" },
},
},
keys = {
{ "<leader>ciT", "<Cmd>TSHighlightCapturesUnderCursor<CR>", desc = "Treesitter Highlight Groups" },
{ "<leader>cit", "<Cmd>TSPlaygroundToggle<CR>", desc = "Treesitter Playground" },
},
},
{
"folke/edgy.nvim",
optional = true,
opts = function(_, opts)
opts.right = opts.right or {}
table.insert(opts.right, {
title = "TS Playground",
ft = "tsplayground",
pinned = true,
open = "TSPlaygroundToggle",
size = { width = 0.3 },
})
end,
},
}
else
vim.notify("Treesitter Playground only works with the nightly build")
end
Loaded 100 of 473 files, more files were not shown because too many files have changed in this diff. Show more