Skip to content

Instantly share code, notes, and snippets.

@punkmonday
Last active October 27, 2021 07:30
Show Gist options
  • Select an option

  • Save punkmonday/4442c6d99f737466a8adfa252b19a05c to your computer and use it in GitHub Desktop.

Select an option

Save punkmonday/4442c6d99f737466a8adfa252b19a05c to your computer and use it in GitHub Desktop.
自定义.vimrc,系统粘贴板生效需要安装vim-X11(fedora) https://vim.fandom.com/wiki/Accessing_the_system_clipboard ps: windows的vimrc在~/_vimrc,可以用:version查看vim env
call plug#begin()
Plug 'easymotion/vim-easymotion'
Plug 'sbdchd/neoformat'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
Plug 'junegunn/fzf.vim'
Plug 'tpope/vim-surround'
Plug 'jiangmiao/auto-pairs'
Plug 'preservim/nerdtree'
call plug#end()
set nu
set ignorecase
set smartcase
set ts=4
set expandtab
set sw=4
set autoindent
set clipboard=unnamedplus
set clipboard+=unnamed
set hlsearch
set incsearch
set ignorecase
set smartcase
set showmode
set number
set relativenumber
set scrolloff=3
set history=100000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment