Skip to content

Switch commands between inside and outside of vim/nvim

License

Notifications You must be signed in to change notification settings

tennashi/vimalter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vimalter

CircleCI Switch commands between inside and outside of the vim/nvim.

Screenshot

In neovim

asciicast

In vim8 with --remote

asciicast

In vim8 with terminal-api

asciicast

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

About

Switch commands between inside and outside of vim/nvim

Resources

License

Stars

Watchers

Forks

Packages

No packages published