aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-02-19 16:05:54 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-02-19 16:05:54 -0700
commitd92b3775381f2b2252bdd614f8355a8bdf00f2fa (patch)
tree8b858737caa3429483ccbbd832deea35e6e32431 /vim
parent645cfab20016bc8a443e880adfc1c5e7fea92cf6 (diff)
downloaddotfiles-d92b3775381f2b2252bdd614f8355a8bdf00f2fa.tar
dotfiles-d92b3775381f2b2252bdd614f8355a8bdf00f2fa.tar.gz
dotfiles-d92b3775381f2b2252bdd614f8355a8bdf00f2fa.tar.bz2
havent pushed these in a while
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc19
1 files changed, 14 insertions, 5 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 3859b42..f60d75f 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -10,6 +10,9 @@ set laststatus=2
set wildmenu
set scrolloff=5
+" turn on spell checker for all markdown files
+autocmd FileType markdown setlocal spell
+
" stolen from https://shapeshed.com/vim-statuslines/
"function! GitBranch()
" return system("git rev-parse --abbrev-ref HEAD 2>/dev/null | tr -d '\n'")
@@ -38,21 +41,27 @@ set statusline=
"set statusline+=%#PmenuSel#
"set statusline+=%{StatuslineGit()}
"set statusline+=%#LineNr#
-set statusline+=\%F
+set statusline+=\ %F
+set statusline+=\ %y
set statusline+=\ %m
set statusline+=\ %r
set statusline+=%=
set statusline+=%#CursorColumn#
-set statusline+=\ %L\ lines
-set statusline+=\ %y
+"set statusline+=\ %L\ lines
+"set statusline+=\ %y
"set statusline+=\
set statusline+=\ %{&fileencoding?&fileencoding:&encoding}
"set statusline+=" >"
-set statusline+=\[%{&fileformat}\]
+set statusline+=\ [%{&fileformat}\]
"set statusline+=" >"
set statusline+=\ %p%%
"set statusline+=" >"
-set statusline+=\ %l:%c
+set statusline+=\ %l/%L:%c
+set statusline+=\
hi StatusLine ctermbg=black
+hi Normal ctermbg=NONE
+let g:lightline = {
+ \ 'colorscheme': 'sitruuna',
+ \ }