diff --git a/.vim/templates/readinglist b/.vim/templates/readinglist new file mode 100644 index 0000000..4fe37f6 --- /dev/null +++ b/.vim/templates/readinglist @@ -0,0 +1,9 @@ +:insert +* *Title*: +* *Author*: +* *Started*: +* *Finished*: +* [Goodreads Link]() + +# Highlights / Notes + diff --git a/.vimrc b/.vimrc index 8905260..9de70bc 100644 --- a/.vimrc +++ b/.vimrc @@ -31,8 +31,6 @@ augroup end syntax enable filetype plugin on -" Native Markdown syntax highlighting for specified languages -let g:markdown_fenced_languages = ['html', 'python', 'sh', 'vim', 'yaml'] " Open my personal helpfile nmap h :e $HOME/.vim/vim-keys-help.md @@ -119,6 +117,8 @@ call plug#end() " Options and overrides for installed plugins " Vim Markdown +" Markdown syntax highlighting for specified languages +let g:markdown_fenced_languages = ['html', 'python', 'ini', 'vim', 'bash', 'yaml'] " Set default conceallevel to hide links and some formatting set conceallevel=2 " strikethrough @@ -324,6 +324,9 @@ nnoremap ,begend :-1read $HOME/.vim/templates/begendjA " section shell script header "nnoremap ,sh :-1read $HOME/.vim/templates/shjA +" section readinglist header +nnoremap ,rl :0read $HOME/.vim/templates/readinglist :1dd $ + " section markdown file header nnoremap ,md :0read $HOME/.vim/templates/md :1dd :%s/title/\=expand('%:t:r')/g