From b00ae13ed4e2392d885bad80f2ff7407139cba98 Mon Sep 17 00:00:00 2001 From: Amanda Graven Date: Wed, 3 Apr 2024 15:26:26 +0200 Subject: [PATCH] Startify bookmarks and commands --- init.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 07bcd10..f03ed15 100644 --- a/init.lua +++ b/init.lua @@ -14,7 +14,8 @@ local workman = false -- Set font o.guifont = 'IosevkaTermSlab Nerd Font,IosevkaTerm Nerd Font,Iosevka Term Slab,Iosevka:h10:#e-subpixelantialias' g.neovide_floating_z_height = 1 -g.neovide_cursor_smooth_blink = 1 +g.neovide_confirm_quit = true -- Confirm closing neovide window when changes are unsaved +g.neovide_cursor_smooth_blink = true if fn.hostname() == 'tappy' then g.neovide_refresh_rate = 144 end @@ -22,7 +23,6 @@ end opt.guicursor:append('a:blinkon1500-blinkoff1500-blinkwait1200') -- Blink cursor once every 1.5 seconds o.mouse = 'a' -- Enable mouse input o.termguicolors = true -- Enable 24bit terminal colors -g.neovide_confirm_quit = 1 -- Confirm closing neovide window when changes are unsaved -- Other interface settings o.clipboard = 'unnamedplus' -- Use system clipboard by default @@ -1031,6 +1031,13 @@ require('lazy').setup({ { type = 'bookmarks', header = {' Bookmarks'} }, { type = 'commands', header = {' Commands'} }, } + g.startify_bookmarks = { + { c = '~/.config/nvim/init.lua' }, + } + g.startify_commands = { + { L = {'Lazy - plugin manager', 'Lazy'} }, + { M = {'Mason - tool manager', 'Mason'} }, + } end}, {'nvim-telescope/telescope.nvim', dependencies = { 'nvim-telescope/telescope-fzf-native.nvim',