diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-10 12:25:43 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-10 19:54:55 +0200 |
| commit | b657343b58adb1d4a8ab7f648c9683c4b1d67128 (patch) | |
| tree | d090705d544c619ba015058b1535d38bc15787ae /user/nvim/after/ftplugin/markdown.lua | |
| parent | d51c60c30e7f67e644db0bc5eadea9f0392481ca (diff) | |
tweak(workstation): use neovim instead of vim
Diffstat (limited to 'user/nvim/after/ftplugin/markdown.lua')
| -rw-r--r-- | user/nvim/after/ftplugin/markdown.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/user/nvim/after/ftplugin/markdown.lua b/user/nvim/after/ftplugin/markdown.lua new file mode 100644 index 0000000..9909541 --- /dev/null +++ b/user/nvim/after/ftplugin/markdown.lua @@ -0,0 +1,5 @@ +-- Shortcut for Hugo TOML frontmatter. +vim.keymap.set('n', '<C-f>', 'i+++<CR>title = ""<CR>+++<CR><Esc>kk$i', { + buffer = true, + desc = 'Insert Hugo TOML frontmatter', +}) |
