diff --git a/.config/nvim/lua/nvwynd/keymaps.lua b/.config/nvim/lua/nvwynd/keymaps.lua index cdbf32b..514ab79 100644 --- a/.config/nvim/lua/nvwynd/keymaps.lua +++ b/.config/nvim/lua/nvwynd/keymaps.lua @@ -5,8 +5,7 @@ local map = vim.keymap.set map("x", "p", '"_dP') -- prevents the deleted text from going into the registry, use `d` for that map({ "n", "v", "x" }, "x", '"_d') --- special delete keybind that will not move the deleted selection in a registry -map({ "n", "v" }, "d", '"_d') +map({ "n", "v", "x" }, "", '"_x') -- filthy casual save keybind map({ "n", "i" }, "", "w", { desc = "File Save" }) -- easy way to close the current buffer diff --git a/.config/nvim/lua/nvwynd/plugins/treesitter.lua b/.config/nvim/lua/nvwynd/plugins/treesitter.lua index adae1c2..ec2aac0 100644 --- a/.config/nvim/lua/nvwynd/plugins/treesitter.lua +++ b/.config/nvim/lua/nvwynd/plugins/treesitter.lua @@ -5,7 +5,17 @@ return { config = function() local configs = require("nvim-treesitter.configs") + vim.filetype.add({ + extension = { + fsh = "glsl", + vsh = "glsl", + + hbs = "html", + }, + }) + vim.treesitter.language.register("html", "handlebars") + vim.treesitter.language.register("glsl", { "vsh", "fsh" }) configs.setup({ ensure_installed = { @@ -41,6 +51,7 @@ return { "c", "java", "groovy", + "glsl", }, sync_install = false, highlight = { enable = true }, diff --git a/.local/bin/nvimstart.sh b/.local/bin/nvimstart.sh index 4193a38..b1d2b10 100644 --- a/.local/bin/nvimstart.sh +++ b/.local/bin/nvimstart.sh @@ -5,4 +5,5 @@ # This doesn't happen when opening from a terminal however. export PATH=$PATH:/home/wynd/.asdf/shims/ \ + && export PATH=$PATH:/home/wynd/.nimble/bin/ \ && env -u WAYLAND_DISPLAY alacritty -e nvim "$1" diff --git a/.zshrc b/.zshrc index c059e75..147ff12 100644 --- a/.zshrc +++ b/.zshrc @@ -122,6 +122,13 @@ fi # change cd for zoxide eval "$(zoxide init --cmd cd zsh)" +# bun completions +[ -s "/home/wynd/.bun/_bun" ] && source "/home/wynd/.bun/_bun" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH" + # clears the screen and displays the figlet clear figlet -f 'Red Phoenix' Wynd | lolcat