summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vimrc17
1 files changed, 11 insertions, 6 deletions
diff --git a/vimrc b/vimrc
index ae859e6..bcbd257 100644
--- a/vimrc
+++ b/vimrc
@@ -3,7 +3,8 @@ packadd snippets
" General
set ignorecase
set backspace=indent,eol,start
-
+set nocompatible
+filetype plugin on
" Indentation
set tabstop=8
@@ -25,13 +26,14 @@ set termguicolors
colorscheme quiet
set t_Co=256
set tgc
-hi Normal guifg=black guibg=#FEFFFA
+hi Normal guifg=black guibg=#FFFFFF
"hi String guifg=blue
hi Comment guifg=blue cterm=italic
-hi SpellBad term=reverse term=underline guibg=#FEFFFA
-hi SpellCap term=reverse term=underline guibg=#FEFFFA
-hi SpellRare term=reverse term=underline guibg=#FEFFFA
-hi SpellLocal term=reverse term=underline guibg=#FEFFFA
+hi Directory cterm=bold
+hi SpellBad term=reverse term=underline guibg=#FFFFFF
+hi SpellCap term=reverse term=underline guibg=#FFFFFF
+hi SpellRare term=reverse term=underline guibg=#FFFFFF
+hi SpellLocal term=reverse term=underline guibg=#FFFFFF
"" Cursor - switch between line and full when going to insert mode
let &t_SI = "\<Esc>[6 q"
@@ -135,6 +137,9 @@ autocmd Filetype go nnoremap <buffer> <leader>t :!go test %:h/*.go<Enter>
au BufRead,BufNewFile *.tmpl set filetype=gohtml
autocmd Filetype gohtml setlocal tabstop=2
+" dot
+autocmd Filetype dot set makeprg=dot\ -Tjpg\ system-setup.dot\ >\ /tmp/dotout.jpg\ &&\ imv\ /tmp/dotout.jpg
+
" Nix
if exists('g:loaded_lsp')