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
This commit is contained in:
parent
fbf82ca323
commit
8a99723c51
1 changed files with 20 additions and 0 deletions
|
@ -1,4 +1,24 @@
|
||||||
|
" Set colourscheme to gruvbox
|
||||||
let g:gruvbox_italic=1
|
let g:gruvbox_italic=1
|
||||||
set termguicolors
|
set termguicolors
|
||||||
colorscheme gruvbox
|
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…
Add table
Add a link
Reference in a new issue