From 867c7192639ef90246a85a6ed2ae5e481b33ed98 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Wed, 26 Jun 2024 18:28:04 +0300 Subject: Modified nvim config --- .config/nvim/lua/options.lua | 26 +++++--------------------- 1 file changed, 5 insertions(+), 21 deletions(-) (limited to '.config/nvim/lua/options.lua') diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua index 4093897..f1efff1 100644 --- a/.config/nvim/lua/options.lua +++ b/.config/nvim/lua/options.lua @@ -3,6 +3,8 @@ vim.g.maplocalleader = " " vim.g.have_nerd_font = true +vim.opt.showmode = false + vim.opt.number = true vim.opt.relativenumber = true @@ -32,31 +34,13 @@ vim.opt.splitbelow = true -- vim.opt.list = true -- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +vim.opt.list = true +vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } + vim.opt.cursorline = true vim.opt.scrolloff = 8 vim.opt.hlsearch = true -vim.keymap.set('n', '', 'nohlsearch') - -vim.keymap.set('n', '', '', { desc = 'Move focus to the left window' }) -vim.keymap.set('n', '', '', { desc = 'Move focus to the right window' }) -vim.keymap.set('n', '', '', { desc = 'Move focus to the lower window' }) -vim.keymap.set('n', '', '', { desc = 'Move focus to the upper window' }) - -vim.api.nvim_create_autocmd('TextYankPost', { - desc = 'Highlight when yanking (copying) text', - group = vim.api.nvim_create_augroup('kickstart-highlight-yank', { clear = true }), - callback = function() - vim.highlight.on_yank() - end, -}) - - - - - - - -- cgit v1.3.1