Created
April 28, 2020 07:21
-
-
Save bs10081/b8924d42b1ee1c5ca6926ea685ba874c to your computer and use it in GitHub Desktop.
VIM配置文檔
This file contains 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=unnamedplset number | |
syntax on | |
set tabstop=2 " The width of a TAB is set to 4. | |
set shiftwidth=2 " Indents will have a width of 4. | |
set softtabstop=2 " Sets the number of columns for a TAB. | |
set expandtab " Expand TABs to spaces. | |
set ai | |
set clipboard=unnamedplus | |
set nobackup "(required) make vim no backup auto creating | |
set noswapfile "(required) make vim no swap file auto creating | |
set noundofile "(required) make undo file disable | |
set fileformat=unix | |
map <C-n> :NERDTreeToggle<CR> | |
nmap nt :tabnew<cr> | |
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree' | |
Plug 'kien/ctrlp.vim' | |
call plug#end() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment