added support for vscode/cursor

This commit is contained in:
Nicholai 2025-11-24 20:17:10 -07:00
parent d8d760e377
commit 82915e7b5a
3 changed files with 35 additions and 20 deletions

12
.bashrc
View File

@ -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

View File

@ -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

View File

@ -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