- Leader is
<Space>
- To figure out what key(s) an action is bound to, do
<Space>sk
. This will [S]earch [K]eymaps
- clone with
git clone git@github.com:papabryce/nvim-config.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
- install fzf, ripgrep, nodejs, and npm with
sudo pacman -S fzf && sudo pacman -S ripgrep && sudo pacman -S nodejs && sudo pacman -S npm
- start up nvim with
nvim
, then let Lazy initialize, exit withq
, then exit nvim - Start nvim and type
:Lazy
, then type a capitalS
, this will install all plugins. When it is done, exit withq
- type
:Mason
, then type a capitalU
, this will install all LSPs. When it is done, exit withq
- uninstall vscode with
sudo pacman -R code
(or whatever godforsaken binary you have installed) - profit
Neovim's configurations are located under the following paths, depending on your OS:
OS | PATH |
---|---|
Linux | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
macOS | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
Windows (cmd) | %userprofile%\AppData\Local\nvim\ |
Windows (powershell) | $env:USERPROFILE\AppData\Local\nvim\ |
Clone:
- on Linux and Mac
git clone git@github.com:papabryce/nvim-config.git "${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
- on Windows (cmd)
git clone git@github.com:papabryce/nvim-config.git %userprofile%\AppData\Local\nvim\
- on Windows (powershell)
git clone git@github.com:papabryce/nvim-config.git $env:USERPROFILE\AppData\Local\nvim\
- you also need
fzf
andripgrep
Installation may require installing build tools, and updating the run command for telescope-fzf-native
See telescope-fzf-native
documentation for more details
This requires:
- Install CMake, and the Microsoft C++ Build Tools on Windows
{'nvim-telescope/telescope-fzf-native.nvim', build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }