Working and using Yarn in Vim editor. yarn.vim is a Vim plugin to manage and work with Yarn easily.
Just clone (or download) repository into ~/.vim/bundle
folder:
cd ~/.vim/bundle
git clone https://github.com/trkw/yarn.vim.git
and then open ~/.vimrc
file and append this line in the file:
Plug 'trkw/yarn.vim'
Then reload the Vim. type :h yarn
for more detail.