You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
" Set colourscheme to gruvbox
|
|
|
|
let g:gruvbox_italic=1
|
|
|
|
set termguicolors
|
|
|
|
colorscheme gruvbox
|
|
|
|
|
|
|
|
" Set spellcheck language to english
|
|
|
|
set spelllang=en_gb
|
|
|
|
|
|
|
|
" Set default split to be right or bottom
|
|
|
|
set splitright
|
|
|
|
set splitbelow
|
|
|
|
|
|
|
|
" Tell vim it's a fast terminal
|
|
|
|
set ttyfast
|
|
|
|
|
|
|
|
" set relative ruler with current line as real line number
|
|
|
|
set relativenumber
|
|
|
|
set number
|
|
|
|
|
|
|
|
" Allows vim to background buffers without saving
|
|
|
|
set hidden
|
|
|
|
|
|
|
|
" Makes vim try to keep 5 lines visible at the top and bottom
|
|
|
|
set scrolloff=5
|
|
|
|
|
|
|
|
" set tabwidth
|
|
|
|
set autoindent
|
|
|
|
set smartindent
|
|
|
|
set shiftwidth=4
|
|
|
|
set tabstop=4
|
|
|
|
|
|
|
|
" Add invisivle character reperesentation
|
|
|
|
set list listchars=tab:»\ ,trail:\␣,eol:↩
|
|
|
|
|
|
|
|
" Stops vim wrapping in the middle of a word
|
|
|
|
set linebreak
|
|
|
|
|
|
|
|
" Sets tool for opening non-text files with gx
|
|
|
|
" If in netrw, this is run with just x
|
|
|
|
let g:netrw_browsex_viewer = "opout"
|