skip to content
Liu Yang's Blog

配置Vim plugins

/ 1 min read

Table of Contents

以EasyMotion为例

EasyMotion

  1. set .vimrc in user dir
call plug#begin('~/vimfiles/plugged')
Plug 'easymotion/vim-easymotion'
call plug#end()
set clipboard=unnamedplus
let mapleader = " "
nmap <Leader><Leader>w <Plug>(easymotion-w)
nmap <Leader><Leader>b <Plug>(easymotion-b)
  1. run PlugInstall command in vim

  2. restart vim, finshed.

ref

https://github.com/junegunn/vim-plug?tab=readme-ov-file#installation