feat: Added neovim startup scripts 5b9a5ef2
Steve Simkins · 2025-07-27 15:49 2 file(s) · +24 −2
nushell/config.nu +12 −0
910 910
  }
911 911
}
912 912
913 +
def ns [] {
914 +
    rm -f ~/.nvim-startup.txt
915 +
    nvim --headless --startuptime ~/.nvim-startup.txt +qa
916 +
    grep "NVIM STARTED" ~/.nvim-startup.txt
917 +
}
918 +
919 +
def nh [] {
920 +
    rm -f ~/.nvim-startup.txt
921 +
    nvim --headless --startuptime ~/.nvim-startup.txt +qa
922 +
    bat ~/.nvim-startup.txt
923 +
}
924 +
913 925
# Custom git init with .gitignore template
914 926
def ginit [
915 927
  --template (-t): string = "node,macos,linux,windows"  # The template to use for .gitignore, comma separated values
zsh/.zshrc +12 −2
20 20
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
21 21
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
22 22
23 +
ns() {
24 +
    rm -f ~/.nvim-startup.txt
25 +
    nvim --headless --startuptime ~/.nvim-startup.txt +qa
26 +
    grep "NVIM STARTED" ~/.nvim-startup.txt
27 +
}
28 +
29 +
nh() {
30 +
    rm -f ~/.nvim-startup.txt
31 +
    nvim --headless --startuptime ~/.nvim-startup.txt +qa
32 +
    bat ~/.nvim-startup.txt
33 +
}
34 +
23 35
alias ls="eza --icons=always"
24 36
alias ll="ls -l"
25 37
alias la="ls -a"
65 77
66 78
# JavaScript/Node.js tools
67 79
export PATH="$PATH:$HOME/.bun/bin"
68 -
# export PATH="$PATH:$HOME/.deno/bin"
69 80
70 81
# Docker
71 82
export PATH="$PATH:/Applications/Docker.app/Contents/Resources/bin"
99 110
# bun
100 111
export BUN_INSTALL="$HOME/.bun"
101 112
export PATH="$BUN_INSTALL/bin:$PATH"
102 -
. "/Users/steve-simkins/.deno/env"