Neovim: :terminal

This commit is contained in:
Marco Hinz 2016-02-05 11:52:28 +01:00
parent 374087a8dd
commit ea942ed2e9
3 changed files with 25 additions and 0 deletions

View File

@ -45,6 +45,7 @@ All notable changes to this project will be documented in this file.
- Misc: [Why hjkl for navigation?](README.md#why-hjkl-for-navigation) - Misc: [Why hjkl for navigation?](README.md#why-hjkl-for-navigation)
- Misc: [Standard plugins](README.md#standard-plugins) - Misc: [Standard plugins](README.md#standard-plugins)
- Misc: [Map CapsLock to Control](README.md#map-capslock-to-control) - Misc: [Map CapsLock to Control](README.md#map-capslock-to-control)
- Neovim: [:terminal](content/neovim.md#terminal)
### Changed ### Changed

View File

@ -107,6 +107,8 @@ Twitter](https://twitter.com/_mhinz_). Thanks!
#### [List of plugins](content/plugins.md) #### [List of plugins](content/plugins.md)
#### [Neovim](content/neovim.md)
--- ---
## Intro ## Intro

22
content/neovim.md Normal file
View File

@ -0,0 +1,22 @@
## Neovim
- [:terminal](#terminal)
---
#### :terminal
Neovim implements a proper terminal emulator
([libvterm](http://www.leonerd.org.uk/code/libvterm/)) and can easily fire up a
new shell via `:terminal`.
In Vim you run [interactive
programs](../README.md#running-external-programs-and-using-filters) like this:
`:!read foo && echo $foo`. In Neovim this won't work because `:!` uses named
pipes ([libuv processes](https://nikhilm.github.io/uvbook/processes.html)) for
communication now. Use `:te read foo && echo $foo` instead.
Related help:
:h :terminal
:h nvim-terminal-emulator