From 50f6b4d95e7dbdd040df0b8cb966d384b09680ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sun, 12 Jun 2022 20:58:31 +0100 Subject: [PATCH] fix base.lua --- config/programs/vim/base.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/programs/vim/base.lua b/config/programs/vim/base.lua index d2b24848..54e14ca2 100644 --- a/config/programs/vim/base.lua +++ b/config/programs/vim/base.lua @@ -3,7 +3,7 @@ local wo = vim.wo local bo = vim.bo local map = vim.api.nvim_set_keymap -o.number = "ar" +o.mouse = "ar" o.clipboard = "unnamedplus" -- The correct default clipboard o.cmdheight = 2 -- more space for displaying messages -- Having longer updatetime (default is 4000ms = 4s) leads to noticeable delays and poor user experience @@ -11,7 +11,8 @@ o.updatetime = 300 -- don’t pass messages to |ins-completion-menu| o.shortmess = o.shortmess .. "c" -wo.number = "relativenumber" +wo.number = true +wo.relativenumber = true wo.signcolumn = "number" bo.tabstop = 2