mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
chore(config): switch editor aliases to nvim and update related settings
This commit is contained in:
1 parent
1023c0e4d6
commit
e3e474da6c
6 files changed
+10
-2
No files matched your search
@@ -2,6 +2,9 @@
|
|||||||
# ~/.bashrc — managed by chezmoi
|
# ~/.bashrc — managed by chezmoi
|
||||||
#
|
#
|
||||||
|
|
||||||
|
alias vim="nvim"
|
||||||
|
alias vi="nvim"
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[[ $- != *i* ]] && return
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ set -gx EGET_BIN $HOME/.local/bin
|
|||||||
set -gx GHQ_ROOT $HOME/Code
|
set -gx GHQ_ROOT $HOME/Code
|
||||||
set -gx CODE_ROOT $HOME/Code
|
set -gx CODE_ROOT $HOME/Code
|
||||||
|
|
||||||
|
set -gx EDITOR nvim
|
||||||
|
set -gx VISUAL nvim
|
||||||
|
|
||||||
# Go env (GOPATH/GOBIN) is pinned in ~/.config/mise/config.toml [env] because
|
# Go env (GOPATH/GOBIN) is pinned in ~/.config/mise/config.toml [env] because
|
||||||
# mise's fish hook re-applies env each prompt and would clobber a shell-set
|
# mise's fish hook re-applies env each prompt and would clobber a shell-set
|
||||||
# GOBIN. GOROOT is provided by mise (toolchain under ~/.local/share/mise).
|
# GOBIN. GOROOT is provided by mise (toolchain under ~/.local/share/mise).
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
# Editors / file managers
|
# Editors / file managers
|
||||||
alias e nvim
|
alias e nvim
|
||||||
|
alias vim nvim
|
||||||
alias e.f 'cd ~/.local/share/chezmoi/dot_config/fish && yazi'
|
alias e.f 'cd ~/.local/share/chezmoi/dot_config/fish && yazi'
|
||||||
alias e.h 'cd ~/.local/share/chezmoi/dot_config/hypr && yazi'
|
alias e.h 'cd ~/.local/share/chezmoi/dot_config/hypr && yazi'
|
||||||
alias e.k 'yazi ~/.local/share/chezmoi/dot_config/kitty'
|
alias e.k 'yazi ~/.local/share/chezmoi/dot_config/kitty'
|
||||||
|
|||||||
@@ -25,3 +25,4 @@ test -f ~/.hishtory/config.fish; and source ~/.hishtory/config.fish
|
|||||||
# unsloth studio python venv
|
# unsloth studio python venv
|
||||||
test -f ~/.unsloth/studio/unsloth_studio/bin/activate.fish
|
test -f ~/.unsloth/studio/unsloth_studio/bin/activate.fish
|
||||||
and source ~/.unsloth/studio/unsloth_studio/bin/activate.fish
|
and source ~/.unsloth/studio/unsloth_studio/bin/activate.fish
|
||||||
|
|
||||||
@@ -139,7 +139,7 @@ o.bind("SUPER + CTRL + K", "Previous workspace", hl.dsp.focus({ workspace = "e-1
|
|||||||
hl.unbind("SUPER + CTRL + S") -- was: share menu
|
hl.unbind("SUPER + CTRL + S") -- was: share menu
|
||||||
hl.unbind("SUPER + SHIFT + A") -- was: ChatGPT web app
|
hl.unbind("SUPER + SHIFT + A") -- was: ChatGPT web app
|
||||||
|
|
||||||
o.bind("SUPER + CTRL + S", "Toggle scratch workspace", "omarchy-toggle-scratch scratchpad")
|
o.bind("SUPER + A", "Toggle scratch workspace", "omarchy-toggle-scratch scratchpad")
|
||||||
o.bind("SUPER + CTRL + ALT + H", "Toggle Tern scratch workspace", "omarchy-toggle-scratch scratchpad")
|
o.bind("SUPER + CTRL + ALT + H", "Toggle Tern scratch workspace", "omarchy-toggle-scratch scratchpad")
|
||||||
o.bind("SUPER + CTRL + ALT + L", "Toggle Claude scratch workspace", "omarchy-toggle-scratch claude")
|
o.bind("SUPER + CTRL + ALT + L", "Toggle Claude scratch workspace", "omarchy-toggle-scratch claude")
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ x-scheme-handler/follow=folo.desktop
|
|||||||
x-scheme-handler/folo=folo.desktop
|
x-scheme-handler/folo=folo.desktop
|
||||||
x-scheme-handler/tldraw-offline=tldraw-offline.desktop
|
x-scheme-handler/tldraw-offline=tldraw-offline.desktop
|
||||||
x-scheme-handler/notion=notion.desktop
|
x-scheme-handler/notion=notion.desktop
|
||||||
inode/directory=com.thisisgm.flea.desktop
|
inode/directory=io.github.lgse.Strata.desktop
|
||||||
x-scheme-handler/fastmail=com.fastmail.Fastmail.desktop
|
x-scheme-handler/fastmail=com.fastmail.Fastmail.desktop
|
||||||
|
|
||||||
[Added Associations]
|
[Added Associations]
|
||||||
|
|||||||
Reference in new issue
Block a user