My own neovim dotfile config. I know it's not the best, but being able to go through docs and do the configurations on my own helped me learn and transition to neovim as my main code editor. I personally use nvim with tmux, but it's not necessary. This config used to utilize packer, but has fully switched to lazy plugin manager.
Keymaps can be viewed in the /user
directory. <space>
is set as the <leader>
character in this nvim config.
This nvim's colorscheme is set to rebelot/kanagawa.nvim
(dragon). The only two visually-customized plugins are:
lua/indent-blanklines
lua/lualine
Update these plugins to match your colorscheme.
neovim
:v0.10.2
(lazy will break with v0.11. This is fine...for now)repgrip
hack nerd font
: to enable proper icon displays:checkhealth
: to find other missing dependencies
- clone git.
git clone https://github.com/AndrewKohn/nvim-config.git
- Rename
/nvim-config
to/nvim
. - Start neovim & allow lazy plugin manager to download/update plugins.
:checkhealth
command to ensure plugins will operate.
The welcome dashboard displays recent files in the workspace. It's best to open neovim on your project's current working directory in order to have the most relevant recent files.
Lazy plugin manager will download/install plugins on startup. Use :Lazy
to bring up the plugin menu.
Plugins may have dependencies that will be automatically downloaded in order to functionally operate and may not be present in this list.
Plugin | Function | Enabled |
---|---|---|
alpha | welcome screen/dashboard | ✅ |
autoclose | auto pair/close brackets | ✅ |
colorizer | color highlighter | ✅ |
comment | easy file commenting | ✅ |
deadcolumn | gradually shows colorcolumn >=80 characters | ✅ |
fidget | lsp progress ui | ✅ |
fugitive | git | ✅ |
gitsigns | git decorations | ✅ |
harpoon | file marker/jumper | ✅ |
highlightedyank | highlight yanked text | ✅ |
illuminate | highlights multiple instances of a word under cursor | ✅ |
indent-blankline | visual aid for tab/spaces and scope context | ✅ |
kanagawa | colorscheme | ✅ |
lsp-zero | lsp | ✅ |
lualine | statusline | ✅ |
neoscroll | smooth scrolling | ✅ |
noice | notifications | ✅ |
none-ls | (null-ls) lsp formatter/diagnostic | ✅ |
nvim-scrollbar | visual aid for scrollbar (w/ gitsigns and diagnostics) | ✅ |
nvim-tree | file explorer | ✅ |
nvim-ts-autotag | autoclose/autorename html tags | ✅ |
pretty-hover | parses hover message for readability | ✅ |
sonokai | colorscheme | ❌ |
telescope | fuzzy finder | ✅ |
todo-comments | highlight comment keywords & lines | ✅ |
treesitter | parsing library | ✅ |
trouble | quick diagnostics list | ✅ |
undotree | undo history visualizer | ✅ |
which-key | displays popup of possible keymaps | ❌ |
zen-mode | focused code production, hides most features | ✅ |
sonokai
:kanagawa-dragon
is the default colorscheme. Use:colorscheme sonokai
to enable.which-key
: uncomment code inlua/which-key
to enable. Nice way to show keymaps w/o going into the keymap.lua file, especially if coming back from vscode/intellij.
ui-select
would be nice to have for telescope. Issues with opening code action menu. Probably watch and wait for that pending PR that solves this issue.- install/configure DAP.
- Look into more java-focused productivity. Nvim works but not enough for me to switch from intellij at this moment.