Code Monkey home page Code Monkey logo

nvim-lua's Introduction

✨ 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

nvim-lua's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.