cross-platform

This commit is contained in:
2022-08-30 14:08:00 -07:00
parent 9e619c64b8
commit 54f30a3c4a
13 changed files with 942 additions and 10 deletions

View File

@@ -0,0 +1,21 @@
# From: https://gregrs-uk.github.io/2018-11-01/open-files-neovim-iterm2-macos-finder/
# Instructions:
# - Create new application in Automator
# - Add "run applescript" step
# - Paste in the below script
# From: https://gregrs-uk.github.io/2018-11-01/open-files-neovim-iterm2-macos-finder/
# Instructions:
# - Create new application in Automator
# - Add "run applescript" step
# - Paste in the below script
on run {input, parameters}
set myPath to POSIX path of input
set cmd to "/opt/homebrew/bin/nvim -p " & quote & myPath & quote
tell application "iTerm"
activate
tell current window
create tab with default profile command cmd
end tell
end tell
end run