This commit is contained in:
tronglt 2023-06-13 06:50:58 +07:00
parent dfb44480e0
commit 28d7b96c12
1 changed files with 4 additions and 1 deletions

View File

@ -157,7 +157,7 @@ require('lazy').setup({
return vim.fn.executable 'make' == 1
end,
},
-- Telescope installation for Windows only.
-- {
-- 'nvim-telescope/telescope-fzf-native.nvim',
@ -247,6 +247,9 @@ vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true })
vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true })
vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true })
-- Bring escape key back in Terminal mode
vim.keymap.set('t', '<Esc>', '<C-\\><C-n>')
-- [[ Highlight on yank ]]
-- See `:help vim.highlight.on_yank()`
local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })