Add current config

This commit is contained in:
Jake Howard 2021-09-11 21:02:32 +01:00
parent e96f05698a
commit bab1b44002
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 27 additions and 0 deletions

21
init.vim Normal file
View 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
View file

@ -0,0 +1,6 @@
" Load the main vim file
let $VIM = '@@HOME@@/.vim'.'/init.vim'
if filereadable($VIM)
source $VIM
endif