Compare commits

..

2 Commits

Author SHA1 Message Date
65236003c5 Added words to custom dictionary 2024-02-25 18:28:29 -05:00
945f805543 Markdown header snippet
I made a shortcut to include a Markdown header on an existing file
by `,md` in normal mode.  This will insert the `,md` template and update
the title with the filename (minus extension)
2024-02-25 18:26:08 -05:00
3 changed files with 10 additions and 1 deletions

View File

@@ -33,3 +33,10 @@ http
java java
offline offline
online online
sudo
UFW
VPS
Gitea
Nginx
FreshRSS
planethawleywood

View File

@@ -5,3 +5,5 @@
- Updated : - Updated :
--- ---

2
.vimrc
View File

@@ -325,7 +325,7 @@ nnoremap ,begend :-1read $HOME/.vim/templates/begend<CR>jA
"nnoremap ,sh :-1read $HOME/.vim/templates/sh<CR>jA "nnoremap ,sh :-1read $HOME/.vim/templates/sh<CR>jA
" section markdown file header " section markdown file header
nnoremap ,md :-1read $HOME/.vim/templates/md<CR>jA nnoremap ,md :0read $HOME/.vim/templates/md<CR> <bar> :1<CR>dd <bar> :%s/title/\=expand('%:t:r')/g<CR>
" --------------------------------------------------------------------------------------------------------------------- " ---------------------------------------------------------------------------------------------------------------------
" ==> NetrwTreeListing readonly fix (https://vi.stackexchange.com/a/13012) " ==> NetrwTreeListing readonly fix (https://vi.stackexchange.com/a/13012)