Merge pull request 'Work fixes' (#3) from lytedev-divvy/dotfiles:master into master

Reviewed-on: #3
This commit is contained in:
Daniel Flanagan 2022-05-18 14:43:24 -05:00
commit 19bb188b88
7 changed files with 21 additions and 8 deletions

View file

@ -1,6 +1,9 @@
#!/usr/bin/env fish
set profile_dirs ~/.mozilla/firefox/*.dev-edition-default
set profile_dirs "$HOME/.mozilla/firefox/*.dev-edition-default"
if test (uname) = Darwin
set profile_dirs $HOME/Library/Application\ Support/Firefox/Profiles/*.dev-edition-default
end
for p in $profile_dirs
mkdir -p $p/chrome

View file

@ -10,8 +10,8 @@ for f in vars colors prompt functions key-bindings
source $FISH_PATH/$f.fish
end
if has_command brew && test -f (brew --prefix asdf)/lib/asdf.fish
set -Ux ASDF_DIR (brew --prefix asdf)
if has_command brew && test -f (brew --prefix asdf)/libexec/asdf.fish
set --universal --export ASDF_DIR (brew --prefix asdf)
source (brew --prefix asdf)/libexec/asdf.fish
else if test -f $HOME/.asdf/asdf.fish
source $HOME/.asdf/asdf.fish
@ -41,5 +41,6 @@ if test -f /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
set --prepend --export --global fish_user_paths $HOME/.nix-profile/bin /nix/var/nix/profiles/default/bin
end
test $PWD = $HOME && begin; cd $NICE_HOME || cd; end
test $PWD = $HOME && begin
cd $NICE_HOME || cd
end

View file

@ -26,6 +26,8 @@ set --export --universal GOPATH $HOME/.go
set --export --universal GOBIN $GOPATH/bin
set paths_candidates \
/opt/homebrew/bin \
/opt/homebrew/sbin \
$DOTFILES_PATH/common/bin \
$HOME/.bin \
$HOME/.local/bin \

View file

@ -4,4 +4,4 @@ theme = "donokai"
j = { k = "normal_mode" }
# [editor]
# mouse = false
# mouse = false

1
common/helix/runtime Symbolic link
View file

@ -0,0 +1 @@
/Users/danielflanagan/code/helix/runtime

View file

@ -19,6 +19,8 @@ adjust_line_height 0
window_padding_width 10.0
window_margin_width 0.0
enabled_layouts tall:bias=50;full_size=1;mirrored=true
map ctrl+shift+1 change_font_size all 12.5
map ctrl+shift+2 change_font_size all 18.5
map ctrl+shift+3 change_font_size all 26
@ -29,6 +31,12 @@ map shift+insert paste_from_clipboard
map ctrl+shift+v paste_from_selection
map ctrl+shift+c copy_to_clipboard
map ctrl+shift+h neighboring_window left
map ctrl+shift+l neighboring_window right
map ctrl+shift+k neighboring_window up
map ctrl+shift+j neighboring_window down
map ctrl+shift+h nth_window -1
enable_audio_bell yes
url_style single

View file

@ -22,8 +22,6 @@ bind M-l source-file "$XDG_CONFIG_HOME/tmux/layouts/dev.tmux"
set -g update-environment "WAYLAND_DISPLAY DISPLAY"
# TODO: check if kitty is installed?
set -g default-terminal "kitty"
set -g mouse on
set -g escape-time 0
set -g monitor-activity on