Compare commits

...

3 Commits

Author SHA1 Message Date
63181f9e6a Update sshconfig to use new vpn setup 2025-03-07 14:50:35 -05:00
ef7fd3a78a Tmux pane renaming 2025-02-04 20:17:03 -05:00
57dbb0a250 Fix nvm just install 2025-01-06 16:17:33 -05:00
8 changed files with 159 additions and 7 deletions

100
.config/bacon/prefs.toml Normal file
View File

@@ -0,0 +1,100 @@
# This is a preferences file for the bacon tool
# More info at https://github.com/Canop/bacon
# Uncomment and change the value (true/false) to
# specify whether bacon should start in summary mode
#
# summary = true
# Uncomment and change the value (true/false) to
# specify whether bacon should start with lines wrapped
#
# wrap = false
# In "reverse" mode, the focus is at the bottom, item
# order is reversed, and the status bar is on top
#
# reverse = true
# The grace period is a delay after a file event before the real
# task is launched and during which other events will be ignored.
# This is useful if several events are often sent quasi-simultaneously
# (eg your editor backups before saving, then renames).
# You can set it to "none" if it's useless for you.
#
# grace_period = "5ms"
# Uncomment and change the value (true/false) to
# specify whether bacon should show a help line.
#
# help_line = false
# Uncomment and change the value (true/false) to
# set whether to display the count of changes since last job start
#
# show_changes_count = false
# Uncomment one of those lines if you don't want the default
# behavior triggered by a file change. This property can also
# be set directly in a specific job.
#
# on_change_strategy = "kill_then_restart"
# on_change_strategy = "wait_then_restart"
# Exporting "locations" (by setting its 'auto' to true) lets you use
# them in an external tool, for example as a list of jump locations
# in an IDE or in a language server.
# (See https://dystroy.org/bacon/config/#export-locations),
#
# Possible line_format parts:
# - kind: warning|error|test
# - path: complete absolute path to the file
# - line: 1-based line number
# - column: 1-based column
# - message: description of the item
# - context: unstyled lines of output, separated with escaped newlines (`\\n`)
[exports.locations]
auto = false
exporter = "locations"
path = ".bacon-locations"
line_format = "{kind} {path}:{line}:{column} {message}"
# Uncomment and change the key-bindings you want to define
# (some of those ones are the defaults and are just here for illustration)
[keybindings]
# esc = "back"
# g = "scroll-to-top"
# shift-g = "scroll-to-bottom"
# k = "scroll-lines(-1)"
# j = "scroll-lines(1)"
# ctrl-c = "quit"
# ctrl-q = "quit"
# q = "quit"
# F5 = "rerun"
# alt-s = "toggle-summary"
# alt-w = "toggle-wrap"
# alt-b = "toggle-backtrace"
# Home = "scroll-to-top"
# End = "scroll-to-bottom"
# Up = "scroll-lines(-1)"
# Down = "scroll-lines(1)"
# PageUp = "scroll-pages(-1)"
# PageDown = "scroll-pages(1)"
# Space = "scroll-pages(1)"
# a = "job:check-all"
# i = "job:initial"
# c = "job:clippy"
# c = "job:clippy-all"
# d = "job:doc-open"
# t = "job:test"
# r = "job:run"
# ctrl-e = "export:analysis"

View File

@@ -57,8 +57,8 @@ nvim: (cargo "bob-nvim ripgrep tree-sitter-cli")
node: node:
#!/usr/bin/env bash #!/usr/bin/env bash
PROFILE=/dev/null bash -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v1.40.1/install.sh | bash' PROFILE=/dev/null bash -c 'curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash'
source ~/.nvm/nvm.sh source ~/.config/nvm/nvm.sh
nvm install node nvm install node
nix: nix:

View File

@@ -7,7 +7,7 @@
"fidget.nvim": { "branch": "main", "commit": "e2a175c2abe2d4f65357da1c98c59a5cfb2b543f" }, "fidget.nvim": { "branch": "main", "commit": "e2a175c2abe2d4f65357da1c98c59a5cfb2b543f" },
"gitsigns.nvim": { "branch": "main", "commit": "7c27a30450130cd59c4994a6755e3c5d74d83e76" }, "gitsigns.nvim": { "branch": "main", "commit": "7c27a30450130cd59c4994a6755e3c5d74d83e76" },
"indent-blankline.nvim": { "branch": "master", "commit": "04e44b09ee3ff189c69ab082edac1ef7ae2e256c" }, "indent-blankline.nvim": { "branch": "master", "commit": "04e44b09ee3ff189c69ab082edac1ef7ae2e256c" },
"lazy.nvim": { "branch": "main", "commit": "7967abe55752aa90532e6bb4bd4663fe27a264cb" }, "lazy.nvim": { "branch": "main", "commit": "7c493713bc2cb392706866eeba53aaef6c8e9fc6" },
"lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
"lazygit.nvim": { "branch": "main", "commit": "56760339a81cd1540d5a72fd9d93010a2677b55d" }, "lazygit.nvim": { "branch": "main", "commit": "56760339a81cd1540d5a72fd9d93010a2677b55d" },
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },

