From 0321dfb861f9e043b0bf5965fc0d13cd4ddff9d9 Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Fri, 15 Mar 2019 09:22:47 -0400 Subject: Adds to vim setup --- vim/.vim/after/ftplugin/nroff.vim | 4 +++- vim/.vimrc | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'vim') diff --git a/vim/.vim/after/ftplugin/nroff.vim b/vim/.vim/after/ftplugin/nroff.vim index 031c8d9..a8ae553 100644 --- a/vim/.vim/after/ftplugin/nroff.vim +++ b/vim/.vim/after/ftplugin/nroff.vim @@ -1,2 +1,4 @@ set spell -autocmd BufWritePost * silent! !grap % | pic | tbl | eqn | troff -ms | grops > %:r.ps +"autocmd BufWritePost * silent! !refer % | grap | pic | tbl | eqn | troff -dpaper=a4 -ms | grops -p a4 > %:r.ps +"autocmd BufWritePost * silent! !cat % | n-eqn | n-roff -ms -mtbl | n-post > %:r.ps +set tw=0 diff --git a/vim/.vimrc b/vim/.vimrc index 1fc49ff..6a19a67 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -1,4 +1,4 @@ -set number +set number relativenumber syntax enable set tabstop=8 set cursorline @@ -12,13 +12,15 @@ set spell set tw=70 set ruler +set foldmethod=marker + set list set listchars=eol:\ ,tab:\|\ ,trail:~,extends:>,precedes:<,space:· map K i map W :WordCount -colorscheme moonfly +colorscheme elflord au BufRead,BufNewFile *.go set filetype=go au BufRead,BufNewFile *.ldg set filetype=ledger -- cgit v1.1