Quellcode durchsuchen

Remove bibliography field from pandoc template

The vim pandoc plugin does not recognise the field, and it is just as
easy to have the bibliography file (e.g. bibtext) the same name as the
pandoc file itself.
Weiyi Lou vor 9 Jahren
Ursprung
Commit
3ed1fbd251
3 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen
  1. 1 1
      README.md
  2. 1 3
      vim/settings/templates.vim
  3. 0 1
      vim/templates/pandoc

+ 1 - 1
README.md

@@ -8,7 +8,7 @@ Configuration files for:
 - Tmux (1.8+)
 - Other bits and pieces
 
-Heavy preference for `vim`-like bindings.
+Heavy preference for Vim-like bindings.
 
 ## Installation
 

+ 1 - 3
vim/settings/templates.vim

@@ -1,12 +1,10 @@
 " Template for shell scripts.
-" Removes comments after line 1, places cursor at end of file.
+" Removes comments, places cursor at end of file.
 autocmd BufNewFile *.sh silent 0r ~/dotfiles/vim/templates/bashscript | silent 2,$ g/^#/d | normal G
-
 " Make shell scripts executable on save.
 autocmd BufWritePost *.sh if getline(1) =~ "^#!/" | silent !chmod +x <afile>
 
 " Template for makefiles.
-" Removes comments, places cursor at end of file.
 autocmd BufNewFile [Mm]akefile silent 0r ~/dotfiles/vim/templates/makefile | silent 4,$ g/^#/d | normal G
 
 " Template for pandoc files.

+ 0 - 1
vim/templates/pandoc

@@ -1,6 +1,5 @@
 ---
 title:
-bibliography:
 abstract: |
 
 ---