View File

@@ -40,6 +40,12 @@ bind -r Left previous-window
bind-key -n C-S-Left swap-window -t -1\; select-window -t -1 bind-key -n C-S-Left swap-window -t -1\; select-window -t -1
bind-key -n C-S-Right swap-window -t +1\; select-window -t +1 bind-key -n C-S-Right swap-window -t +1\; select-window -t +1
# rename pane starts empty
bind-key , command-prompt "rename-window '%%'"
# restart panes
bind-key k respawn-pane -k
# ----------------------- Plugins ----------------------- # # ----------------------- Plugins ----------------------- #
# List of plugins # List of plugins

View File

@@ -7,6 +7,7 @@ fi
# Aliases # Aliases
alias c='clear' alias c='clear'
alias ch='clear && tmux clear-history'
alias open='xdg-open' alias open='xdg-open'
alias lg="lazygit" alias lg="lazygit"
alias nv="nvim" alias nv="nvim"

31
.gitignore vendored
View File

@@ -34,6 +34,37 @@
/.config/arduino-ide /.config/arduino-ide
/.config/PrusaSlicer /.config/PrusaSlicer
/.config/syncthing /.config/syncthing
/.config/Kingsoft
/.config/VCG
/.config/VSCodium
/.config/autostart
/.config/catkin
/.config/cef_user_data
/.config/chromium
/.config/act
/.config/cura
/.config/enchant
/.config/eog
/.config/evolution
/.config/evince
/.config/gedit
/.config/glib-2.0
/.config/go
/.config/gthumb
/.config/gtk-3.0
/.config/gtk-4.0
/.config/helix
/.config/htop
/.config/ibus
/.config/menus
/.config/nautilus
/.config/odmpy
/.config/rerun
/.config/AliceVision
/.config/code-server
/.config/marimo
/.config/sqlitebrowser
/.config/systemd
.bash* .bash*

View File

@@ -1,12 +1,22 @@
Host ssh.eastonpots.com Host dgx01
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname %h HostName dgx01
User epotokar
Host work Host potlab_cf
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname ssh.eastonpots.com
Host work_cf
ProxyCommand /usr/local/bin/cloudflared access ssh --hostname work.eastonpots.com ProxyCommand /usr/local/bin/cloudflared access ssh --hostname work.eastonpots.com
Host potlab Host potlab
HostName 192.168.0.6 HostName 192.168.0.6
User contagon User contagon
Host work
HostName 10.8.0.2
User contagon
ProxyJump potlab
Host nrec Host nrec
HostName atr-share.rec.ri.cmu.edu HostName atr-share.rec.ri.cmu.edu
User epotokar User epotokar
@@ -19,6 +29,10 @@ Host bb
HostName bitbucket.org HostName bitbucket.org
IdentityFile ~/.ssh/bb IdentityFile ~/.ssh/bb
Host bb_aqua
HostName bitbucket.org
IdentityFile ~/.ssh/bb_aqua
Host nrec Host nrec
HostName atr-share.rec.ri.cmu.edu HostName atr-share.rec.ri.cmu.edu
User epotokar User epotokar

View File

@@ -14,7 +14,7 @@ export VISUAL="nvim"
# cargo # cargo
[ -d "$HOME/.cargo" ] && . "$HOME/.cargo/env" [ -d "$HOME/.cargo" ] && . "$HOME/.cargo/env"
# nvm (https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script) # nvm (https://github.com/nvm-sh/nvm?tab=readme-ov-file#install--update-script)
[ -d "$HOME/.nvm" ] && . "$HOME/.nvm/nvm.sh" # This loads nvm [ -d "$HOME/.config/nvm" ] && . "$HOME/.config/nvm/nvm.sh" # This loads nvm
[ -d "$HOME/.nix-profile" ] && . $HOME/.nix-profile/etc/profile.d/nix.sh [ -d "$HOME/.nix-profile" ] && . $HOME/.nix-profile/etc/profile.d/nix.sh
[ -d "$HOME/.pixi" ] && export PATH="$HOME/.pixi/bin:$PATH" [ -d "$HOME/.pixi" ] && export PATH="$HOME/.pixi/bin:$PATH"