sponsor Vim development Vim logo Vim Book Ad

iterm-start : Dispatch a task for iTerm2 in MacVim, used for async command line task

 script karma  Rating 0/0, Downloaded by 603  Comments, bugs, improvements  Vim wiki

created by
qiming zhao
 
script type
utility
 
description
This project is hosted at https://github.com/chemzqm/vim-iterm2-start

It works like dispatch, but works for the lasted iTerm2 > 2.9

Prerequirement:

* MacVim 7.3+
* iTerm2 > 2.9 currently in beta test
* fish shell (otherwise you will need change the code)
* Knowledge of command line tools

## Command

* `[!]ItermStart [options] {command}`

    Start task in current session of iTerm2, when prefix with `!`, not foucs the iTerm window

    * -dir=...     run command in given directory
    * -title=...   set lable for iTerm2
    * -no-wait      disable the default prompt of `press enter to continue` on command error

* `[!]ItermStartTab [options] {command}`

    Start task in a new tab session of iTerm2, options is the same as `ItermStart` command
 
install details
Install with your favorite plugin managers like NeoBundle/Plugin/Plug

NeoBundle 'chemzqm/vim-iterm2-start'
Plugin 'chemzqm/vim-iterm2-start'
Plug 'chemzqm/vim-iterm2-start'
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
iterm-start.zip 0.2.0 2016-01-08 7.0 qiming zhao add notification for success command using terminal-notifier or growlnotify
iterm-start.zip 0.1.0 2016-01-03 7.0 qiming zhao Initial upload
ip used for rating: 35.170.81.210

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
OSDN.net Logo