Update .config/nvim/init.lua

This commit is contained in:
V 2022-12-04 19:25:47 +04:00
parent f37321f5d3
commit a6d13c72ae

View file

@ -11,5 +11,5 @@ set imsearch=-1
]]
local hop = require('hop')
local directions = require('hop.hint').HintDirection
vim.keymap.set('', 'f', function() hop.hint_words({ direction = directions.BEFORE_CURSOR }) end, {remap=true})
vim.keymap.set('', 'f', function() hop.hint_words() end, {remap=true})