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
master
Jonathan Hodgson 4 years ago
parent fbf82ca323
commit 8a99723c51
  1. 20
      nvim/.config/nvim/plugin/settings.vim

@ -1,4 +1,24 @@
" 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

Loading…
Cancel
Save