diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/.vim/after/ftplugin/nroff.vim | 4 | ||||
-rw-r--r-- | vim/.vimrc | 6 |
2 files changed, 7 insertions, 3 deletions
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 @@ -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<enter><esc> map W <esc>:WordCount<enter> -colorscheme moonfly +colorscheme elflord au BufRead,BufNewFile *.go set filetype=go au BufRead,BufNewFile *.ldg set filetype=ledger |