diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml new file mode 100644 index 0000000..6a2f11e --- /dev/null +++ b/alacritty/alacritty.toml @@ -0,0 +1,53 @@ +[colors.bright] +black = "0x565656" +blue = "0x49a4f8" +cyan = "0x99faf2" +green = "0xc0e17d" +magenta = "0xa47de9" +red = "0xec5357" +white = "0xffffff" +yellow = "0xf9da6a" + +[colors.normal] +black = "0x2e2e2e" +blue = "0x47a0f3" +cyan = "0x64dbed" +green = "0xabe047" +magenta = "0x7b5cb0" +red = "0xeb4129" +white = "0xe5e9f0" +yellow = "0xf6c744" + +[colors.primary] +background = "0x0c0f19" +foreground = "0xfffbf6" + +[env] +TERM = "xterm-256color" + +[font] +size = 14.5 + +[font.normal] +family = "Cascadia Code PL" +style = "SemiLight" + +[font.bold] +family = "Cascadia Code PL" +style = "SemiLight Bold" + +[font.italic] +family = "Cascadia Code PL" +style = "SemiLight Italic" + +[font.bold_italic] +family = "Cascadia Code PL" +style = "SemiLight Bold Italic" + +[window] +decorations = "none" +startup_mode = "Maximized" + +[window.padding] +x = 3 +y = 6 diff --git a/emacs.d/init.el b/emacs.d/init.el index 15435db..47348fa 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -209,7 +209,7 @@ '(custom-safe-themes '("835868dcd17131ba8b9619d14c67c127aa18b90a82438c8613586331129dda63" default)) '(package-selected-packages - '(helm-projectile projectile editorconfig diff-hl hlinum use-package rust-mode doom-themes auto-package-update))) + '(eww-lnum helm-projectile projectile editorconfig diff-hl hlinum use-package rust-mode doom-themes auto-package-update))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/nvim/after/plugin/lsp.lua b/nvim/after/plugin/lsp.lua index 1b2dfc6..181c36b 100644 --- a/nvim/after/plugin/lsp.lua +++ b/nvim/after/plugin/lsp.lua @@ -19,7 +19,8 @@ vim.api.nvim_create_autocmd('LspAttach', { end, opts) vim.keymap.set('n', 'D', vim.lsp.buf.type_definition, opts) vim.keymap.set('n', 'gr', vim.lsp.buf.rename, opts) - vim.keymap.set({ 'n', 'v' }, 'ga', vim.lsp.buf.code_action, opts) + vim.keymap.set('n', 'ga', vim.lsp.buf.code_action, opts) -- in normal mode + vim.keymap.set('v', 'ga', vim.lsp.buf.code_action, opts) -- in visual mode vim.keymap.set('n', 'gR', vim.lsp.buf.references, opts) vim.keymap.set('n', 'f', function() vim.lsp.buf.format { async = true } @@ -28,6 +29,9 @@ vim.api.nvim_create_autocmd('LspAttach', { vim.keymap.set('n', 'ge', vim.diagnostic.open_float) vim.keymap.set('n', 'gp', vim.diagnostic.goto_prev) vim.keymap.set('n', 'gn', vim.diagnostic.goto_next) + + -- enable inlay hints + -- vim.lsp.inlay_hint.enable() end, }) diff --git a/nvim/lua/packager.lua b/nvim/lua/packager.lua index 05f4dba..4989624 100644 --- a/nvim/lua/packager.lua +++ b/nvim/lua/packager.lua @@ -4,7 +4,7 @@ return require("packer").startup(function(use) -- telescope opens a window over code for file dialogs use({"nvim-telescope/telescope.nvim", - tag = '0.1.1', + tag = '0.1.4', requires = { { "nvim-lua/plenary.nvim" } }, }) diff --git a/zellij/config.kdl b/zellij/config.kdl index 428e4a7..ea4848a 100644 --- a/zellij/config.kdl +++ b/zellij/config.kdl @@ -57,6 +57,7 @@ keybinds clear-defaults=true { bind "7" { GoToTab 7; SwitchToMode "normal"; } bind "8" { GoToTab 8; SwitchToMode "normal"; } bind "9" { GoToTab 9; SwitchToMode "normal"; } + bind "x" { CloseFocus; } } }