diff --git a/CHANGELOG.md b/CHANGELOG.md index 942e8ad..3b6f05c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: [Standard plugins](README.md#standard-plugins) - Misc: [Map CapsLock to Control](README.md#map-capslock-to-control) +- Neovim: [:terminal](content/neovim.md#terminal) ### Changed diff --git a/README.md b/README.md index f9e55ab..ebba83c 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,8 @@ Twitter](https://twitter.com/_mhinz_). Thanks! #### [List of plugins](content/plugins.md) +#### [Neovim](content/neovim.md) + --- ## Intro diff --git a/content/neovim.md b/content/neovim.md new file mode 100644 index 0000000..c2aa6f3 --- /dev/null +++ b/content/neovim.md @@ -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