瀏覽代碼

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 10 年之前
父節點
當前提交
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+)
 - Tmux (1.8+)
 - Other bits and pieces
 - Other bits and pieces
 
 
-Heavy preference for `vim`-like bindings.
+Heavy preference for Vim-like bindings.
 
 
 ## Installation
 ## Installation
 
 

+ 1 - 3
vim/settings/templates.vim

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

+ 0 - 1
vim/templates/pandoc

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