Skip to content

storious/nvim-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Neovim Config

A simple Neovim configuration for personal development.

Requirements

  • Neovim (v0.11.0+)
  • Git
  • PowerShell 7+ (Only for Windows users).

Quickstart

Windows

  1. Install Neovim (via winget):
    winget install Neovim.Neovim
    or via scoop
    scoop install neovim
  2. Install PowerShell (if not installed):
    winget install Microsoft.PowerShell
  3. Clone Config:
    # Backup old config if exists
    if (Test-Path $env:LOCALAPPDATA\nvim) { Rename-Item $env:LOCALAPPDATA\nvim nvim.bak }
    git clone https://github.com/storious/nvim-conf.git $env:LOCALAPPDATA\nvim

macOS / Linux

  1. Install Neovim:
    • macOS: brew install neovim
    • Ubuntu/Debian:
      sudo add-apt-repository ppa:neovim-ppa/unstable
      sudo apt update
      sudo apt install neovim
  2. Clone Config:
    # Backup old config if exists
    [ -d ~/.config/nvim ] && mv ~/.config/nvim ~/.config/nvim.bak
    git clone https://github.com/storious/nvim-conf.git ~/.config/nvim

Keymaps

General

Key Action
<leader>w Save file
<leader>x Close buffer (force close in terminal)
<leader>e Open file explorer
<leader>fm Format code

Buffer & Tab

Key Action
]b / [b Next / Previous buffer
Tab / S-Tab Next / Previous tab
<leader>tn New tab
<leader>tc Close tab

Window & Terminal

Key Action
<M-h/j/k/l> Navigate windows
<leader>tt Open terminal in new tab
<leader>tv Open terminal in vertical split
<M-i> Toggle float terminal
<Esc><Esc> Exit terminal mode

LSP & Diagnostic

Key Action
gd Go to definition
gr Find references
<leader>rn Rename symbol
<leader>ca Code action
<leader>dd Show diagnostics
]d / [d Next / Previous diagnostic

Clipboard

Key Action
<C-c> Copy to system clipboard
<C-x> Cut to system clipboard
<C-p> Paste from system clipboard

About

A simple neovim (v0.11.0+) config, only used raw neovim API and nvim-lspconfig

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages