From 0198f0d14e63dc4684743defa7d16a1f7505fe27 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Tue, 28 Nov 2023 12:55:04 +0100 Subject: [PATCH] updated settings --- lua/weeheavy/prefs.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lua/weeheavy/prefs.lua b/lua/weeheavy/prefs.lua index 74c9eb7..32ec12c 100644 --- a/lua/weeheavy/prefs.lua +++ b/lua/weeheavy/prefs.lua @@ -1,5 +1,3 @@ --- Preferences - -- Set highlight on search vim.opt.hlsearch = true @@ -9,26 +7,24 @@ vim.opt.incsearch = true -- Make line numbers default vim.opt.number = true vim.opt.relativenumber = true -vim.opt.signcolumn = 'number' + +-- Separate sign colum (extra column for Git/LSP) +vim.wo.signcolumn = 'yes' vim.opt.tabstop = 4 vim.opt.softtabstop = 4 vim.opt.shiftwidth = 4 vim.opt.expandtab = true -- indent using spaces instead of --- Dynamic line numbers ---vim.wo.relativenumber = true - -- highlight columns vim.opt.colorcolumn = '80,120' -- Sync clipboard between OS and Neovim. --- Remove this option if you want your OS clipboard to remain independent. --- See `:help 'clipboard'` +-- Remove this option if you want your OS clipboard to remain independent. --vim.opt.clipboard = 'unnamedplus' -- Always keep this amount of lines above and below the cursor -vim.opt.scrolloff = 5 +vim.opt.scrolloff = 5 -- Always show tab bar -- NOTE: I try to get away from this by using buffer management with Telescope @@ -37,9 +33,6 @@ vim.opt.scrolloff = 5 -- Highlight current line --vim.opt.cursorline = true --- Separate sign colum (shows Git line status) -vim.wo.signcolumn = 'yes' - -- Blink cursor in normal mode --vim.opt.guicursor = 'n:blinkon300-blinkwait200-blinkoff300' @@ -50,3 +43,10 @@ vim.opt.termguicolors = true vim.opt.background = 'dark' -- light, dark -- Themes: duskfox, tokyonight-night, tokyonight-storm, tokyonight-day, tokyonight-moon vim.cmd.colorscheme 'tokyonight-storm' + +-- Decrease update time +vim.opt.updatetime = 250 +vim.opt.timeoutlen = 300 + +-- Set completeopt to have a better completion experience +vim.opt.completeopt = 'menuone,noselect'