LunarVim/README.md

91 lines
1.6 KiB
Markdown
Raw Normal View History

2020-04-26 07:39:35 +02:00
# Nvim Mach 2
2020-04-25 00:50:40 +02:00
2020-04-28 05:59:39 +02:00
## VSCode integration
We will be integrating with VSCode using [this](https://github.com/asvetliakov/vscode-neovim)
2020-04-25 00:50:40 +02:00
## Install Neovim
- On Mac
```
brew install neovim
```
- Ubuntu
```
sudo apt install neovim
```
- Arch
```
sudo pacman -S neovim
```
2020-04-25 00:55:06 +02:00
## Clone this repo into your config
2020-04-25 00:50:40 +02:00
```
2020-04-29 16:20:41 +02:00
git clone https://github.com/ChristianChiarulli/nvim.git ~/.config/nvim
2020-04-25 00:50:40 +02:00
```
## Install python & node support
```
pip install pynvim
```
```
npm i -g neovim
```
## Install clipboard support
- On mac pbcopy should be builtin
- On Ubuntu
```
sudo apt install xsel
```
- On Arch Linux
```
sudo pacman -S xsel
```
## (Optional) Install python & node support using virtual environments
Make sure to add these paths somewhere in your config
```
let g:python3_host_prog = expand("<path to python with pynvim installed>")
let g:python3_host_prog = expand("~/.miniconda/envs/neovim/bin/python3.8") " <- example
let g:node_host_prog = expand("<path to node with neovim installed>")
2020-05-08 19:26:32 +02:00
let g:node_host_prog = expand("~/.nvm/versions/node/v12.16.1/bin/neovim-node-host") " <- example
2020-04-25 00:50:40 +02:00
```
2020-04-26 20:17:15 +02:00
## List of programs you should install
- ranger
- ueberzug
2020-04-27 07:44:22 +02:00
- ripgrep
- silver_searcher
- fd
- universal-ctags
2020-04-28 05:55:12 +02:00
- lazy git
- lazy docker
2020-04-27 23:50:23 +02:00
2020-05-07 23:07:15 +02:00
Explanations and installation instruction can be found on my blog
2020-04-28 05:55:12 +02:00
# TODO
- Map which key stuff
- People asked about vimwiki I kinda hate it but maybe I'll add it
- float term lazy git
- spectre, or async task/run
- setup custom paths
- install script envsubst is your friend
2020-05-03 18:18:38 +02:00
- add better whitespace pluginand a toggle, video about clean code maybe
2020-05-07 23:07:15 +02:00
- Remember silent for which key