Updates after installing on mac (font resizing, title, lazydocker)
This commit is contained in:
@@ -6,3 +6,7 @@ local Util = require("lazyvim.util")
|
||||
vim.keymap.set("n", "<leader>H", function()
|
||||
Util.terminal({ "clx" })
|
||||
end, { desc = "Toggle clx (console HackerNews) floating terminal" })
|
||||
|
||||
vim.keymap.set("n", "<leader>D", function()
|
||||
Util.terminal({ "lazydocker" }, { esc_esc = false, ctrl_hjkl = false })
|
||||
end, { desc = "Toggle lazydocker (console Docker Desktop) floating terminal" })
|
||||
|
||||
@@ -2,5 +2,11 @@
|
||||
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||
-- Add any additional options here
|
||||
|
||||
vim.opt.guifont = "Berkeley Mono Variable:h13"
|
||||
|
||||
-- idk if it does anything cause I have to set it in the nvim-cmp settings too
|
||||
vim.opt.completeopt = "menu,menuone,noinsert,noselect"
|
||||
|
||||
-- Window decorations
|
||||
vim.opt.title = true
|
||||
vim.opt.titlestring = "%{substitute(getcwd(),$HOME,'~','')} - Neovide"
|
||||
|
||||
18
lua/plugins/gui-font-resize.lua
Normal file
18
lua/plugins/gui-font-resize.lua
Normal file
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
"ktunprasert/gui-font-resize.nvim",
|
||||
config = function()
|
||||
require("gui-font-resize").setup({
|
||||
default_size = 13.0,
|
||||
change_by = 1,
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{ "<D-Up>", "<Cmd>GUIFontSizeUp<CR>", desc = "Increase font size" },
|
||||
{ "<D-Down>", "<Cmd>GUIFontSizeDown<CR>", desc = "Decrease font size" },
|
||||
{
|
||||
"<D-0>",
|
||||
"<Cmd>set guifont=Berkeley\\ Mono\\ Variable:h13 | GUIFontSizeSet<CR>",
|
||||
desc = "Set font family and size to default",
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user