summaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMarc Coquand <marc@mccd.space>2024-08-10 14:14:02 -0500
committerMarc Coquand <marc@mccd.space>2024-08-10 14:14:02 -0500
commit180f47818d9d739d277618ef9ecd718cda2f35a4 (patch)
tree4b6aff5662c38d0817220ba1cb6001781e420f58 /vimrc
parent8bbc8c21c9f79fad95f225f2cec47f4bf59660f2 (diff)
downloadbsd-180f47818d9d739d277618ef9ecd718cda2f35a4.tar.gz
bsd-180f47818d9d739d277618ef9ecd718cda2f35a4.tar.bz2
bsd-180f47818d9d739d277618ef9ecd718cda2f35a4.zip
commits
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')