Compare commits
2 Commits
65236003c5
...
fc2e6f39d4
| Author | SHA1 | Date | |
|---|---|---|---|
| fc2e6f39d4 | |||
| 36fc79597a |
@@ -40,3 +40,5 @@ Gitea
|
|||||||
Nginx
|
Nginx
|
||||||
FreshRSS
|
FreshRSS
|
||||||
planethawleywood
|
planethawleywood
|
||||||
|
Nextcloud
|
||||||
|
Obsidian
|
||||||
|
|||||||
9
.vim/templates/readinglist
Normal file
9
.vim/templates/readinglist
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
:insert
|
||||||
|
* *Title*:
|
||||||
|
* *Author*:
|
||||||
|
* *Started*:
|
||||||
|
* *Finished*:
|
||||||
|
* [Goodreads Link]()
|
||||||
|
|
||||||
|
# Highlights / Notes
|
||||||
|
|
||||||
7
.vimrc
7
.vimrc
@@ -31,8 +31,6 @@ augroup end
|
|||||||
syntax enable
|
syntax enable
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
|
|
||||||
" Native Markdown syntax highlighting for specified languages
|
|
||||||
let g:markdown_fenced_languages = ['html', 'python', 'sh', 'vim', 'yaml']
|
|
||||||
|
|
||||||
" Open my personal helpfile
|
" Open my personal helpfile
|
||||||
nmap <leader>h :e $HOME/.vim/vim-keys-help.md<CR>
|
nmap <leader>h :e $HOME/.vim/vim-keys-help.md<CR>
|
||||||
@@ -119,6 +117,8 @@ call plug#end()
|
|||||||
" Options and overrides for installed plugins
|
" Options and overrides for installed plugins
|
||||||
|
|
||||||
" Vim Markdown
|
" 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 default conceallevel to hide links and some formatting
|
||||||
set conceallevel=2
|
set conceallevel=2
|
||||||
" strikethrough
|
" strikethrough
|
||||||
@@ -324,6 +324,9 @@ nnoremap ,begend :-1read $HOME/.vim/templates/begend<CR>jA
|
|||||||
" section shell script header
|
" section shell script header
|
||||||
"nnoremap ,sh :-1read $HOME/.vim/templates/sh<CR>jA
|
"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
|
" section markdown file header
|
||||||
nnoremap ,md :0read $HOME/.vim/templates/md<CR> <bar> :1<CR>dd <bar> :%s/title/\=expand('%:t:r')/g<CR>
|
nnoremap ,md :0read $HOME/.vim/templates/md<CR> <bar> :1<CR>dd <bar> :%s/title/\=expand('%:t:r')/g<CR>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user