From 44d79a46e681df48a510629a75ee02165f492392 Mon Sep 17 00:00:00 2001 From: Bryson Steck Date: Fri, 11 Mar 2022 00:20:49 -0700 Subject: i can clean these up sometime --- vim/.vimrc | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'vim') diff --git a/vim/.vimrc b/vim/.vimrc index 8e9dd3b..503c5d0 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,7 +1,9 @@ set nocompatible -colorscheme sitruuna +let g:gruvbox_guisp_fallback = "bg" +colorscheme gruvbox +set bg:dark set mouse=a -set tabstop=4 shiftwidth=4 expandtab +set tabstop=2 softtabstop=2 shiftwidth=2 expandtab set linebreak set ttymouse=sgr set cursorline @@ -10,10 +12,14 @@ set laststatus=2 set wildmenu set scrolloff=5 set incsearch +set relativenumber +set ttimeout ttimeoutlen=25 " turn on spell checker for all markdown files autocmd FileType markdown setlocal spell +execute pathogen#infect() + " stolen from https://shapeshed.com/vim-statuslines/ "function! GitBranch() " return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'") @@ -61,8 +67,15 @@ set statusline+=\ %l/%L:%c set statusline+=\ -hi StatusLine ctermbg=black +"hi StatusLine ctermbg=black hi Normal ctermbg=NONE let g:lightline = { - \ 'colorscheme': 'sitruuna', - \ } + \ 'colorscheme': 'gruvbox', + \ 'active': { + \ 'left': [ [ 'mode', 'paste' ], + \ [ 'filename', 'readonly', 'modified' ] ], + \ 'right': [ [ 'lineinfo' ], + \ [ 'fileformat', 'fileencoding', 'filetype' ] ] + \ }, + \ } +set noshowmode -- cgit v1.2.3