summaryrefslogtreecommitdiff
path: root/nvim/after/ftplugin/markdown.lua
diff options
context:
space:
mode:
authorottjk <joshott16@gmail.com>2024-01-07 14:02:16 -0500
committerottjk <joshott16@gmail.com>2024-01-07 14:02:16 -0500
commitf784b3e3b5b6cd740eefc26144348bfc6f58d78e (patch)
tree015251c3bd8fcaed64d68b5ce01e8a5b1511fd3d /nvim/after/ftplugin/markdown.lua
parent992c1850bf3bd9107711282b4712abaed60fee1e (diff)
downloaddotfiles-f784b3e3b5b6cd740eefc26144348bfc6f58d78e.tar.gz
dotfiles-f784b3e3b5b6cd740eefc26144348bfc6f58d78e.zip
nvim markdown things
Diffstat (limited to 'nvim/after/ftplugin/markdown.lua')
-rw-r--r--nvim/after/ftplugin/markdown.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/nvim/after/ftplugin/markdown.lua b/nvim/after/ftplugin/markdown.lua
new file mode 100644
index 0000000..86af50e
--- /dev/null
+++ b/nvim/after/ftplugin/markdown.lua
@@ -0,0 +1,5 @@
+local map = vim.keymap.set
+local opts = { noremap = false, silent = true}
+
+map('', 'o', '<Plug>Markdown_NewLineBelow<Esc>', opts)
+map('', 'O', '<Plug>Markdown_NewLineAbove<Esc>', opts)