소스 검색

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 9 년 전
부모
커밋
3ed1fbd251
3개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  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: |
 
 ---