aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/keymaps.lua
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2022-01-19 12:03:23 +0100
committerMatěj Cepl <mcepl@cepl.eu>2024-03-28 17:07:32 +0100
commit402162dbdacb8c9273bc80b6a3d733b9a9ab87b0 (patch)
treedbc27db6fd41df7a336846892a8d1caa2a801fdb /plugin/keymaps.lua
parent492a3598b589ca8435ff702e91d91ff1b8dad079 (diff)
downloadvim-suse-changes-402162dbdacb8c9273bc80b6a3d733b9a9ab87b0.tar.gz
fix(plugin): rewrite ftplugins in Lua
Diffstat (limited to 'plugin/keymaps.lua')
-rw-r--r--plugin/keymaps.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/keymaps.lua b/plugin/keymaps.lua
new file mode 100644
index 0000000..e3b687a
--- /dev/null
+++ b/plugin/keymaps.lua
@@ -0,0 +1,3 @@
+vim.opt.iskeyword:append({"/", "-", "#"})
+vim.opt.keywordprg="osurl"
+vim.api.nvim_set_keymap('n', 'gG', ':,!abbrevURL<CR>', {})