Dotfiles/nvim/.config/nvim/plugin/settings.vim
2020-09-28 11:37:52 +01:00

36 lines
726 B
VimL

" 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