diff --git a/.tmux.conf b/.tmux.conf index 0a02a20..ca74c9a 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -31,7 +31,7 @@ bind -n M-C new-session bind -n M-L switch-client -n bind -n M-H switch-client -p -## tmux-fzf +# tmux-fzf TMUX_FZF_LAUNCH_KEY="a" TMUX_FZF_OPTIONS="-p 20% --preview 'echo {}' --preview-window=border-sharp,hidden --bind '?:toggle-preview' --multi --ansi --no-separator --no-scrollbar --reverse --border=none \ --color=bg+:#272e33,bg:#272e33,spinner:#a7c080,hl:#a7c080 \ @@ -115,16 +115,16 @@ set -g status-right "" set-window-option -g window-status-format "#[fg=#272e33,bg=#272e33,nobold,nounderscore,noitalics]#[default] #I #W #[fg=#272e33,bg=#272e33,nobold,nounderscore,noitalics]" set-window-option -g window-status-current-format "#[fg=#272e33,bg=#374145,nobold,nounderscore,noitalics]#[fg=#d3c6aa,bg=#374145] #I #W #[fg=#374145,bg=#272e33,nobold,nounderscore,noitalics]" -## リフレッシュの間隔を設定する +# リフレッシュの間隔を設定する set -g status-interval 1 -## フォーカスイベント +# フォーカスイベント set -g focus-events on -## ヴィジュアルノーティフィケーションを有効にする +# ヴィジュアルノーティフィケーションを有効にする set-window-option -g monitor-activity on set -g visual-activity on -## TPM +# TPM set -g @plugin "sainnhe/tmux-fzf" run -b "/usr/share/tmux-plugin-manager/tpm" diff --git a/.zshrc b/.zshrc index 2fde376..59b8a24 100644 --- a/.zshrc +++ b/.zshrc @@ -18,7 +18,6 @@ alias aaa="cd ../../../" # 繝繝輔か繝ォ繝医お繝繧」繧ソ繧歎im縺ォ縺吶k export EDITOR=nvim -alias sudo="sudo -E " alias v=nvim alias vim=nvim @@ -34,9 +33,9 @@ alias gr="git rebase" alias gl="git log" # eza繧値s莉」繧上j縺ォ縺吶k -alias ls="eza -a" -alias lsl="eza -la" -alias lsa="eza -T -a" +alias ls="eza --icons --color=never -a" +alias lsl="eza --icons --color=never -la" +alias lsa="eza --icons --color=never -T -a" # bat繧団at縺ョ莉」繧上j縺ォ縺吶k alias cat="bat --color=always --style=plain" @@ -120,3 +119,12 @@ eval "$(rbenv init - zsh)" ## Flutter export CHROME_EXECUTABLE="/usr/bin/vivaldi" + +function ya() { +tmp="$(mktemp -t "yazi-cwd.XXXXX")" +yazi --cwd-file="$tmp" +if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then + cd -- "$cwd" +fi +rm -f -- "$tmp" +} diff --git a/init.lua b/init.lua index 32259ae..90017bf 100644 --- a/init.lua +++ b/init.lua @@ -190,6 +190,7 @@ require("lazy").setup({ { "sainnhe/edge", event = "VeryLazy" }, { "neanias/everforest-nvim", event = "VeryLazy" }, { "f4z3r/gruvbox-material.nvim", event = "VeryLazy" }, + { "Verf/deepwhite.nvim", event = "VeryLazy" }, { "nvim-lua/plenary.nvim", event = "VeryLazy" }, { "stevearc/dressing.nvim", event = "VeryLazy" }, { "hrsh7th/nvim-cmp", event = "VeryLazy" },