Guest User

Untitled

a guest
Oct 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. // automator JXA application that opens a file in vim in a new iTerm2 window
  2.  
  3. function run (input) {
  4. Application("iTerm")
  5. .createWindowWithDefaultProfile({
  6. command: `vim "${input}" +':cd %:h'`
  7. })
  8. }
Add Comment
Please, Sign In to add comment