diff --git a/.bashrc b/.bashrc index a869206..e55a45a 100644 --- a/.bashrc +++ b/.bashrc @@ -652,3 +652,15 @@ export LESS_TERMCAP_ue=$'\e[0m' export LESS_TERMCAP_us=$'\e[1;4;31m' + +alias claude="/home/nicholai/.claude/local/claude" +. "$HOME/.cargo/env" + +alias scripts="cd /mnt/work/L-Nextcloud/04_Library/_Tools/Nuke/ && nvim" + +alias comfy="cd ~/ComfyUI && source .venv/bin/activate && python main.py" + +alias sammie="cd ~/Software/Sammie-Roto-2/ && source venv/bin/activate && ./run_sammie.command" +export NSXIV_THUMBSIZE=512 + +export PATH=$PATH:/home/nicholai/.spicetify diff --git a/init.lua b/init.lua index 997706c..4e028a9 100644 --- a/init.lua +++ b/init.lua @@ -1,22 +1,24 @@ --- Load core settings +-- always load core stuff require("core.options") - --- Bootstrap lazy.nvim -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", - lazypath, - }) -end -vim.opt.rtp:prepend(lazypath) - --- Load plugins -require("lazy").setup("plugins") - --- Load core keymaps require("core.keymaps") + +-- only load plugins when not in VSCode / Cursor +if not vim.g.vscode then + -- Bootstrap lazy.nvim + local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" + if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + }) + end + vim.opt.rtp:prepend(lazypath) + + -- Load plugins + require("lazy").setup("plugins") +end + diff --git a/setup.sh b/setup.sh index 48f973a..b428968 100755 --- a/setup.sh +++ b/setup.sh @@ -2,3 +2,4 @@ # setup.sh ln -sf ~/.config/nvim/.tmux.conf ~/.tmux.conf ln -sf ~/.config/nvim/starship.toml ~/.config/starship.toml +ln -sf ~/.config/nvim/.bashrc ~/.bashrc