falstro / ghost-text-vim

Ghost Text for VIm
MIT License
52 stars 9 forks source link

How to get it working on Mac OS X? #11

Open mppf opened 6 years ago

mppf commented 6 years ago

This repo needs some documentation for how to install/use, even if it's sketchy.

Here's what I did to get it working on Mac OS X:

brew tap homebrew/dupes
xcode-select --install
brew install tcl-tk
# add it to PATH in .bash_profile as suggested in brew output

#  install a vim that supports --servername
brew install vim --with-client-server

# change shebang in script to
#!/usr/bin/env tclsh
# otherwise it'll run the Mac OS X tcl which is too old.

# change gvim in script to vim (but other people might prefer to install gvim)

./ghost-text-server.tcl

# (activate it with the ghost button)