Setup NeoVim on macOS with plugin manager and Hop (easy-motion)

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(‘da…


This content originally appeared on DEV Community and was authored by 失魂魚

  1. brew install nvim
  2. 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'
  3. 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 失魂魚


Print Share Comment Cite Upload Translate
APA
失魂魚 | Sciencx (2022-06-29T12:45:38+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/.
MLA
" » Setup NeoVim on macOS with plugin manager and Hop (easy-motion)." 失魂魚 | Sciencx - Thursday June 23, 2022, https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/
HARVARD
失魂魚 | Sciencx Thursday June 23, 2022 » Setup NeoVim on macOS with plugin manager and Hop (easy-motion)., viewed 2022-06-29T12:45:38+00:00,<https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/>
VANCOUVER
失魂魚 | Sciencx - » Setup NeoVim on macOS with plugin manager and Hop (easy-motion). [Internet]. [Accessed 2022-06-29T12:45:38+00:00]. Available from: https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/
CHICAGO
" » Setup NeoVim on macOS with plugin manager and Hop (easy-motion)." 失魂魚 | Sciencx - Accessed 2022-06-29T12:45:38+00:00. https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/
IEEE
" » Setup NeoVim on macOS with plugin manager and Hop (easy-motion)." 失魂魚 | Sciencx [Online]. Available: https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/. [Accessed: 2022-06-29T12:45:38+00:00]
rf:citation
» Setup NeoVim on macOS with plugin manager and Hop (easy-motion) | 失魂魚 | Sciencx | https://www.scien.cx/2022/06/23/setup-neovim-on-macos-with-plugin-manager-and-hop-easy-motion/ | 2022-06-29T12:45:38+00:00
https://github.com/addpipe/simple-recorderjs-demo