Huge configs updates
This commit is contained in:
34
dot_bashrc
34
dot_bashrc
@ -1,22 +1,36 @@
|
|||||||
export EDITOR=nvim
|
# imports
|
||||||
|
if [ -f "$HOME/.bash_private" ]; then
|
||||||
|
. "$HOME/.bash_private"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# saving aliases aliases
|
||||||
alias aliasd='alias |diff -u ~/.bashrc -'
|
alias aliasd='alias |diff -u ~/.bashrc -'
|
||||||
alias aliasr='unalias -a; . ~/.bashrc'
|
alias aliasr='unalias -a; . ~/.bashrc'
|
||||||
alias aliass='alias > ~/.bashrc'
|
alias aliass='alias > ~/.bashrc'
|
||||||
alias author-to-beesquit='git-replace-author.sh Beesquit sealreb@gmail.com'
|
|
||||||
alias beesquit-local-git-config='local-beesquit.sh'
|
# ls aliases
|
||||||
alias cdp='cd /home/eugenebee/Programming'
|
alias ll='ls -lah'
|
||||||
alias cds='cd /home/eugenebee/services'
|
alias l='ls'
|
||||||
|
alias ks='ls'
|
||||||
|
alias s='ls'
|
||||||
|
|
||||||
|
# edit configs aliases
|
||||||
alias cfghypr='nvim ~/.config/hypr'
|
alias cfghypr='nvim ~/.config/hypr'
|
||||||
alias cfgkitty='nvim ~/.config/kitty'
|
alias cfgkitty='nvim ~/.config/kitty'
|
||||||
alias cfgnvim='nvim ~/.config/nvim'
|
alias cfgnvim='nvim ~/.config/nvim'
|
||||||
alias cfgrofi='nvim ~/.config/rofi'
|
alias cfgrofi='nvim ~/.config/rofi'
|
||||||
alias cfgwaybar='nvim ~/.config/waybar'
|
alias cfgwaybar='nvim ~/.config/waybar'
|
||||||
|
|
||||||
|
# utils aliases
|
||||||
alias edit-in-kitty='kitten edit-in-kitty'
|
alias edit-in-kitty='kitten edit-in-kitty'
|
||||||
alias ff='fastfetch'
|
|
||||||
alias ks='ls'
|
|
||||||
alias l='ls'
|
|
||||||
alias ll='ls -lah'
|
|
||||||
alias mm='unimatrix -f -a -s 92 -l coo -c yellow'
|
|
||||||
alias py='python'
|
alias py='python'
|
||||||
alias pyv='python --version'
|
alias pyv='python --version'
|
||||||
|
|
||||||
|
# fun aliases
|
||||||
|
alias ff='fastfetch'
|
||||||
|
alias mm='unimatrix -f -a -s 92 -l coo -c yellow'
|
||||||
|
alias mmbee='unimatrix -f -a -s 86 -u '\''bee'\'' -c yellow'
|
||||||
|
alias mmbeesquit='unimatrix -f -s 86 -u '\''beesquit'\'' -c yellow'
|
||||||
|
|
||||||
|
# rm aliases
|
||||||
|
alias cleartmp='rm -r ~/tmp/*'
|
||||||
|
|||||||
@ -12,4 +12,5 @@ exec-once = uwsm app -- wl-paste --type text --watch cliphist store #Stores only
|
|||||||
exec-once = uwsm app -- wl-paste --type image --watch cliphist store #Stores only image data
|
exec-once = uwsm app -- wl-paste --type image --watch cliphist store #Stores only image data
|
||||||
exec-once = uwsm app -- dunst
|
exec-once = uwsm app -- dunst
|
||||||
exec-once = uwsm app -- systemd-inhibit --who="Hyprland config" --why="wlogout keybind" --what=handle-power-key --mode=block sleep infinity
|
exec-once = uwsm app -- systemd-inhibit --who="Hyprland config" --why="wlogout keybind" --what=handle-power-key --mode=block sleep infinity
|
||||||
|
exec-once = hyprpaper
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ bind = $mainMod, T, togglesplit, # dwindle
|
|||||||
bind = $mainMod, F, fullscreen, 1
|
bind = $mainMod, F, fullscreen, 1
|
||||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||||
bind = $mainMod, V, exec, rofi -modi clipboard:/$HOME/.config/rofi/cliphist-rofi-img.sh -show clipboard -show-icon -config $HOME/.config/rofi/clipboard-config.rasi
|
bind = $mainMod, V, exec, rofi -modi clipboard:/$HOME/.config/rofi/cliphist-rofi-img.sh -show clipboard -show-icon -config $HOME/.config/rofi/clipboard-config.rasi
|
||||||
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | wl-copy
|
bind = $mainMod SHIFT, S, exec, IMG=~/Pictures/Screenshots/$(date +%Y-%m-%d_%H-%m-%s).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG
|
||||||
bind = , PRINT, exec, grim - | wl-copy
|
bind = , PRINT, exec, grim - | wl-copy
|
||||||
bind = CONTROL, ESCAPE, exec, kitty btop
|
bind = CONTROL, ESCAPE, exec, kitty btop
|
||||||
# bind = ALT_L, SHIFT_L, exec, hyprctl switchxkblayout current next
|
# bind = ALT_L, SHIFT_L, exec, hyprctl switchxkblayout current next
|
||||||
|
|||||||
@ -9,6 +9,8 @@ bold_italic_font auto
|
|||||||
font_size 14
|
font_size 14
|
||||||
background_opacity 0.4
|
background_opacity 0.4
|
||||||
|
|
||||||
|
disable_ligatures always
|
||||||
|
|
||||||
# window settings
|
# window settings
|
||||||
initial_window_width 95c
|
initial_window_width 95c
|
||||||
initial_window_height 35c
|
initial_window_height 35c
|
||||||
@ -85,10 +87,9 @@ inactive_tab_font_style bold
|
|||||||
# Title bar
|
# Title bar
|
||||||
# macos_titlebar_color #16161e
|
# macos_titlebar_color #16161e
|
||||||
|
|
||||||
# {{{ Keybindings
|
# Keybindings
|
||||||
map kitty_mod+t new_tab_with_cwd
|
map kitty_mod+t new_tab_with_cwd
|
||||||
# map ctrl+shift+z paste [\x1bctrlback]
|
map ctrl+v paste_from_clipboard
|
||||||
# }}
|
|
||||||
|
|
||||||
# BEGIN_KITTY_THEME
|
# BEGIN_KITTY_THEME
|
||||||
# Catppuccin-Mocha
|
# Catppuccin-Mocha
|
||||||
|
|||||||
@ -1,29 +1,30 @@
|
|||||||
{
|
{
|
||||||
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||||
"catppuccin": { "branch": "main", "commit": "c89184526212e04feffbddda9d06b041a8fca416" },
|
"catppuccin": { "branch": "main", "commit": "8c4125e3c746976ba025dc5d908fa22c6aa09486" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
|
||||||
"conform.nvim": { "branch": "master", "commit": "9d6f881a4047a51c7709223dcf24e967633c6523" },
|
"conform.nvim": { "branch": "master", "commit": "9fd3d5e0b689ec1bf400c53cbbec72c6fdf24081" },
|
||||||
"harpoon": { "branch": "master", "commit": "1bc17e3e42ea3c46b33c0bbad6a880792692a1b3" },
|
"harpoon": { "branch": "harpoon2", "commit": "ed1f853847ffd04b2b61c314865665e1dadf22c7" },
|
||||||
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
"indent-blankline.nvim": { "branch": "master", "commit": "005b56001b2cb30bfa61b7986bc50657816ba4ba" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" },
|
"lazy.nvim": { "branch": "main", "commit": "f0f5bbb9e5bfae5e6468f9359ffea3d151418176" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
|
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
||||||
"mini.nvim": { "branch": "main", "commit": "126ce3328c78399dcff58272f6f540a373b62a75" },
|
"mini.nvim": { "branch": "main", "commit": "ee4a4a4abed25e3d108d985b0553c5271f2f71aa" },
|
||||||
"neo-tree.nvim": { "branch": "main", "commit": "9130e58424ad95bf2dd8b40afbb8cf04d648638c" },
|
"neo-tree.nvim": { "branch": "main", "commit": "fa61e064895d6eff509f5fcb7b2b77b195c4291f" },
|
||||||
|
"no-neck-pain.nvim": { "branch": "main", "commit": "c3d96b648501554c9a87530b2ff86c721cddd5c1" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "23320e75953ac82e559c610bec5a90d9c6dfa743" },
|
"nvim-autopairs": { "branch": "master", "commit": "7a2c97cccd60abc559344042fefb1d5a85b3e33b" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
|
"nvim-cmp": { "branch": "main", "commit": "a7bcf1d88069fc67c9ace8a62ba480b8fe879025" },
|
||||||
"nvim-dap": { "branch": "master", "commit": "7367cec8e8f7a0b1e4566af9a7ef5959d11206a7" },
|
"nvim-dap": { "branch": "master", "commit": "6782b097af2417a4c3e33849b0a26ae2188bd7ea" },
|
||||||
"nvim-dap-python": { "branch": "master", "commit": "bfe572e4458e0ac876b9539a1e9f301c72db8ea0" },
|
"nvim-dap-python": { "branch": "master", "commit": "64652d1ae1db80870d9aac7132d76e37acd86a26" },
|
||||||
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
|
"nvim-dap-ui": { "branch": "master", "commit": "cf91d5e2d07c72903d052f5207511bf7ecdb7122" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "db8fef885009fdec0daeff3e5dda92e1f539611e" },
|
"nvim-lspconfig": { "branch": "master", "commit": "cbd1e91296189a765094810de1b71a04e2597579" },
|
||||||
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
"nvim-nio": { "branch": "master", "commit": "21f5324bfac14e22ba26553caf69ec76ae8a7662" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
|
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
"render-markdown.nvim": { "branch": "main", "commit": "06c7598471911742e8816617a2afb9b2f29a808d" },
|
"render-markdown.nvim": { "branch": "main", "commit": "10126effbafb74541b69219711dfb2c631e7ebf8" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||||
"vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" },
|
"vim-fugitive": { "branch": "master", "commit": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4" },
|
||||||
"vim-suda": { "branch": "master", "commit": "9adda7d195222d4e2854efb2a88005a120296c47" },
|
"vim-suda": { "branch": "master", "commit": "c492741b4679b3cdd4d9e34138209784e061d916" },
|
||||||
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" }
|
"yanky.nvim": { "branch": "main", "commit": "04775cc6e10ef038c397c407bc17f00a2f52b378" }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -18,18 +18,22 @@ return {
|
|||||||
-- Define your formatters
|
-- Define your formatters
|
||||||
formatters_by_ft = {
|
formatters_by_ft = {
|
||||||
lua = { "stylua" },
|
lua = { "stylua" },
|
||||||
python = { "ruff_organize_imports_only" },
|
|
||||||
javascript = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
sh = { "shfmt" },
|
sh = { "shfmt" },
|
||||||
|
python = { "ruff_organize_imports_only" },
|
||||||
|
go = { "goimports", "gofmt" },
|
||||||
|
html = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
css = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
javascript = { "prettierd", "prettier", stop_after_first = true },
|
||||||
|
typescript = { "prettierd", "prettier", stop_after_first = true },
|
||||||
json = { "prettierd", "prettier", stop_after_first = true },
|
json = { "prettierd", "prettier", stop_after_first = true },
|
||||||
jsonc = { "prettierd", "prettier", stop_after_first = true },
|
jsonc = { "prettierd", "prettier", stop_after_first = true },
|
||||||
css = { "prettierd", "prettier", stop_after_first = true },
|
markdown = { "prettierd", "prettier", stop_after_first = true },
|
||||||
html = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
-- go = { "goimports", "gofmt" },
|
|
||||||
-- typescript = { "prettierd", "prettier", stop_after_first = true },
|
|
||||||
},
|
},
|
||||||
-- Custom formatters
|
-- Custom formatters
|
||||||
formatters = {
|
formatters = {
|
||||||
|
prettierd = {
|
||||||
|
args = { "--tab-width", "2" },
|
||||||
|
},
|
||||||
ruff_organize_imports_only = {
|
ruff_organize_imports_only = {
|
||||||
command = "ruff",
|
command = "ruff",
|
||||||
args = {
|
args = {
|
||||||
|
|||||||
@ -1,19 +1,56 @@
|
|||||||
|
function number_switch(harpoon)
|
||||||
|
for i = 1, 9, 1 do
|
||||||
|
vim.keymap.set("n", "<leader>" .. i, function()
|
||||||
|
harpoon:list():select(i)
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"ThePrimeagen/harpoon",
|
"ThePrimeagen/harpoon",
|
||||||
branch = "harpoon2",
|
branch = "harpoon2",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
},
|
},
|
||||||
|
|
||||||
|
opts = {
|
||||||
|
settings = {
|
||||||
|
save_on_toggle = false,
|
||||||
|
save_on_change = true,
|
||||||
|
excluded_filetypes = { "harpoon" },
|
||||||
|
},
|
||||||
|
menu = {
|
||||||
|
width = vim.api.nvim_win_get_width(0) - 4,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
config = function()
|
config = function()
|
||||||
-- local harpoon = require("harpoon")
|
local harpoon = require("harpoon")
|
||||||
-- harpoon.setup({
|
harpoon:setup()
|
||||||
-- save_on_toggle = false,
|
|
||||||
-- save_on_change = true,
|
local harpoon_extensions = require("harpoon.extensions")
|
||||||
-- enter_on_sendcmd = false,
|
harpoon:extend(harpoon_extensions.builtins.highlight_current_file())
|
||||||
-- tmux_autoclose_windows = false,
|
|
||||||
-- excluded_filetypes = { "harpoon" },
|
vim.keymap.set("n", "<leader>h", function()
|
||||||
-- mark_branch = false,
|
harpoon.ui:toggle_quick_menu(harpoon:list())
|
||||||
-- })
|
end)
|
||||||
-- require("harpoon"):setup()
|
vim.keymap.set("n", "<leader>H", function()
|
||||||
|
harpoon:list():add()
|
||||||
|
end)
|
||||||
|
vim.keymap.set("n", "<leader>l", function()
|
||||||
|
harpoon:list():remove()
|
||||||
|
end)
|
||||||
|
vim.keymap.set("n", "<leader>L", function()
|
||||||
|
harpoon:list():clear()
|
||||||
|
end)
|
||||||
|
|
||||||
|
vim.keymap.set("n", "<M-h>", function()
|
||||||
|
harpoon:list():prev()
|
||||||
|
end)
|
||||||
|
vim.keymap.set("n", "<M-l>", function()
|
||||||
|
harpoon:list():next()
|
||||||
|
end)
|
||||||
|
|
||||||
|
number_switch(harpoon)
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,7 +29,7 @@ return {
|
|||||||
python = { pythonPath = python_path },
|
python = { pythonPath = python_path },
|
||||||
basedpyright = {
|
basedpyright = {
|
||||||
analysis = {
|
analysis = {
|
||||||
typeCheckingMode = "strict",
|
typeCheckingMode = "standard",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user