- Execute the given below commands
$mkdir -p ~/.vim/autoload ~/.vim/bundle
$curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
- Add the given below lines to ~/.vimrc
execute pathogen#infect()
syntax on
filetype plugin indent on
- Setup Apple’s vim plugin for Swift’s code highligting and indentation
Download the plugin from Github repository
wget https://github.com/apple/swift/tree/master/utils/vim
Copy the downloaded directory vim to ~/.vim/bundle
$cp -r vim ~/.vim/bundle
- Test the code highlighting
Does
wgetwork in the new default shellzsh(on Catalina)? I get a "command not found" error.