summaryrefslogtreecommitdiff
path: root/nvim/lua/vimwiki.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/vimwiki.lua')
-rw-r--r--nvim/lua/vimwiki.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/nvim/lua/vimwiki.lua b/nvim/lua/vimwiki.lua
new file mode 100644
index 0000000..43b8aa6
--- /dev/null
+++ b/nvim/lua/vimwiki.lua
@@ -0,0 +1,10 @@
+-- Required for Vimwiki to work
+vim.opt.compatible = false
+
+-- Vimwiki Keybindings
+local opts = {
+ noremap = false,
+ silent = true,
+}
+
+vim.keymap.set('n', '<leader>wx', '<Plug>VimwikiIndex', opts)