master #1

Open
oli wants to merge 912 commits from master into lua
Showing only changes of commit 739b2154eb - Show all commits

View File

@@ -28,7 +28,7 @@ vim.keymap.set('x', '>', '>gv')
local function hlWord()
local current_word = vim.call('expand','<cword>')
vim.fn.setreg('/', "\\<" .. current_word .. "\\>")
vim.api.nvim_command "set hlsearch"
vim.opt.hlsearch = true
end
-- Highlight word under cursor
vim.keymap.set('n', "'", hlWord, { noremap = true, silent = false })