about summary refs log tree commit diff
path: root/.config/nvim/ftplugin/markdown.lua
diff options
context:
space:
mode:
authorvenomade <venomade@venomade.com>2026-02-13 18:09:22 +0000
committervenomade <venomade@venomade.com>2026-02-13 18:09:22 +0000
commit4b8cc0b9a9d92636b5c5b84595e6302900f5dfce (patch)
treef0896b545f01e87c661af2dbf53f80337c06c05e /.config/nvim/ftplugin/markdown.lua
parent0bd150185551b6d8835d022c15a5f6e832d51113 (diff)
ZK, NVIM and Misc
Add ZK config, template and script.
Add various Neovim plugins, and some markdown specific settings.
Add Neovim aliases.
Fix 100% in alsa luastatus plugin.
Diffstat (limited to '.config/nvim/ftplugin/markdown.lua')
-rw-r--r--.config/nvim/ftplugin/markdown.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/nvim/ftplugin/markdown.lua b/.config/nvim/ftplugin/markdown.lua
new file mode 100644
index 0000000..4f658e4
--- /dev/null
+++ b/.config/nvim/ftplugin/markdown.lua
@@ -0,0 +1,10 @@
+vim.keymap.set('n', 'n', 'gj', { buffer = true, noremap = true })
+vim.keymap.set('n', 'e', 'gk', { buffer = true, noremap = true })
+
+vim.opt_local.wrap = true
+vim.opt_local.linebreak = true
+
+vim.opt_local.number = false
+vim.opt_local.relativenumber = false
+
+vim.treesitter.start(vim.api.nvim_get_current_buf(), 'markdown')