This content originally appeared on DEV Community and was authored by 失魂魚
brew install nvim
- vim-plug:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- Open init.vim
" plugins
call plug#begin(stdpath('data') . '/plugged')
Plug 'phaazon/hop.nvim'
call plug#end()
" hop
lua << EOF
require'hop'.setup()
EOF
Open a file in nvim and type in :PlugUpdate
, you'll see installation process. Now type in :HopWord
and hop should be working.
This content originally appeared on DEV Community and was authored by 失魂魚
失魂魚 | Sciencx (2022-06-23T12:09:14+00:00) Setup NeoVim on macOS with plugin manager and Hop (easy-motion). Retrieved from https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.