- folke/lazy.nvim - A modern plugin manager for Neovim
- williamboman/mason.nvim - Portable package manager for Neovim
require('mason-lspconfig').setup {
-- All servers set up via lspconfig are automatically installed
automatic_installation = true
}
require('tokyonight').setup({
style = 'night',
transparent = true
})
Use nvim-tree/nvim-web-devicons with Hack
font
$ brew tap homebrew/cask-fonts
$ brew install --cask font-hack-nerd-font
Use Lualine and enable the tokyonight
colorscheme and lazy.status
Normal | Command | Description |
---|---|---|
te |
:tabedit |
New tab |
<Tab> |
BufferLineCycleNext |
Navigate to the next tab |
<S-Tab> |
BufferLineCyclePrev |
Navigate to the previous tab |
- Completion
- hrsh7th/nvim-cmp - A completion plugin for Neovim coded in Lua
- hrsh7th/cmp-nvim-lsp -
nvim-cmp
source for Neovim builtin LSP client - hrsh7th/cmp-buffer -
nvim-cmp
source for buffer words - onsails/lspkind.nvim - vscode-like pictograms for Neovim LSP completion items
- windwp/nvim-autopairs -- Auto close
()
[]
{}
''
""
- windwp/nvim-ts-autotag -- Auto close / rename HTML tag
- Snippet
- L3MON4D3/LuaSnip - Snippet Engine for Neovim written in Lua
require('null-ls').setup {
sources = {
null_ls.builtins.formatting.prettierd,
null_ls.builtins.formatting.autopep8,
}
}
glepnir/lspsaga.nvim - A light-weight LSP plugin based on Neovim's built-in LSP with a highly performant UI
Normal | Command |
---|---|
gh |
Lspsaga lsp_finder |
gd |
Lspsaga peek_definition |
gs |
Lspsaga signature_help |
gr |
Lspsaga rename |
gl |
Lspsaga show_diagnostic |
[e |
Lspsaga diagnostic_jump_next |
]e |
Lspsaga diagnostic_jump_prev |
K |
Lspsaga hover_doc |
<leader>,cd |
Lspsaga show_line_diagnostics |
<leader>,ca |
Lspsaga code_action |
<leader>o |
Lspsaga outline |
Use lukas-reineke/indent-blankline.nvim
require('indent_blankline').setup({
show_current_context = true,
})
Use numToStr/Comment.nvim - Smart and powerful comment plugin for Neovim
Normal / Visual | Description |
---|---|
gcc / gc |
Toggles the current line / region using linewise comment |
gbc / gb |
Toggles the current line / region using blockwise comment |
Use norcalli/nvim-colorizer.lua - The fastest Neovim colorizer
Use telescope.nvim
Normal | Function | Description |
---|---|---|
<leader>ff |
builtin.find_files |
Lists files in the current working directory |
<leader>fg |
builtin.live_grep |
Search for a string in the current working directory and get results live as type |
<leader>fb |
builtin.buffers |
Lists open buffers in current Neovim instance |
<leader>fr |
builtin.resume |
Lists the results incl. multi-selections of the previous picker |
<leader>fh |
builtin.help_tags |
Lists available help tags and opens a new window with the relevant help info on <cr> |
<leader>fk |
builtin.keymaps |
Lists normal mode keymappings |
<leader>b |
extensions.file_browser |
Open file browser |
Use telescope.nvim
extension - telescope-file-browser.nvim
Normal | fb_actions | Description |
---|---|---|
c |
create | Create file/folder at current path (trailing path separator creates folder) |
r |
rename | Rename multi-selected files/folders |
d |
remove | Delete (multi-)selected files/folders |
o |
open | Open file/folder with default system application |
u |
goto_parent_dir | Go to parent directory |
e |
goto_home_dir | Go to home directory |
w |
goto_cwd | Go to current working directory (cwd) |
t |
change_cwd | Change nvim's cwd to selected folder/file(parent) |
toggleterm.setup({
open_mapping = [[<c-\>]],
})
- lewis6991/gitsigns.nvim -- Super fast git decorations
- dinhhuy258/git.nvim -- Lua
vim-fugitive
Use iamcco/markdown-preview.nvim
:MarkdownPreview