xiebaiyuan / nvim-lua

基于nvchad的配置

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

✨ My nvim-lua configuration ✨

Introduction

My configuration is based on nvchad, which is a great framework and highly recommended to get to know.

It is recommended that those who are able to do so can configure themselves through this framework.

我在Bilibili的教学视频:BV1XY411H71M

Showcase

首页 望远镜 演示1 演示2 演示3 演示4 演示5 演示6

Install

Install it & it's plugins with:

git clone https://github.com/Eatsolx/nvim-lua
cd nvim-lua
sh install.sh

It will backup your original configuration to ~/.config/NVIM.BAK

If you encounter nvim-treesitter error when using please refer to -> this.

Usage (Incomplete)

Non plugin mappings

Action Key
save file ctrl + s
exit ctrl + q
close buffer space + x
new buffer shift + t
new tab ctrl + t + b
theme toggler space + t + h
scroll up ctrl + b
scroll down ctrl + f
scroll up(half) ctrl + u
scroll down(half) ctrl + d

Navigation in insert mode

Action Key
backward ctrl + h
end of line ctrl + e
forward ctrl + l
next line ctrl + j
prev line ctrl + k
top of line ctrl + a

Better window movement

Action Key
moveLeft ctrl + h
moveRight ctrl + l
moveUp ctrl + k
moveDown ctrl + j

Terminal related mappings

Action Key
esc termmode jk
esc hide termmode JK
pick term space + W
new horizontal space + h
new vertical space + v
new window space + w
update nvchad space + u + u

Plugins related mappings

Action Key
BUFFERLINE
next buffer tab
prev buffer shift + tab
-------------------------- ---------------
DASHBOARD
bookmarks space + b + m
new file space + f + n
open space + d + b
find file space + f + f
session load space + l
session save space + s
-------------------------- ---------------
BETTER ESCAPE
esc insertmode jk
-------------------------- ---------------
FILE TREE/EXPLORER
toggle Alt + t
focus space + e
universal code formatter
format space + f + m
-------------------------- ---------------
TABLE-MODE
toggle space + t + m
-------------------------- ---------------
MARKDOEN PREVIEW
toggle Alt + r
-------------------------- ---------------
OTHER
undotree Alt + u
vista Alt + f
visual-multi ctrl + n
file-build F8
file-run F9
file-run & build F10

✨ For more information, please refer to nvchad's website ✨

nvchad

About

基于nvchad的配置

License:GNU General Public License v3.0


Languages

Language:Lua 77.4%Language:Shell 18.2%Language:Perl 4.3%