A set of configurations for Neovim made in Lua by someone who doesn't know Lua but has a lot of free time.
A set of configurations for Neovim made in Lua by someone who doesn't know Lua but has a lot of free time.
I like Neovim. A lot. I tried using VsCode for my really basic programming needs, but I was both a bit overwhelming and kind of dissappointing, specially when it comes to resource usage. So I went back to Neovim, and found out that almost none of the pre-configured configs out there really felt like home, and decided to create my own, using a mix of familiar keybindings for VsCode users and Vim users alike.
With no experience in Lua, a lot of procrastination time that should have gone to college work poured into it and a lot of trial and error, it's alive! So now I want to maintain it and make it public so people who actually know what they are doing can help make it better.
git clone --depth 1 https://github.com/wbthomason/packer.nvim\ ~/.local/share/nvim/site/pack/packer/start/packer.nvim
git clone https://github.com/not-a-dev-stein/N-oob-vim ~/.config/nvim
nvim +PackerSync
to install and update all the pluginsz+a
)space
is your leader key by default, press it twice to quickly switch between the last two buffers;
< >
to change indentation levels multiple times on visual mode, instead of having to use .
to repeat;
shift+j
and shift+k
to easily move an entire line up or down;
ctrl+shift+i
to automatically format your code with Nformat;
ctrl+hjkl
to navigate between splits in your screen (including nvim-tree);
leader+t
to open a terminal in split;
ctrl+a
in terminal mode to return to normal mode;
ctrl+m
to toggle the preview of your Markdown files with markdown-preview;
:LiveServer
to start your live server
Props to the NvChad guys, I have used their config for a long while before using VsCode and used most of the extensions they use as a base for mine, removing what I don't use and adding what's more convenient for me. LunarVim also had a big part in it, specially due to ChrisAtMachine's videos and livestreams, it was probably the best help I got in porting my old config to Lua.
Everything. No joke. I have no experience in Lua, so I'm sure there's a lot that can be optimized and improved. If you want to check it out (and probably cringe a little) feel free to check the code, and use it for whatever you need. It's all yours, my friend.