_ [PC][BSD] CF-T4にFreeBSDを (11)
ふだんも使っているけど、特に環境設定中に便利なtmuxの設定。
.tmux.conf
# base settings
## allow utf8
set-window-option -g utf8 on
## disable ESC delay
set -s escape-time 0
# key mappings
## vi binding
set-window-option -g mode-keys vi
## set prefix (^T)
unbind C-b
set -g prefix ^T
bind a send-prefix
## last window (^t)
unbind ^A
bind ^t last-window
## reload config (r)
bind r source-file ~/.tmux.conf; display-message "Reload Config!!"
Shellはなかなかこれといったものが決まらないけど
.cshrc
setenv EDITOR vi
#setenv PAGER jless
setenv PAGER lv
setenv BLOCKSIZE K
setenv EXINIT 'set ignorecase showmode showmatch'
setenv LESSCHARSET utf-8
#setenv LESS=iM
setenv FTP_PASSWORD mimamura@tim.hi-ho.ne.jp
#setenv TMPDIR /tmp
setenv LC_TIME C
#setenv LC_CTYPE ja_JP.eucJP
#setenv LC_CTYPE C
setenv LC_CTYPE ja_JP.UTF-8
#setenv LC_ALL ja_JP.eucJP
setenv LC_ALL ja_JP.UTF-8
#setenv LC_ALL C
#setenv LANG ja_JP.eucJP
setenv LANG ja_JP.UTF-8
#
if ($?prompt) then
# An interactive shell -- set some stuff up
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
alias ff 'find . -name "\!*" -print'
set fignore = (\~ .o)
set notify
set prompt = "`hostname`% "
if ( ${?tcsh} ) then
## tcsh settings
alias ls ls-F
bindkey ^R i-search-back
bindkey ' ' magic-space
complete cd 'p/1/d/'
set autocorrect
set autolist = ambiguous
set complete = enhance
set correct = all
set histdup = erase
# set prompt = '%n@%m%~%# '
set prompt = '%n@%m%~%# '
set promptchars = '%#'
set rmstar
set symlinks = expand
endif
endif
#
以下は日本語入力関係
zsh関係の設定はまだはっきり決まらず。