Skip to content

user7210unix/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config — Alabaster Dark

Portable, minimal config for Neovim 0.11+. Tested on Linux.
Drop this into ~/.config/nvim/ and open nvim — lazy.nvim bootstraps everything.

Requirements

Tool Why
Neovim ≥ 0.11 Required
git lazy.nvim bootstrap + Mason
java (in $PATH) jdtls (Java LSP)
make telescope-fzf-native (optional, skipped gracefully if missing)
A Nerd Font Icons in Neo-tree and statusline (optional)

Install

# Backup existing config if any
mv ~/.config/nvim ~/.config/nvim.bak 2>/dev/null

# Copy this config
cp -r nvim-config ~/.config/nvim

# Open nvim — lazy.nvim will auto-install all plugins on first launch
nvim

After first launch, inside nvim run :Mason to verify LSP servers installed.

Java Setup

Your jdtls is expected at:

~/.local/share/jdtls/jdt-language-server-1.58.0-202604151538/

The config auto-detects the launcher jar via glob, so version bumps are handled automatically.
Java workspace data goes to ~/.local/share/jdtls/workspaces/<project-name>.

Key Bindings

General

Key Action
<Space> Leader key
<leader>e Toggle file explorer
<Esc> Clear search highlight

Find (Telescope / isearch-like)

Key Action
<leader>ff Find files
<leader>fg Live grep
<leader>fb Open buffers
<leader>/ Fuzzy search current buffer
<leader>fs LSP symbols

LSP

Key Action
K Hover documentation
gd Go to definition
gr References
gi Implementation
<C-k> (insert) Signature help
<leader>rn Rename
<leader>ca Code action
<leader>lf Format
[d / ]d Prev/next diagnostic
<leader>d Diagnostic float

Completion

Key Action
<Tab> / <S-Tab> Next/prev item
<C-n> / <C-p> Next/prev item
<CR> Confirm selection
<C-Space> Force open completion
<C-e> Close completion

Transparency

Normal bg is set to NONE so your terminal's opacity (st at 90%) shows through.
No config needed on the Neovim side.

Plugins

Plugin Role
lazy.nvim Plugin manager
mason.nvim + mason-lspconfig Portable LSP installer
nvim-lspconfig LSP client config
nvim-jdtls Java LSP lifecycle
nvim-cmp Completion framework
nvim-treesitter Syntax + indent
telescope.nvim Fuzzy find / incremental search
neo-tree.nvim File manager
indent-blankline.nvim Indent guides
nvim-autopairs Auto brackets
lualine.nvim Statusline
lsp_signature.nvim Signature docs while typing

Portability notes

  • Mason downloads the correct LSP binary for each OS/arch automatically
  • jdtls config detects OS (linux, mac, win) at runtime
  • telescope-fzf-native is skipped gracefully if make is unavailable
  • No hardcoded paths except the user-supplied jdtls location

About

Portable, minimal config for Neovim 0.11+

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages