From: Alexander Goussas Date: Fri, 18 Apr 2025 00:48:27 +0000 (-0500) Subject: ghostty: add ghostty configuration X-Git-Url: http://git.frustrated-labs.net/?a=commitdiff_plain;h=8aebf222481d11391ab7bb9d1e6a536b00aca271;p=dotfiles.git ghostty: add ghostty configuration --- diff --git a/Makefile.common b/Makefile.common index 4600dcf..0c7a4bc 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,2 +1,2 @@ -PKGS_COMMON := nvim zsh tmux kitty +PKGS_COMMON := nvim zsh tmux kitty ghostty diff --git a/ghostty/.config/ghostty/config b/ghostty/.config/ghostty/config new file mode 100644 index 0000000..a48221e --- /dev/null +++ b/ghostty/.config/ghostty/config @@ -0,0 +1,6 @@ +font-family = Hasklug Nerd Font Mono +font-size = 20 +cursor-style = block +maximize = true +window-padding-x = 5 +window-padding-y = 5 diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 31aeafd..8283b06 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -16,6 +16,10 @@ vim.o.expandtab = true -- Statusline vim.o.laststatus = 0 +-- Netrw +vim.g.loaded_netrw = 1 +vim.g.loaded_netrwPlugin = 1 + vim.cmd('colorscheme zaibatsu') local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" @@ -95,6 +99,9 @@ require("lazy").setup({ }, { 'nvim-treesitter/nvim-treesitter', + dependencies = { + 'nvim-tree/nvim-web-devicons' + }, config = function() require('nvim-treesitter.configs').setup({ ensure_installed = { 'go', 'haskell', 'lua', 'tsx', 'typescript' }, @@ -104,6 +111,24 @@ require("lazy").setup({ }) end }, + { + 'nvim-tree/nvim-tree.lua', + config = function() + vim.keymap.set("n", "x", "NvimTreeToggle", {}) + + require('nvim-tree').setup({ + view = { + width = 30, + side = "right", + }, + renderer = { + root_folder_label = false, + group_empty = true, + indent_width = 1, + } + }) + end + }, { 'lewis6991/gitsigns.nvim', config = function() @@ -232,6 +257,6 @@ require("lazy").setup({ }, }) end - } + }, }, }) diff --git a/nvim/.config/nvim/lazy-lock.json b/nvim/.config/nvim/lazy-lock.json index 1cefca6..d2ddd99 100644 --- a/nvim/.config/nvim/lazy-lock.json +++ b/nvim/.config/nvim/lazy-lock.json @@ -1,6 +1,7 @@ { "CopilotChat.nvim": { "branch": "main", "commit": "82708c152ca8b398646dfd1bc125abab576e47d2" }, "copilot.vim": { "branch": "release", "commit": "5015939f131627a6a332c9e3ecad9a7cb4c2e549" }, + "cord.nvim": { "branch": "master", "commit": "caf33cd8e933a07b30dd4828c7409b173d1af272" }, "ghcid": { "branch": "master", "commit": "b7dc5c4ee640b6c8137ecfd0a2b50df278015221" }, "gitsigns.nvim": { "branch": "main", "commit": "4c40357994f386e72be92a46f41fc1664c84c87d" }, "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, @@ -10,8 +11,10 @@ "nvim-grey": { "branch": "main", "commit": "197707ef88bc3fd62d743723d9213fcb1f9238ec" }, "nvim-lspconfig": { "branch": "master", "commit": "fd26f8626c03b424f7140d454031d1dcb8d23513" }, "nvim-notify": { "branch": "master", "commit": "22f29093eae7785773ee9d543f8750348b1a195c" }, + "nvim-tree.lua": { "branch": "master", "commit": "5bea2b37523a31288e0fcab42f3be5c1bd4516bb" }, "nvim-treesitter": { "branch": "master", "commit": "59573f96164ab3725a2358fe8ffe69e8291d9549" }, "nvim-ts-autotag": { "branch": "main", "commit": "a1d526af391f6aebb25a8795cbc05351ed3620b5" }, + "nvim-web-devicons": { "branch": "master", "commit": "c90dee4e930ab9f49fa6d77f289bff335b49e972" }, "plenary.nvim": { "branch": "master", "commit": "857c5ac632080dba10aae49dba902ce3abf91b35" }, "telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" }, "vim-clang-format": { "branch": "master", "commit": "6b791825ff478061ad1c57b21bb1ed5a5fd0eb29" },