Browse Source

Updates

master
Julio Biason 3 months ago
parent
commit
f2ecf46efa
  1. 53
      alacritty/alacritty.toml
  2. 2
      emacs.d/init.el
  3. 6
      nvim/after/plugin/lsp.lua
  4. 2
      nvim/lua/packager.lua
  5. 1
      zellij/config.kdl

53
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

2
emacs.d/init.el

@ -209,7 +209,7 @@
'(custom-safe-themes '(custom-safe-themes
'("835868dcd17131ba8b9619d14c67c127aa18b90a82438c8613586331129dda63" default)) '("835868dcd17131ba8b9619d14c67c127aa18b90a82438c8613586331129dda63" default))
'(package-selected-packages '(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
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

6
nvim/after/plugin/lsp.lua

@ -19,7 +19,8 @@ vim.api.nvim_create_autocmd('LspAttach', {
end, opts) end, opts)
vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts) vim.keymap.set('n', '<space>D', vim.lsp.buf.type_definition, opts)
vim.keymap.set('n', 'gr', vim.lsp.buf.rename, 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', 'gR', vim.lsp.buf.references, opts)
vim.keymap.set('n', '<space>f', function() vim.keymap.set('n', '<space>f', function()
vim.lsp.buf.format { async = true } 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', 'ge', vim.diagnostic.open_float)
vim.keymap.set('n', 'gp', vim.diagnostic.goto_prev) vim.keymap.set('n', 'gp', vim.diagnostic.goto_prev)
vim.keymap.set('n', 'gn', vim.diagnostic.goto_next) vim.keymap.set('n', 'gn', vim.diagnostic.goto_next)
-- enable inlay hints
-- vim.lsp.inlay_hint.enable()
end, end,
}) })

2
nvim/lua/packager.lua

@ -4,7 +4,7 @@ return require("packer").startup(function(use)
-- telescope opens a window over code for file dialogs -- telescope opens a window over code for file dialogs
use({"nvim-telescope/telescope.nvim", use({"nvim-telescope/telescope.nvim",
tag = '0.1.1', tag = '0.1.4',
requires = { { "nvim-lua/plenary.nvim" } }, requires = { { "nvim-lua/plenary.nvim" } },
}) })

1
zellij/config.kdl

@ -57,6 +57,7 @@ keybinds clear-defaults=true {
bind "7" { GoToTab 7; SwitchToMode "normal"; } bind "7" { GoToTab 7; SwitchToMode "normal"; }
bind "8" { GoToTab 8; SwitchToMode "normal"; } bind "8" { GoToTab 8; SwitchToMode "normal"; }
bind "9" { GoToTab 9; SwitchToMode "normal"; } bind "9" { GoToTab 9; SwitchToMode "normal"; }
bind "x" { CloseFocus; }
} }
} }

Loading…
Cancel
Save