added support for vscode/cursor
This commit is contained in:
parent
d8d760e377
commit
82915e7b5a
12
.bashrc
12
.bashrc
@ -652,3 +652,15 @@ export LESS_TERMCAP_ue=$'\e[0m'
|
|||||||
export LESS_TERMCAP_us=$'\e[1;4;31m'
|
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
|
||||||
|
|||||||
22
init.lua
22
init.lua
@ -1,9 +1,12 @@
|
|||||||
-- Load core settings
|
-- always load core stuff
|
||||||
require("core.options")
|
require("core.options")
|
||||||
|
require("core.keymaps")
|
||||||
|
|
||||||
-- Bootstrap lazy.nvim
|
-- only load plugins when not in VSCode / Cursor
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
if not vim.g.vscode then
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
-- Bootstrap lazy.nvim
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
@ -12,11 +15,10 @@ if not vim.loop.fs_stat(lazypath) then
|
|||||||
"--branch=stable",
|
"--branch=stable",
|
||||||
lazypath,
|
lazypath,
|
||||||
})
|
})
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
-- Load plugins
|
||||||
|
require("lazy").setup("plugins")
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
|
||||||
|
|
||||||
-- Load plugins
|
|
||||||
require("lazy").setup("plugins")
|
|
||||||
|
|
||||||
-- Load core keymaps
|
|
||||||
require("core.keymaps")
|
|
||||||
|
|||||||
1
setup.sh
1
setup.sh
@ -2,3 +2,4 @@
|
|||||||
# setup.sh
|
# setup.sh
|
||||||
ln -sf ~/.config/nvim/.tmux.conf ~/.tmux.conf
|
ln -sf ~/.config/nvim/.tmux.conf ~/.tmux.conf
|
||||||
ln -sf ~/.config/nvim/starship.toml ~/.config/starship.toml
|
ln -sf ~/.config/nvim/starship.toml ~/.config/starship.toml
|
||||||
|
ln -sf ~/.config/nvim/.bashrc ~/.bashrc
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user