Neovim: configuration

This commit is contained in:
Marco Hinz 2016-02-05 12:42:20 +01:00
parent 00bd2c49ce
commit 296b5375ac
2 changed files with 22 additions and 3 deletions

View File

@ -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

View File

@ -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