Skip to content

Commit 38d776a

Browse files
authored
fix: don't create select mode keymap (#34)
1 parent 0693bfa commit 38d776a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/gx/init.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ local function bind_keys()
3737
vim.g.netrw_nogx = 1 -- disable netrw gx
3838

3939
local opts = { noremap = true, silent = true }
40-
keymap("n", "gx", search_for_url, opts)
41-
keymap("v", "gx", search_for_url, opts)
40+
keymap({ "n", "x" }, "gx", search_for_url, opts)
4241
end
4342

4443
-- get the app for opening the webbrowser

0 commit comments

Comments
 (0)