Browse Source

Added plantuml package and vim support

master
Micah Halter 3 months ago
parent
commit
858645c258
4 changed files with 6 additions and 3 deletions
  1. 1
    0
      CHANGELOG.md
  2. 1
    0
      Makefile
  3. 2
    2
      neovim/.config/nvim/init.vim
  4. 2
    1
      scripts/.config/Scripts/compiler

+ 1
- 0
CHANGELOG.md View File

@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Added

- Added `plantuml` and added compiler and vim support
- Added Julia plugin to neovim
- Added script to get bibliography information from DOI number
- Added tracking for custom files generated for scripts like bookmarks/pins/tasks/todo

+ 1
- 0
Makefile View File

@@ -177,6 +177,7 @@ aur: yay
nerd-fonts-inconsolata \
networkmanager-dmenu-git \
openvpn-update-systemd-resolved \
plantuml \
qutebrowser-git \
rtv \
sc-im \

+ 2
- 2
neovim/.config/nvim/init.vim View File

@@ -6,6 +6,7 @@ call plug#begin('$HOME/.config/nvim/plugged-remote')
Plug 'https://github.com/JuliaEditorSupport/julia-vim'
Plug 'https://github.com/SirVer/ultisnips'
Plug 'https://github.com/airblade/vim-gitgutter'
Plug 'https://github.com/aklt/plantuml-syntax'
Plug 'https://github.com/dhruvasagar/vim-table-mode'
Plug 'https://github.com/edkolev/tmuxline.vim'
Plug 'https://github.com/fatih/vim-go', { 'do': ':GoUpdateBinaries' }
@@ -35,7 +36,6 @@ Plug 'https://github.com/vim-scripts/ReplaceWithRegister'
Plug 'https://github.com/w0rp/ale'
call plug#end()


""""""""""""""""""""""""""""
" => General
""""""""""""""""""""""""""""
@@ -400,7 +400,7 @@ augroup END

augroup graphviz
autocmd BufNewFile,BufRead *.gv,*.dot inoremap ;ep ε
autocmd BufNewFile,BufRead *.gv,*.dot nnoremap <buffer> <leader>mv :![[ -e %:r.png ]] && sxiveh %:r.png &> /dev/null &<CR><CR>;
autocmd BufNewFile,BufRead *.gv,*.dot,*.uml,*.pu nnoremap <buffer> <leader>mv :![[ -e %:r.png ]] && sxiveh %:r.png &> /dev/null &<CR><CR>;
augroup END

augroup markup

+ 2
- 1
scripts/.config/Scripts/compiler View File

@@ -21,7 +21,8 @@ function pdfpcCleanup {
}

case "$file" in
*\.gv|*\.dot) dot -Tpng $file -o $base.png ;;
*\.uml|*\.pu) plantuml "$file" ;;
*\.gv|*\.dot) dot -Tpng "$file" -o "$base".png ;;
*\.ms) refer -PS -e "$file" | groff -me -ms -kejpt -T pdf > "$base".pdf ;;
*\.mom) refer -PS -e "$file" | groff -mom -kejpt -T pdf > "$base".pdf ;;
*\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla && pdfpcCleanup ;;

Loading…
Cancel
Save