aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-03-11 00:20:49 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-03-11 00:20:49 -0700
commit44d79a46e681df48a510629a75ee02165f492392 (patch)
tree4cd41291f7420d6b1c18b304fa089d330ca635b8 /vim
parent3bf4798db1b8ec9942e7ec4ae315d3a6dbd5fb00 (diff)
downloaddotfiles-44d79a46e681df48a510629a75ee02165f492392.tar
dotfiles-44d79a46e681df48a510629a75ee02165f492392.tar.gz
dotfiles-44d79a46e681df48a510629a75ee02165f492392.tar.bz2
i can clean these up sometime
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc23
1 files changed, 18 insertions, 5 deletions
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