summary refs log tree commit diff
path: root/.vim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/ftplugin')
-rw-r--r--.vim/after/ftplugin/markdown.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vim/after/ftplugin/markdown.lua b/.vim/after/ftplugin/markdown.lua
index 45219ee..373b79e 100644
--- a/.vim/after/ftplugin/markdown.lua
+++ b/.vim/after/ftplugin/markdown.lua
@@ -11,6 +11,10 @@ vim.keymap.set('n',
   function() require('misc').open_under_cursor('url-launcher') end
 )
 
+vim.keymap.set('n',
+  '<leader>l',
+  function() require('misc').link_preview() end
+)
 
 -- vim.keymap.set('n', '<leader>zn', function() require('zk').new() end)
 -- vim.keymap.set('n', '<leader>zi', function() require('zk').index() end)