- Neovim >= 0.9.0
- Git >= 2.19.0
- A Nerd Font
- A C compiler for nvim-treesitter
- ripgrep
sudo apt install ripgrepbrew install ripgrep
- fd
sudo apt install fd-findbrew install fd
lazy(open with :Lazy)
lsp-zero- Helps setup intelephense LSPmason- Package manager for LSP servers, DAP servers, linters, and formattersmason-lspconfig- Bridges mason.nvim with the lspconfig pluginnvim-lspconfig- Connects Neovim to the language server
alpha-nvim- Splash screenautopairs- Add matching quotes, parentheses, etc.bufferline- Buffer tabscmp-nvim-lsp- nvim-cmp source for neovim builtin LSP clientcmp-buffer- Buffer completion (other words in the file)cmp-path- File completioncmp_luasnip- Luasnip completion source for nvim-cmpcomments- Commentingcoq_nvim- LSP completiondiffview- Show Git history and diffsfriendly-snippets- Preconfigured snippets, mostly from VSCodegitsigns- Show current line blamelualine- Statuslineluasnip- Snippet engine for Neovimneo-tree- Filesystem as sidebarnone-ls- Wraps CLI tools in LSPsnvim-cmp- Completion engine for Neovimnvim-dap- Debug Adapter Protocol (DAP) client for Neovimnvim-dap-ui- Debugging UI for nvim-daptelescope- Fuzzy findertelescope-live-grep-args- Find text with argumentstoggleterm- Floating terminaltreesitter- Parser generator tool and an incremental parsing library
- xdebug (for PHP debugging)
- To debug locally, add the following to
/etc/php/8.3/fpm/php.ini:
xdebug.client_port=9003
xdebug.mode=debug,develop
xdebug.start_with_request=yes
xdebug.max_nesting_level=1000
- To debug with ddev:
cd /var/www/site_name && mkdir .vscode && cd .vscodewget https://ddev.readthedocs.io/en/stable/users/snippets/launch.jsonddev xdebug on
<leader>c- toggle comments for selected lines in normal and visual mode<leader>cc- toggle comments for selected lines in normal mode<leader>db>- debug toggle breakpoint<leader>dc>- debugger close<leader>di>- debug step into<leader>do>- debug step over<leader>ds>- debug start/continue debugging<leader>dt>- debug step out<leader>e- open neo-tree<leader>er- float linting messages that don't wrap<leader>ff- find files<leader>ft- floating terminal show/hide<leader>gh- show git history for the current file<leader>ghc- close the git history window<leader>lg- live grep<leader>lga- live grep with args ("Choice" -g "*.schema.yml")<leader>rr- make HTTP request<leader>sk- search keymaps<leader>t- open alpha splash screen in a new tabK- hover definitiongT- previous buffergd- go to definitiongr- show references in horizontal splitgt- next buffer