Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // automator JXA application that opens a file in vim in a new iTerm2 window
- function run (input) {
- Application("iTerm")
- .createWindowWithDefaultProfile({
- command: `vim "${input}" +':cd %:h'`
- })
- }
Add Comment
Please, Sign In to add comment