Add current config
This commit is contained in:
parent
e96f05698a
commit
bab1b44002
2 changed files with 27 additions and 0 deletions
21
init.vim
Normal file
21
init.vim
Normal file
|
@ -0,0 +1,21 @@
|
|||
cmap w!! w !sudo tee >/dev/null %
|
||||
:set mouse=a
|
||||
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
|
||||
if !has('gui_running')
|
||||
set t_Co=256
|
||||
endif
|
||||
|
||||
set background=dark
|
||||
|
||||
" Tab inserts 4 spaces
|
||||
set expandtab
|
||||
set ts=4 sw=4 sts=4
|
||||
|
||||
" Autocomplete in command mode (Tab to invoke)
|
||||
set wildmenu
|
||||
|
||||
" Set the 'default but not default' colour scheme
|
||||
colo default
|
6
vimrc
Normal file
6
vimrc
Normal file
|
@ -0,0 +1,6 @@
|
|||
" Load the main vim file
|
||||
let $VIM = '@@HOME@@/.vim'.'/init.vim'
|
||||
|
||||
if filereadable($VIM)
|
||||
source $VIM
|
||||
endif
|
Loading…
Reference in a new issue