mirror of
https://github.com/mhinz/vim-galore.git
synced 2025-02-24 01:59:28 +08:00
Neovim: configuration
This commit is contained in:
parent
00bd2c49ce
commit
296b5375ac
@ -45,7 +45,8 @@ All notable changes to this project will be documented in this file.
|
||||
- Misc: [Why hjkl for navigation?](README.md#why-hjkl-for-navigation)
|
||||
- Misc: [Standard plugins](README.md#standard-plugins)
|
||||
- Misc: [Map CapsLock to Control](README.md#map-capslock-to-control)
|
||||
- Neovim: [:terminal](content/neovim.md#terminal)
|
||||
- Neovim: [Terminal emulator](content/neovim.md#terminal-emulator)
|
||||
- Neovim: [Configuration](content/neovim.md#configuration)
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -1,10 +1,28 @@
|
||||
## Neovim
|
||||
|
||||
- [:terminal](#terminal)
|
||||
- [Configuration](#configuration)
|
||||
- [Terminal emulator](#terminal-emulator)
|
||||
|
||||
---
|
||||
|
||||
#### :terminal
|
||||
#### Configuration
|
||||
|
||||
Neovim adheres to the [XDG Base Directory
|
||||
Specification](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).
|
||||
If you don't have them set already, `$XDG_CONFIG_HOME` defaults to `~/.config`
|
||||
and `$XDG_DATA_HOME` defaults to `~/.local/share`.
|
||||
|
||||
| Flavour | User configuration directory | vimrc |
|
||||
|---------|------------------------------|-------|
|
||||
| Vim | `~/.vim` | `~/.vimrc` or `/.vim/vimrc` |
|
||||
| Neovim | `~/.config/nvim` | `~/.config/nvim/init.vim` |
|
||||
|
||||
[Working files](../README.md#handling-backup-swap-undo-and-viminfo-files) are
|
||||
put under `~/.local/share/nvim` by default.
|
||||
|
||||
Related help: `:h nvim-configuration`
|
||||
|
||||
#### Terminal emulator
|
||||
|
||||
Neovim implements a proper terminal emulator
|
||||
([libvterm](http://www.leonerd.org.uk/code/libvterm/)) and can easily fire up a
|
||||
|
Loading…
x
Reference in New Issue
Block a user