Skip to content

majamin/neovim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simpleman’s Neovim Config

Hi. This is my config for Neovim.

Features
  • No UI affects, loading screens, etc. to get in the way

  • backspace acts in the original way (vi behavior).

  • Which-key pop-up delay is high on purpose - that way it doesn’t pop up constantly.

  • No debuggers implemented in this config (yet).

  • Two choices for colorschemes: Github and Tokyonight

Get Started

  1. Clone the repo:

    Linux, etc.
    git clone https://github.com/majamin/neovim-config.git ~/.config/nvim
    Windows (PowerShell)
    git clone https://github.com/majamin/neovim-config.git $env:LOCALAPPDATA/nvim
  2. Change language, leader, preferences and LSPs, etc. in lua/user/opts.lua.

  3. Add your plugins as separate files in lua/plugins/ directory [1]

  4. Restart neovim and enjoy!

Keys

  • Browse all keymaps with Telescope keymaps in ;; or :WhichKey

  • Run :Copilot to turn on Github copilot

Table 1. Notable key bindings
Binding Description

-

Browse files

F2

Save all open files and make session

F3

Toggle spelling

Space

Initialize incremental treesitter selection, increment by repeating Space (ensure your Treesitter lang is installed)

TAB

Open next buffer

Shift+TAB

Open previous buffer

Backspace

Jump to previously opened buffer (^)

;+f

Fuzzy find files

;+g

Fuzzy find text in files

;+l

LSP menu

\

Format buffer (falls back to conform when LSP not available or does not support formatting)

;+t

Opens Trouble (if LSP is capable)

K

Hover Documentation

Ctrl+n (insert mode)

LSP completion, but also navigate the menu with Ctrl+n and Ctrl+p when menu visible

Troubleshooting

  • Read :mes for any errors

  • Ensure :checkhealth looks ok

  • Install any missing LSP clients, formatters, via :Mason if user/opts.lua was not enough

  • Does your LSP need special handling?


1. Examples: multispec (plugins/colorscheme.lua) and single spec (plugins/format.lua)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages