Startify bookmarks and commands

This commit is contained in:
Amanda Graven 2024-04-03 15:26:26 +02:00
parent ad2f89731f
commit b00ae13ed4
Signed by: amanda
GPG key ID: F747582C5608F4CB

View file

@ -14,7 +14,8 @@ local workman = false
-- Set font -- Set font
o.guifont = 'IosevkaTermSlab Nerd Font,IosevkaTerm Nerd Font,Iosevka Term Slab,Iosevka:h10:#e-subpixelantialias' o.guifont = 'IosevkaTermSlab Nerd Font,IosevkaTerm Nerd Font,Iosevka Term Slab,Iosevka:h10:#e-subpixelantialias'
g.neovide_floating_z_height = 1 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 if fn.hostname() == 'tappy' then
g.neovide_refresh_rate = 144 g.neovide_refresh_rate = 144
end end
@ -22,7 +23,6 @@ end
opt.guicursor:append('a:blinkon1500-blinkoff1500-blinkwait1200') -- Blink cursor once every 1.5 seconds opt.guicursor:append('a:blinkon1500-blinkoff1500-blinkwait1200') -- Blink cursor once every 1.5 seconds
o.mouse = 'a' -- Enable mouse input o.mouse = 'a' -- Enable mouse input
o.termguicolors = true -- Enable 24bit terminal colors o.termguicolors = true -- Enable 24bit terminal colors
g.neovide_confirm_quit = 1 -- Confirm closing neovide window when changes are unsaved
-- Other interface settings -- Other interface settings
o.clipboard = 'unnamedplus' -- Use system clipboard by default o.clipboard = 'unnamedplus' -- Use system clipboard by default
@ -1031,6 +1031,13 @@ require('lazy').setup({
{ type = 'bookmarks', header = {' Bookmarks'} }, { type = 'bookmarks', header = {' Bookmarks'} },
{ type = 'commands', header = {' Commands'} }, { 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}, end},
{'nvim-telescope/telescope.nvim', dependencies = { {'nvim-telescope/telescope.nvim', dependencies = {
'nvim-telescope/telescope-fzf-native.nvim', 'nvim-telescope/telescope-fzf-native.nvim',