Giter Club home page Giter Club logo

minimaluanvim's Introduction

Description

  • This is my minimal Neovim config with Lua.

image

Local Setup

  • Run the following commands below.
# Go to the config directory.
cd .config

# Clone the repository.
git clone [email protected]:yassa9/MinimaluaNvim.git

# Rename the folder.
mv MinimaluaNvim nvim

# Go the nvim directory and open nvim.
cd nvim
nvim init.lua

# Install the plugins.
:PlugInstall

Keyboard Commands

  • General.
Leader Key                  : <Space>
Open Terminal (Horizontal)  : <Space>th
Open Terminal (Vertical)    : <Space>tv
Escape Splits               : <Space><Space>
Support for Typst           : :TypstPreview
Open Telescope find files   : <leader>ff

image

  • NerdTree basic commands.
m     : This bring up the NerdTree Filesystem menu.
a     : This allows to create a new file.
d     : This allows to delete a file.
mm    : This allows renaming a file.

t     : Open a new tab.
gt    : Switch to next tab.
gT    : Switch to previous tab.
C-t   : Toggle the NERDTree.
  • Cursor movement basic commands.
h   : Move cursor left.
j   : Move cursor down.
k   : Move cursor up.
l   : Move cursor right.
H   : Move to top of screen.
M   : Move to middle of screen.
L   : Move to bottom of screen.
G   : Move the cursor at the bottom of the page.
gg  : Move to the top of page.

e   : Jump forwards to the end of a word.
E   : Jump forwards to the end of a word (Words can contain punctuation).
w   : Jump forwards to the start of a word.
W   : Jump forwards to the start of a word (Words can contain puntuation).
gd  : Go to definition.

C-y : Completion active import.
C-n : Completion next import.
C-p : Completion previous import.

r   : Replace a character.
x   : Delete a character.
o   : New line below without pressing insert.
O   : New line above without pressing insert.

V || Shift + v    : Highlight a line.
>                 : Indent multiple line.

:noh              : Remove the highlights.

Clipboard Setup

  • To make sure the clipboard works.
sudo apt install xclip

minimaluanvim's People

Contributors

yassa9 avatar

Stargazers

Usama Ahmed avatar

Watchers

 avatar

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.