From a7129d6cc14ab115754b02a0311b0eb5360e6a6d Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 23 Nov 2024 14:26:01 -0500 Subject: [PATCH] feat: enable horizontal motion keys to wrap to next line --- lua/config/options.lua | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/lua/config/options.lua b/lua/config/options.lua index 29d7190..eb02864 100644 --- a/lua/config/options.lua +++ b/lua/config/options.lua @@ -17,6 +17,8 @@ vim.g.mapleader = " " ---@type string Options: -- Set the timeout length for key combinations vim.g.timeoutlen = 1000 ---@type integer Options: +-- Allow horizontal motion keys to wrap to next line at start/end of line +vim.opt.whichwrap:append("h,l,<,>,[,]") -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ LSP ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @@ -46,7 +48,7 @@ vim.g.usewakatime = true ---@type boolean Options: -- Allow discord presence -vim.g.usediscord = false ---@type boolean Options: +vim.g.usediscord = true ---@type boolean Options: -- Enable HardTime on startup vim.g.usehardtime = false ---@type boolean Options: -- Enable Image plugin on compatible terminals @@ -67,8 +69,6 @@ vim.g.dead_column = false ---@type boolean Options: -- Enable todo-comments features vim.g.usetodo = false ---@type boolean Options: --- Use experimental cmp performance fork -vim.g.cmp_performance_enabled = true ---@type boolean Options: -- Use dev mode for rootiest plugins vim.g.rootiest_dev = true ---@type boolean Options: @@ -107,8 +107,13 @@ vim.g.useavante = true ---@type boolean Options: ------ Use Blink instead of nvim-cmp ----- +-- Use Blink instead of nvim-cmp vim.g.useblinkcmp = true ---@type boolean Options: +-- Use experimental performance fork +vim.g.cmp_performance_enabled = false ---@type boolean Options: +-- When using cmp_performance_enabled with blink, blink will follow main branch +-- Requires a working rust toolchain +---@see vim.g.lazyvim_blink_main -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ STATUS COLUMN ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ @@ -134,11 +139,11 @@ vim.g.tabline = "none" ---@type string Options: [tablin -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ DASHBOARD ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -vim.g.dashboard = "alpha" ---@type string Options: [dashboard] +vim.g.dashboard = "snacks" ---@type string Options: [dashboard] -- ╭───────────────────────────╮  alpha -- │ │  nvim-dashboard --- │ Dashboards: │  none --- │ Choose a plugin from │ +-- │ Dashboards: │  snacks +-- │ Choose a plugin from │  none -- │ the list  │ -- │ │ -- ╰───────────────────────────╯