-
-
Save remy-actual/071852832d0e21ab67e555ecbccd9774 to your computer and use it in GitHub Desktop.
Revisions
-
brablc revised this gist
Feb 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ on run {input, parameters} set cmd to "vim -c startinsert" if input is not in {} then set myPath to POSIX path of input set cmd to "vim " & quote & myPath & quote end if tell application "iTerm" -
brablc revised this gist
Feb 13, 2015 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ on run {input, parameters} set cmd to "vim -c startinsert" if input is not in {} then set myPath to POSIX path of input set cmd to "vim " & "\"" & myPath & "\"" end if tell application "iTerm" activate -
brablc revised this gist
Feb 6, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ on run {input, parameters} set myPath to POSIX path of input set cmd to "vim " & quote & myPath & quote tell application "iTerm" activate -
brablc renamed this gist
Feb 5, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
brablc renamed this gist
Feb 5, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
brablc renamed this gist
Feb 5, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
brablc created this gist
Feb 5, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ on run {input, parameters} set myPath to POSIX path of input set cmd to "vim " & "\"" & myPath & "\"" tell application "iTerm" activate set myTerm to (current terminal) tell myTerm set mySession to (make new session at the end of sessions) tell mySession to exec command cmd end tell end tell end run