mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 17:20:13 +00:00
direnv and neovim updates
This commit is contained in:
@ -36,6 +36,11 @@ if status --is-interactive
|
||||
set -g FZF_CTRL_T_COMMAND "$FZF_DEFAULT_COMMAND"
|
||||
set -g FZF_DEFAULT_OPTS '-m --height 50% --border'
|
||||
|
||||
source $DOTS/fish.configlink/conf.d/nix-env.fish
|
||||
|
||||
# Use `starship` prompt
|
||||
starship init fish | source
|
||||
|
||||
# Hook into direnv
|
||||
direnv hook fish | source
|
||||
end
|
||||
|
@ -47,7 +47,7 @@ function abbrs --description 'All abbreviations'
|
||||
|
||||
# GitHub
|
||||
abbr -a ghr 'gh repo view -w'
|
||||
abbr -a gha 'gh run list | head -1 | awk \'{ print $NF }\' | xargs gh run view'
|
||||
abbr -a gha 'gh run list | head -1 | awk \'{ print $(NF-2) }\' | xargs gh run view'
|
||||
abbr -a grw 'gh run watch'
|
||||
abbr -a grf 'gh run view --log-failed'
|
||||
abbr -a grl 'gh run view --log'
|
||||
@ -67,6 +67,7 @@ function abbrs --description 'All abbreviations'
|
||||
# Notes
|
||||
abbr -a qn 'quicknote'
|
||||
abbr -a sn 'syncnotes'
|
||||
abbr -a to 'today'
|
||||
abbr -a work 'vim $NOTES_PATH/work.md'
|
||||
|
||||
# Improved CLI Tools
|
||||
|
@ -4,6 +4,7 @@ function fish_user_key_bindings
|
||||
bind -M insert \co 'edit'
|
||||
bind -M insert \ce 'recent'
|
||||
bind -M insert \cg 'commandline-git-commits'
|
||||
bind -M insert \cf 'fcd'
|
||||
bind -M insert \x1F accept-autosuggestion
|
||||
bind -M default \x1F accept-autosuggestion
|
||||
end
|
||||
|
Reference in New Issue
Block a user