vimalter
Switch commands between inside and outside of the vim/nvim.
Screenshot
In neovim
In vim8 with --remote
In vim8 with terminal-api
Install
Get from the release page(recomended)
or
$ go get -u github.com/tennashi/vimalter
Neovim
Vim8 with --remote
- Please install or build the vim with
+clientserver
support.
- Please executes (or writes it to
.vimrc
) the following command.
call remote_startserver("vimalter")
Vim8 terminal-api
Usage
$ vimalter [option] [file ...]
Options
-tab
: Open specified file in a new tab when executed from terminal mode of vim/nvim.
Neovim & vim8 with --remote
- If you start it as the default editor, such as
git commit
, you need to exit with : w | bd
.
- If you don't like this, put the following in your vimrc.(see. mhinz/neovim-remote)
autocmd FileType gitcommit set bufhidden=delete