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 Updates
APA

失魂魚 | 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/

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 ,<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 ]. 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 . 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: ]
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/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.