Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/christianchiarulli/lvim

My config for LunarVim
https://github.com/christianchiarulli/lvim

config init lua lunarvim lvim neovim vim vimrc

Last synced: 4 days ago
JSON representation

My config for LunarVim

Awesome Lists containing this project

README

        

# My LunarVim Config

## Get healthy

Open `nvim` and enter the following:

```
:checkhealth
```

You'll probably notice you don't have support for copy/paste also that python and node haven't been setup

So let's fix that

First we'll fix copy/paste

- On mac `pbcopy` should be builtin

- On Ubuntu

```sh
sudo apt install xsel
```

- On Arch Linux

```sh
sudo pacman -S xsel
```

Next we need to install python support (node is optional)

- Neovim python support

```sh
pip install pynvim
```

- Neovim node support

```sh
npm i -g neovim
```

## Fonts

- [A nerd font](https://github.com/ryanoasis/nerd-fonts)

- [codicon](https://github.com/microsoft/vscode-codicons/raw/main/dist/codicon.ttf)
- [An emoji font](https://github.com/googlefonts/noto-emoji/blob/main/fonts/NotoColorEmoji.ttf)

After moving fonts to `~/.local/share/fonts/`

Run: `$ fc-cache -f -v`

**NOTE:** (If you are seeing boxes without icons, try changing this line from `false` to `true`: [link](https://github.com/ChristianChiarulli/nvim/blob/ac41efa237caf3a498077df19a3f31ca4b35caf3/lua/user/icons.lua#L5))

## Java Debugging and Testing

```sh
git clone [email protected]:microsoft/java-debug.git
cd java-debug/
./mvnw clean install
```

```sh
git clone [email protected]:microsoft/vscode-java-test.git
cd vscode-java-test
npm install
npm run build-plugin
```

## Install latest rust-analyzer binary

```sh
$ mkdir -p ~/.local/bin
$ curl -L https://github.com/rust-analyzer/rust-analyzer/releases/latest/download/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > ~/.local/bin/rust-analyzer
$ chmod +x ~/.local/bin/rust-analyzer
```

## TODO

- use codicons (update codicons)
- fix border
- darken border around cmp
- hl groups for noice