https://github.com/dbalatero/mac-vim-mode
Quick installer for adding Vim motions/operators to every input in OS X
https://github.com/dbalatero/mac-vim-mode
hammerspoon keyboard-navigation mac macintosh macvim osx vim
Last synced: 27 days ago
JSON representation
Quick installer for adding Vim motions/operators to every input in OS X
- Host: GitHub
- URL: https://github.com/dbalatero/mac-vim-mode
- Owner: dbalatero
- License: mit
- Created: 2019-11-28T18:50:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T20:56:27.000Z (over 5 years ago)
- Last Synced: 2025-04-26T02:23:21.719Z (29 days ago)
- Topics: hammerspoon, keyboard-navigation, mac, macintosh, macvim, osx, vim
- Language: Shell
- Homepage:
- Size: 10.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mac-vim-mode
This repository contains a bootstrap installer that will set up your Mac with
a global Vim mode that works almost anywhere in the OS.Exceptions are system inputs marked as secure, such as password fields, or
anything in 1Password.Main plugin development happens at the [VimMode.spoon repo](https://github.com/dbalatero/VimMode.spoon)
## Setup
Run this command in your Terminal:
```
bash <(curl -s https://raw.githubusercontent.com/dbalatero/mac-vim-mode/master/installer)
```If you don't trust the script, please [audit
it](https://github.com/dbalatero/mac-vim-mode/blob/master/installer). It should
be pretty straight-forward to read, and doesn't require root/sudo.## What the script does:
* Installs Hammerspoon
* Sets up your Hammerspoon config directory
* Clones VimMode.spoon
* Sets up a basic config if it doesn't existThe script is idempotent, so you can run it again and again without
side-effects.The script is also progressive - it will only setup what is missing. If you
already have Hammerspoon, it will skip it. If you already have the
VimMode.spoon installed, it won't reinstall it.## Updating your VimMode.spoon version in the future
To update VimMode to the latest code, just use git:
```
cd ~/.hammerspoon/Spoons/VimMode.spoon && git pull
```