- This is my minimal Neovim config with Lua.
![image](https://private-user-images.githubusercontent.com/69548206/344372919-7db55e8d-acaf-4b9f-abc2-34f12a230c48.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMDc2MTUsIm5iZiI6MTcyNTIwNzMxNSwicGF0aCI6Ii82OTU0ODIwNi8zNDQzNzI5MTktN2RiNTVlOGQtYWNhZi00YjlmLWFiYzItMzRmMTJhMjMwYzQ4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDE2MTUxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVkZTY2N2VhNTMzMDE3ZGFhMjg1MDNiMTlmZDM2YzIxMzc0YWRkNGI2MTIxMDQ4Nzk0ZDdkNmQwMTIwODdjYjkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7SKhWiMZ38QeLM7O9ERouXiQd6EOy98YS2PiPhpqqhQ)
- 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
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](https://private-user-images.githubusercontent.com/69548206/344372885-ff7bf0db-ab78-437a-96ed-1fd21b70c58b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUyMDc2MTUsIm5iZiI6MTcyNTIwNzMxNSwicGF0aCI6Ii82OTU0ODIwNi8zNDQzNzI4ODUtZmY3YmYwZGItYWI3OC00MzdhLTk2ZWQtMWZkMjFiNzBjNThiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTAxVDE2MTUxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU4MjEwMzQ1N2NjOTNhMDMwYjY3ZTg1ZWVmMjQ3MGZjOTY0OGM3YWJmNDAxMGQ1MmU2ZDJhZDU5MDg2NWU5MWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0._1hh_OwaZTgHof3A4YqhzdiVKNgLpegPsc8_jyol6k0)
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.
- To make sure the clipboard works.