]> git.frustrated-labs.net Git - dotfiles.git/commitdiff
ghostty: add ghostty configuration
authorAlexander Goussas <[email protected]>
Fri, 18 Apr 2025 00:48:27 +0000 (19:48 -0500)
committerAlexander Goussas <[email protected]>
Fri, 18 Apr 2025 00:48:27 +0000 (19:48 -0500)
Makefile.common
ghostty/.config/ghostty/config [new file with mode: 0644]
nvim/.config/nvim/init.lua
nvim/.config/nvim/lazy-lock.json

index 4600dcfa63371c44a79629565961e0a26380b5ea..0c7a4bc49a9e99112d05bd682c685eca84eaee22 100644 (file)
@@ -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 (file)
index 0000000..a48221e
--- /dev/null
@@ -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
index 31aeafd60582b4ac36da0130373575c389ce7c79..8283b06b9229e28ec9c2cb1bebbf731bc44c4202 100644 (file)
@@ -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", "<leader>x", "<Cmd>NvimTreeToggle<CR>", {})
+
+        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
-    }
+    },
   },
 })
index 1cefca6165d4a6ba71f77cb4b3a8aee9c7db31b3..d2ddd990cfe5adffa2ac2eda1313a71effaefc99 100644 (file)
@@ -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" },
   "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" },