This commit is contained in:
Rikuoh Tsujitani 2023-11-24 20:27:10 +09:00
parent 4c42e73358
commit 627dbee630
Signed by: riq0h
GPG key ID: 010F09DEA298C717
2 changed files with 4 additions and 10 deletions

11
.zshrc
View file

@ -5,7 +5,6 @@ fi
# zplug
source /usr/share/zsh/scripts/zplug/init.zsh
zplug "arks22/tmuximum", as:command
zplug "sorin-ionescu/prezto"
if ! zplug check; then
@ -73,7 +72,7 @@ export FZF_DEFAULT_OPTS="--ansi --no-separator --no-scrollbar --reverse --border
export FZF_CTRL_T_COMMAND='rg --files --hidden 2> /dev/null --follow --glob "!.git/*"'
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --style=plain --line-range :100 {}' --preview-window=border-sharp,right:60%"
export FZF_ALT_C_COMMAND='fd -t d --hidden'
export FZF_ALT_C_OPTS="--preview 'exa {} -h -T -F --no-user --no-time --no-filesize --no-permissions --long | head -200' --preview-window=border-sharp,hidden:right:60% --bind '?:toggle-preview'"
export FZF_ALT_C_OPTS="--preview 'eza {} -h -T -F --no-user --no-time --no-filesize --no-permissions --long | head -200' --preview-window=border-sharp,hidden:right:60% --bind '?:toggle-preview'"
export RUNEWIDTH_EASTASIAN=0
bindkey '^[t' fzf-file-widget
bindkey '^[r' fzf-history-widget
@ -103,14 +102,6 @@ fman() {
}
export MANPAGER="sh -c 'col -bx | bat -l man -p --paging always'"
# tmux関連
if [ -z $TMUX ]; then
tmuximum
fi
alias tx="tmuximum"
alias ta="tmux attach"
# 履歴関連
HISTFILE=~/.zsh_history # ヒストリを保存するファイル
HISTSIZE=10000 # メモリに保存されるヒストリの件数

View file

@ -319,6 +319,9 @@ end
--LSP
require("lspsaga").setup({
symbol_in_winbar = {
enable = false,
},
ui = {
border = "single",
title = false,