diff options
| author | Martin Fischer <martin@push-f.com> | 2025-12-28 06:54:26 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2025-12-28 06:55:46 +0100 |
| commit | 8574d673384c59c5962736c60941f6d68615dea5 (patch) | |
| tree | 7518bed9318d5764687155f914dde1d0e764bc84 | |
| parent | 17813922d70b901e2aecc46cf6efa7e53f82dbd3 (diff) | |
tweak(user/vim): add shortcut for Hugo TOML frontmatter
| -rw-r--r-- | user/vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user/vim/vimrc b/user/vim/vimrc index 952f863..fce7814 100644 --- a/user/vim/vimrc +++ b/user/vim/vimrc @@ -21,3 +21,6 @@ endif " Enable pasting with middle mouse click in insert mode. set mouse= + +" Shortcut for Hugo TOML frontmatter +autocmd FileType markdown nnoremap <buffer> <C-f> i+++<CR>title = ""<CR>+++<CR><ESC>kk$i |
