Skip to content

AndrewKohn/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvim-config

nvim dashboard

Table of Contents

Description

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.

Requirements

  • neovim : v0.10.0 or greater
  • repgrip
  • hack nerd font : to enable proper icon displays
  • :checkhealth : to find other missing dependencies

Usage

  1. clone git.
git clone https://github.com/AndrewKohn/nvim-config.git
  1. Rename /nvim-config to /nvim.
  2. Start neovim & allow lazy plugin manager to download/update plugins.
  3. :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.

Plugins

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 in lua/which-key to enable. Nice way to show keymaps w/o going into the keymap.lua file, especially if coming back from vscode/intellij.

Notes

  • 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.

Showcase

Sample diagnostics info/comment highlighting

nvim screenshot1

Nvim-tree opened

Nvim screenshot2

Vertical diff

Nvim screenshot3

Telescope file results

Nvim screenshot4

About

My neovim configuration

Resources

License

Stars

Watchers

Forks

Languages