From 54edde8e1e290166a2d674d537c1eeb3583652a1 Mon Sep 17 00:00:00 2001 From: sai nivas mangu <74004229+sainivasmangu@users.noreply.github.com> Date: Mon, 28 Jun 2021 18:34:44 +0530 Subject: galaxyline themes for gruvbox and nvcode, restoring cursor shape (#543) * Restoring cursor shape for users with non-block cursors. * Galaxyline themes for Gruvbox and NVCode colorschemes. --- lv-config.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lv-config.lua') diff --git a/lv-config.lua b/lv-config.lua index 48d71d3b..af9c7e47 100644 --- a/lv-config.lua +++ b/lv-config.lua @@ -78,3 +78,16 @@ O.lang.go.autoformat = true -- Turn off cursorline -- O.cursorline = false + +-- Neovim turns the default cursor to 'Block' +-- when switched back into terminal. +-- This below line fixes that. Uncomment if needed. + +-- vim.cmd('autocmd VimLeave,VimSuspend * set guicursor=a:ver90') -- Beam +-- vim.cmd('autocmd VimLeave,VimSuspend * set guicursor=a:hor20') -- Underline + +-- NOTE: Above code doesn't take a value from the terminal's cursor and +-- replace it. It hardcodes the cursor shape. +-- And I think `ver` means vertical and `hor` means horizontal. +-- The numbers didn't make a difference in alacritty. Please change +-- the number to something that suits your needs if it looks weird. -- cgit v1.2.3