til/Applications/Essential/Neovim.md

32 lines
1.2 KiB
Markdown
Raw Normal View History

2020-05-06 17:27:40 +00:00
# [Neovim](https://github.com/neovim/neovim)
2020-05-24 10:44:40 +00:00
| Distribution | Package |
| ------------ | -------- |
| Arch Linux | `neovim` |
| Ubuntu | `neovim` |
2020-05-10 17:28:17 +00:00
2020-10-22 10:49:35 +00:00
| Shorcut | Description |
| ------------------------------ | ------------------------------------- |
2020-10-23 10:20:42 +00:00
| `CTRL-N or CTRL-P` | Insert next, previous matching word |
2020-10-22 10:49:35 +00:00
| `CTRL-X CTRL-F` | File completion |
| `CTRL-X CTRL-L` | Line completion |
| `CTRL-X CTRL-Q` | Vim completion |
| `CTRL-X CTRL-O` | Omni completion |
| `CTRL-W left, right, up, down` | Go to window in left, right, up, down |
| `CTRL-]` | Jump to definition |
2021-03-19 09:41:46 +00:00
| `CTRL-O` | Jump backwards |
2020-06-12 20:11:54 +00:00
## Packages
2020-06-12 20:18:37 +00:00
Autoloaded package is stored `~/.local/share/nvim/site/pack/{foo}/start/{bar}`.
2020-06-12 20:11:54 +00:00
2020-06-12 20:18:37 +00:00
Manually loaded package is stored `~/.local/share/nvim/site/pack/{foo}/opt/{bar}`
2020-06-12 20:11:54 +00:00
`foo` is random name, `bar` is package name.
To load package manully:
```vim
packadd bar
```