Dotfiles/nvim/.config/nvim/plugin/settings.vim
Jonathan Hodgson 8a99723c51 VIM: Adds some simple settings from my old vimrc
* New windows opening right and down
* spellcheck language en_gb
* Tell vim it's a fast terminal
* number and relativenumber
* allow buffers to be backgrounded
* Try and keep cursor 5 lines from the bottom / top when scrolling
2020-09-26 16:15:53 +01:00

24 righe
498 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