Skip to content

Latest commit

 

History

190 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim Config made with Lua

Preview

Pre-requisites

Installation

Clone Repository and set as default nvim config

git clone git@github.com:redjoker011/nvim_lua.git ~/.config/nvim

Install Plugins using Lazy open neovim and run :Lazy command

Plugins

Package Mananger

LSP, Linter, Parser and Auto Complete

Git Tools

Theme and Status Line

Indentation, Comments and more

Floating Buffer and Window control

Tree Directory

Key Bindings

Leader Key

  • ,
  • <Space\>

Common Key Bindings

<Leader> means you have to either hit , bar or Space

  • global leader - ,
  • local leader - <Space>

<C-w-s> means you have to hit Ctrl followed by w and s

<Leader>sf means you have to hit the Leader key(Space | ,) followed by s and f


Modes

Mode Description
n Normal
v Visual and Select
s Select
x Visual
o Operator-pending
! Insert and Command-line
i Insert
l ":lmap" mappings for Insert, Command-line and Lang-Arg
c Command-line
t Terminal-Job

General

Key Binding Description Mode
<C-w-s> Open new window in horizontal mode n
<C-w-v> Open new window in vertical mode n
I Insert Mode n
Esc Exit Insert Mode i
<Leader>ev Edit $VIMRC n
<Leader>sv Reload $VIMRC n

Telescope

Key Binding Description Mode
<Leader>? Find recently opened files n
<Leader><Space> View existing buffers n
<Leader>sf Search File in directory n
<Leader>sh Search Help tags n
<Leader>sg Search for word or regrexp using Grep in directory n
<Leader>sd Search Diagnostics n

LSP

Key Binding Description Mode
gd Go To Definition n
gr Go To References n
gI Go To Implementation n
<Leader>D Type Definition n
K Hover Documentation n
<Leader>ca Code Action n
<Leader>cR Rename File n
<Leader>ca Rename n

Nvim Tree

Key Binding Description Mode
<Leader>v Toggle Nvim Tree Nvim Tree
<Leader>t Focus Nvim Tree Nvim Tree
<C>v Open file in vertical split Nvim Tree
<C>x Open file in horizontal split Nvim Tree

About

Neo Vim Configuration using Lua

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages