2015-11-13 09:58:00 +00:00
|
|
|
"Split view if multiple files are opened
|
|
|
|
if argc() == 2
|
2020-06-01 09:57:54 +00:00
|
|
|
silent vertical all
|
2015-11-13 09:58:00 +00:00
|
|
|
endif
|
2014-06-26 22:01:24 +00:00
|
|
|
|
2014-01-10 23:18:09 +00:00
|
|
|
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
|
2014-07-27 16:47:21 +00:00
|
|
|
set scrolloff=7
|
2014-01-10 23:18:09 +00:00
|
|
|
set wildmode=longest,list,full
|
|
|
|
set wildmenu
|
2014-01-17 13:06:14 +00:00
|
|
|
set wildignorecase
|
2014-04-03 22:35:28 +00:00
|
|
|
set ignorecase
|
2014-04-03 21:40:54 +00:00
|
|
|
set smartcase
|
2015-11-13 09:58:00 +00:00
|
|
|
set ruler
|
2014-01-10 23:18:09 +00:00
|
|
|
syntax on
|
|
|
|
filetype plugin indent on
|
2015-03-05 07:31:29 +00:00
|
|
|
imap jk <Esc>
|
2015-03-12 11:24:08 +00:00
|
|
|
map <F2> :set nonumber!<CR>
|
2015-03-12 11:24:22 +00:00
|
|
|
set pastetoggle=<F3>
|