- ripgrep (It's in the Debian repos)
sudo apt install ripgrep
- Use the latest version of Zsh <-- Link
- You will need a recent version of NeoVim too, the ones in the apt repos are too old.
- The most compatable version of NeoVim for this config, is NVIM v0.9.4
- Use these commands to install it, and u must have Packer installed alongside this
init.lua
repo too
- Then you can git clone this repo in your home directory, and run the dev bash script to clean out your current nvim files
#!/usr/bin/env bash
# To start with a clean slate, you will need to delete and remove your current/previous neovim files and dirs.
rm -rf ~/.config/nvim
ln -s $(pwd) ~/.config/nvim
- Then install NVIM v0.9.4, and Packer
wget https://github.com/neovim/neovim/releases/download/stable/nvim.appimage
chmod +x nvim.appimage
sudo mv nvim.appimage /usr/local/bin/nvim
# git clone packer
git clone --depth 1 https://github.com/wbthomason/packer.nvim\\n ~/.local/share/nvim/site/pack/packer/start/packer.nvim
How to create this init.lua from scratch: https://youtu.be/w7i4amO_zaE
- I have since installed Tabnine
- How to install Tabnine in NeoVim: Detailed instructions. Click here.
- What the file structure looks like:
Click here for NeoVim documentation on netrw:
- Enter netrw from the terminal:
nvim .
- Runtimepath:
:h rtp
- Create a new file: enter netrw:
nvim .
press the percent sign%
then name it. - Create a directory, enter netrw
nvim .
then press d, then name it. - To source a file use the command
:so
- Scroll using
j and k
, (up and down) - Select / open a file or dir with
Enter
- Close a file
leader pv
the leader key is the spacebar - Fuzzy find while in netrw
leader pf
- Open the fuzzy finder from within a neovim file (accessed via netrw):
Ctrl + p
- Scroll up and down within the fuzzy finder using
up and down arrow keys
and typing the file name - Open up the file tree without closing the file you are in. use the cmd
:Vex
vertical explore. (split window). - Hop left-right between windows: enter window mode
ctrl + w
thenl
to go right &ctrl + w
+h
go left. - Return to the original file, (close all window splits),
ctrl + w
+o
For anyone that is interested in Prime's vimrc, he will have a commit log below
documenting each commits (easy to C-f the change you want to know
about though i would just suggest git log -S
).