fix
This commit is contained in:
parent
3361123325
commit
df61f4e144
3 changed files with 18 additions and 9 deletions
10
.tmux.conf
10
.tmux.conf
|
@ -31,7 +31,7 @@ bind -n M-C new-session
|
||||||
bind -n M-L switch-client -n
|
bind -n M-L switch-client -n
|
||||||
bind -n M-H switch-client -p
|
bind -n M-H switch-client -p
|
||||||
|
|
||||||
## tmux-fzf
|
# tmux-fzf
|
||||||
TMUX_FZF_LAUNCH_KEY="a"
|
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 \
|
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 \
|
--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-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-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 status-interval 1
|
||||||
|
|
||||||
## フォーカスイベント
|
# フォーカスイベント
|
||||||
set -g focus-events on
|
set -g focus-events on
|
||||||
|
|
||||||
## ヴィジュアルノーティフィケーションを有効にする
|
# ヴィジュアルノーティフィケーションを有効にする
|
||||||
set-window-option -g monitor-activity on
|
set-window-option -g monitor-activity on
|
||||||
set -g visual-activity on
|
set -g visual-activity on
|
||||||
|
|
||||||
## TPM
|
# TPM
|
||||||
set -g @plugin "sainnhe/tmux-fzf"
|
set -g @plugin "sainnhe/tmux-fzf"
|
||||||
run -b "/usr/share/tmux-plugin-manager/tpm"
|
run -b "/usr/share/tmux-plugin-manager/tpm"
|
||||||
|
|
16
.zshrc
16
.zshrc
|
@ -18,7 +18,6 @@ alias aaa="cd ../../../"
|
||||||
|
|
||||||
# デフォルトエディタをVimにする
|
# デフォルトエディタをVimにする
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
alias sudo="sudo -E "
|
|
||||||
alias v=nvim
|
alias v=nvim
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
|
|
||||||
|
@ -34,9 +33,9 @@ alias gr="git rebase"
|
||||||
alias gl="git log"
|
alias gl="git log"
|
||||||
|
|
||||||
# ezaをls代わりにする
|
# ezaをls代わりにする
|
||||||
alias ls="eza -a"
|
alias ls="eza --icons --color=never -a"
|
||||||
alias lsl="eza -la"
|
alias lsl="eza --icons --color=never -la"
|
||||||
alias lsa="eza -T -a"
|
alias lsa="eza --icons --color=never -T -a"
|
||||||
|
|
||||||
# batをcatの代わりにする
|
# batをcatの代わりにする
|
||||||
alias cat="bat --color=always --style=plain"
|
alias cat="bat --color=always --style=plain"
|
||||||
|
@ -120,3 +119,12 @@ eval "$(rbenv init - zsh)"
|
||||||
|
|
||||||
## Flutter
|
## Flutter
|
||||||
export CHROME_EXECUTABLE="/usr/bin/vivaldi"
|
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"
|
||||||
|
}
|
||||||
|
|
1
init.lua
1
init.lua
|
@ -190,6 +190,7 @@ require("lazy").setup({
|
||||||
{ "sainnhe/edge", event = "VeryLazy" },
|
{ "sainnhe/edge", event = "VeryLazy" },
|
||||||
{ "neanias/everforest-nvim", event = "VeryLazy" },
|
{ "neanias/everforest-nvim", event = "VeryLazy" },
|
||||||
{ "f4z3r/gruvbox-material.nvim", event = "VeryLazy" },
|
{ "f4z3r/gruvbox-material.nvim", event = "VeryLazy" },
|
||||||
|
{ "Verf/deepwhite.nvim", event = "VeryLazy" },
|
||||||
{ "nvim-lua/plenary.nvim", event = "VeryLazy" },
|
{ "nvim-lua/plenary.nvim", event = "VeryLazy" },
|
||||||
{ "stevearc/dressing.nvim", event = "VeryLazy" },
|
{ "stevearc/dressing.nvim", event = "VeryLazy" },
|
||||||
{ "hrsh7th/nvim-cmp", event = "VeryLazy" },
|
{ "hrsh7th/nvim-cmp", event = "VeryLazy" },
|
||||||
|
|
Loading…
Reference in a new issue