Add vimrc.basic.
This commit is contained in:
parent
00c34d6545
commit
e3d971046d
28
vimrc.basic
Normal file
28
vimrc.basic
Normal file
@ -0,0 +1,28 @@
|
||||
"Split view if multiple files are opened
|
||||
if argc() == 2
|
||||
autocmd VimEnter * nested silent vertical all
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
set autoindent
|
||||
set number
|
||||
set tabstop=4
|
||||
set softtabstop=4
|
||||
set shiftwidth=4
|
||||
set incsearch
|
||||
set hlsearch
|
||||
set expandtab
|
||||
set autowrite
|
||||
set cmdheight=2
|
||||
set scrolloff=7
|
||||
set wildmode=longest,list,full
|
||||
set wildmenu
|
||||
set wildignorecase
|
||||
set ignorecase
|
||||
set smartcase
|
||||
set ruler
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
imap jk <Esc>
|
||||
map <F2> :set nonumber!<CR>
|
||||
set pastetoggle=<F3>
|
Loading…
Reference in New Issue
Block a user