aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/vimwiki/vimwiki.vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim/ftplugin/vimwiki/vimwiki.vim')
-rw-r--r--files/vim/ftplugin/vimwiki/vimwiki.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/files/vim/ftplugin/vimwiki/vimwiki.vim b/files/vim/ftplugin/vimwiki/vimwiki.vim
index 68970fd..2029fcb 100644
--- a/files/vim/ftplugin/vimwiki/vimwiki.vim
+++ b/files/vim/ftplugin/vimwiki/vimwiki.vim
@@ -17,5 +17,8 @@ setlocal textwidth=80
nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/vimwiki/vimwiki.vim<CR>
nnoremap <buffer> <leader>e :Errors<CR>
-nnoremap <buffer> <leader>c :w<CR>:!toPDF.sh %<CR><CR>
-nnoremap <buffer> <leader>o :w<CR>:!toPDF.sh -o %<CR><CR>
+nnoremap <buffer> <leader>c :w<CR>:!toPDF.sh "%"<CR><CR>
+nnoremap <buffer> <leader>o :w<CR>:!toPDF.sh -o "%"<CR><CR>
+
+" Syntax highlighting colors
+highlight Title ctermfg=darkblue