From 7f083f26d18d818391978533ebbdd242c8c6feda Mon Sep 17 00:00:00 2001 From: rootiest Date: Fri, 23 Aug 2024 09:53:54 -0400 Subject: [PATCH] style: modify cursor blinking settings for better visibility --- lua/config/options.lua | 48 ++++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 18 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index c4253d7..eac241a 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -1,33 +1,45 @@ -- ╭─────────────────────────────────────────────────────────╮ -- │ Options │ -- ╰─────────────────────────────────────────────────────────╯ - +-- stylua: ignore start -- Leader Key -vim.g.mapleader = " " +vim.g.mapleader = " " --- @type string Options: +vim.g.maplocalleader = " " --- @type string Options: -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ LSP ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -- We don't need perl -vim.g.loaded_perl_provider = 0 +vim.g.loaded_perl_provider = 0 --- @type integer Options: <0|1> +vim.g.loaded_ruby_provider = 0 --- @type integer Options: <0|1> -- Prefer basedpyright -vim.g.lazyvim_python_lsp = "basedpyright" - --- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Git-Blame ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ --- vim.g.gitblame_display_virtual_text = 0 -- Disable virtual text --- vim.g.gitblame_date_format = "%r" --- vim.g.gitblame_message_when_not_committed = "Not yet committed!" --- vim.g.gitblame_message_template = " <>" +vim.g.lazyvim_python_lsp = "basedpyright" --- @type string Options: [python lsp] -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ OS ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +-- Check if we are on windows vim.g.is_windows = vim.fn.has("win32") == 1 or vim.fn.has("win64") == 1 -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ROOTIEST ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ --- stylua: ignore start -vim.g.aitool = "codeium" --Options: codeium, copilot, tabnine, minuet, none -vim.g.usewakatime = true --Options: true, false -vim.g.usehardtime = false --Options: true, false -vim.g.useimage = true --Options: true, false --- stylua: ignore end +-- ╭───────────────────────────╮ Options: +-- │ │  codeium +-- │ AI Tools: │  copilot +-- │ Choose an AI provider │  tabnine +-- │ from the list  │  minuet +-- │ │  ollama +-- ╰───────────────────────────╯  none + vim.g.aitool = "codeium" --- @type string Options: [ai tool] + +vim.g.usewakatime = true --- @type boolean Options: +vim.g.usehardtime = false --- @type boolean Options: +vim.g.useimage = true --- @type boolean Options: -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ USER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -vim.o.background = "dark" -vim.g.DashboardHeaderColor = "#A6E3A1" +vim.o.background = "dark" --- @type string Options: +vim.g.DashboardHeaderColor = "#88fc9a" --- @type string Options: [hex color] + +-- BLINKY CURSOR +vim.opt.guicursor = { + "n-v-c:block-Cursor/lCursor", -- Block cursor in normal, visual, and command modes + "i:ver25-blinkwait700-blinkoff400-blinkon250-Cursor/lCursor", -- Blinking vertical line in insert mode + "r-cr-o:hor20-Cursor/lCursor", -- Horizontal line cursor in replace, command-line replace, and operator-pending modes + "a:blinkwait700-blinkoff400-blinkon250", -- Global blinking settings for all modes +} +-- stylua: ignore end