Last active
October 27, 2021 07:30
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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