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

@@ -1,21 +0,0 @@
# 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

View File

@@ -1,9 +0,0 @@
# Based on the iTerm 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 "System Events" to tell process "kitty"
click menu item "New Tab" of menu "Shell" of menu bar 1
end tell
end run

View File

@@ -1,5 +0,0 @@
#!/bin/bash
brew install bat cmake gitkraken go htop lsd neofetch node npm openjdk@11 macvim yarn yt-dlp
brew install --cask --no-quarantine middleclick
brew install --cask hammerspoon scroll-reverser rectangle alt-tab

View File

@@ -1,4 +0,0 @@
# a treatment to the downright horrendous fanboy cope session i have just witnessed on the apple support forums
defaults write com.apple.appstored LastUpdateNotification -date "2029-12-12 12:00:00 +0000"

View File

@@ -1,10 +0,0 @@
#!/bin/bash
# Disable mouse movement acceleration
defaults write .GlobalPreferences com.apple.mouse.scaling -1
# Disable scrolling acceleration
defaults write .GlobalPreferences com.apple.scrollwheel.scaling -1
# Remind to logout
echo To fully apply changes, log out and back in again.