diff --git a/dots/.config/nvim/after/ftplugin/html.lua b/dots/.config/nvim/after/ftplugin/html.lua index 9e469a14..3f0df6ec 100644 --- a/dots/.config/nvim/after/ftplugin/html.lua +++ b/dots/.config/nvim/after/ftplugin/html.lua @@ -1,2 +1,7 @@ vim.opt_local.tabstop = 2 vim.opt_local.shiftwidth = 2 + +vim.keymap.set("n", "fr", ":!xdg-open %", { + buffer = true, + silent = true +})