This is a basic Vim config for coding Racket. It sets up Vundle, installs a few plugins, and sets up a few Vim niceties.
On Ubuntu, install the racket package with:
sudo apt-get install racket
On Arch Linux, install racket with:
sudo pacman -S racket
On Windows, install Racket from racket-lang.org. Put Racket.exe and Raco.exe on your path.
Once Racket is installed, you need to install the plai-typed language. To do this, run: raco pkg install plai-typed
in the console.
To install the Vim config, first clone the Vundle repository by running:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Next, copy and paste the contents of .vimrc
into ~/.vimrc
. Run Vim, ignore any errors that pop up, and run :VundleInstall
. Restart Vim, and you should be set.
- vim-racket - Provides racket highlighting, autoindent support.
- Syntastic - Provides syntax checking on file save.
- Rainbow_parenthesis - Colorizes parenthesis so they can easily be told apart and matched.