Skip to content

Document current Neovim configuration #2

@tooniez

Description

@tooniez

Summary

Documenting the current Neovim configuration setup in this repository for reference and future improvements.

Description

This issue tracks the current state of the Neovim configuration files located in directory. The configuration follows LazyVim structure with custom overrides.

Configuration Files Reviewed

  • : Core Neovim options overriding LazyVim defaults
  • : Custom autocommands for whitespace handling, comments, cursor position, and filetype-specific settings
  • : Custom key mappings for navigation, buffers, tabs, LSP, Git, window management, and search
  • : LazyVim plugin setup with lazy.nvim bootstrap

Key Configuration Highlights

options.lua:

  • Enhanced UI: number, relativenumber, cursorline, termguicolors
  • Improved editing: mouse=a, clipboard=unnamedplus, splitright/splitbelow
  • Performance: timeoutlen=500, updatetime=300, undofile
  • Visual: wrap=false, scrolloff=8, signcolumn=yes

autocmds.lua:

  • Auto-trim whitespace on BufWritePre
  • Disable auto-commenting on new lines
  • Restore cursor position on BufReadPost
  • Set colorcolumn for specific filetypes (python, rst, c, cpp)

keymaps.lua:

  • Leader-based navigation: j/k/h for window movement
  • Buffer management: b for listing, x for closing
  • Tab navigation: t for new tab, x for closing
  • LSP integration: f for hover, d for definition/format
  • Git integration: c for commit, g for lazygit
  • Window management: w for split, s for grep
  • Visual mode: c for yank to system clipboard

lazy.lua:

  • Standard LazyVim bootstrap with lazy.nvim
  • Custom plugins specification point
  • gzip plugin disabled

Related Issues

  • (None currently)

Next Steps

  • Review configuration for potential improvements
  • Consider adding more filetype-specific autocommands
  • Evaluate if any key mappings conflict with default LazyVim mappings

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions