aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2019-03-15 09:22:47 -0400
committerTucker Evans <tuckerevans24@gmail.com>2019-03-25 15:58:37 -0400
commit0321dfb861f9e043b0bf5965fc0d13cd4ddff9d9 (patch)
tree75e4b4dcfcf6037e6acedd16873c3fd4f9805abd
parente13d49079061b2f457d3da7201f533308ea515ab (diff)
Adds to vim setup
-rw-r--r--vim/.vim/after/ftplugin/nroff.vim4
-rw-r--r--vim/.vimrc6
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
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<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