diff options
author | Tucker Evans <tuckerevans24@gmail.com> | 2019-03-15 09:22:47 -0400 |
---|---|---|
committer | Tucker Evans <tuckerevans24@gmail.com> | 2019-03-25 15:58:37 -0400 |
commit | 0321dfb861f9e043b0bf5965fc0d13cd4ddff9d9 (patch) | |
tree | 75e4b4dcfcf6037e6acedd16873c3fd4f9805abd | |
parent | e13d49079061b2f457d3da7201f533308ea515ab (diff) |
Adds to vim setup
-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 |