Compare commits

..

2 Commits

Author SHA1 Message Date
fc2e6f39d4 Added words to custom dictionary 2024-02-25 20:30:57 -05:00
36fc79597a Template Improvements
Added a Reading List header template and added some functionality to the
Markdown header making it easier to add headers to existing files
2024-02-25 20:28:56 -05:00
3 changed files with 16 additions and 2 deletions

View File

@@ -40,3 +40,5 @@ Gitea
Nginx
FreshRSS
planethawleywood
Nextcloud
Obsidian

View File

@@ -0,0 +1,9 @@
:insert
* *Title*:
* *Author*:
* *Started*:
* *Finished*:
* [Goodreads Link]()
# Highlights / Notes

7
.vimrc
View File

@@ -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 <leader>h :e $HOME/.vim/vim-keys-help.md<CR>
@@ -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/begend<CR>jA
" section shell script header
"nnoremap ,sh :-1read $HOME/.vim/templates/sh<CR>jA
" section readinglist header
nnoremap ,rl :0read $HOME/.vim/templates/readinglist<CR> <bar> :1<CR>dd $
" section markdown file header
nnoremap ,md :0read $HOME/.vim/templates/md<CR> <bar> :1<CR>dd <bar> :%s/title/\=expand('%:t:r')/g<CR>