読者です 読者をやめる 読者になる 読者になる

gVim ${HOME}/.gvimrc

なんか、こんな感じで設定ファイルを書いた。

% ${HOME}/.gvimrc

if has('win32')
  set guifont=Consolas:h14,Lucida_Console:h14:w7
  set guifontwide=Ricty:h14
  "
  source $VIMRUNTIME/delmenu.vim
  set langmenu=en_US.UTF-8
  source $VIMRUNTIME/menu.vim
  language messages en
endif
set columns=100
set lines=36
set fileformats=unix,dos,mac
if exists('&ambiwidth')
  set ambiwidth=double
endif
set shiftwidth=4
set tabstop=4
set visualbell
set scrolloff=2
scriptencoding cp932
set encoding=utf-8
set fileencodings=utf-8,cp932,default,latin

" <http://vim-usrs.jp/2010/03/hack130/>
command! -complete=file -nargs=+ Grep  call s:grep([<f-args>])
function! s:grep(args)
	execute 'vimgrep' '/'.a:args[-1].'/' join(a:args[:-2])
endfunction

% ${HOME}/.tmux.conf

# set prefix
set-option -g prefix C-j
unbind-key C-b
#set-window-option -g utf8 on
bind -r C-h resize-pane -L 5
bind -r C-l resize-pane -R 5
bind -r C-j resize-pane -D 5
bind -r C-k resize-pane -U 5
bind -t vi-copy v begin-selection
bind -t vi-copy y copy-selection
# mode-keys
set-window-option -g mode-keys vi