Changeset 15535 for dotfiles

Show
Ignore:
Timestamp:
07/09/08 10:20:17 (5 months ago)
Author:
cho45
Message:

いろいろ更新

Location:
dotfiles
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • dotfiles/git/cho45-gitconfig

    r15166 r15535  
    77        di      = diff 
    88        co      = checkout 
    9         ci      = !sh -c 'git commit -av && [ $(git config --bool svn-remote.svn.autodcommit) = "true" ] && $HOME/.screen/asyncrun.rb git svn dcommit && echo "dcommit done!"' 
     9        ci      = !sh -c 'git commit -av && [ "$(git config --bool svn-remote.svn.autodcommit)" = "true" ] && $HOME/.screen/asyncrun.rb git svn dcommit && echo "dcommit done!"' 
    1010        cii     = commit -v 
    1111        svn-ad  = config svn-remote.svn.autodcommit true 
  • dotfiles/screen/cho45/.screen/backtick.rb

    r15166 r15535  
    1010} 
    1111$0 = NAME 
     12 
     13# system("screen", "-X", "eval", 'hardstatus alwayslastline "%-w %{.r.}%{!}%n%f%t%{dd} %+w"') 
    1214 
    1315$stdout.sync = true 
  • dotfiles/vim/cho45/.vimrc

    r15126 r15535  
    5656" 袖あまりは良いものだ 
    5757set scrolloff=10000000 
     58set scrolloff=2 
    5859" 行番号の表示 
    5960set number 
     
    313314autocmd BufNewFile,BufRead COMMIT_EDITMSG set filetype=git | AutoComplPopDisable 
    314315 
    315 nnoremap <C-h>  :<C-u>help<Space> 
    316316nnoremap <C-c>  :<C-u>close<CR> 
    317317 
  • dotfiles/zsh/cho45/.zsh/mine.zshrc

    r15061 r15535  
    9797} 
    9898 
     99function git () { 
     100        if [ -e '.svn' ]; then 
     101                command svn $@ 
     102        else 
     103                command git $@ 
     104        fi 
     105} 
     106 
     107# screen cd 
    99108source $HOME/coderepos/lang/zsh/cdd/cdd 
     109 
     110# window num -> tty の対応ができるように 
     111tty > /tmp/screen-tty-$WINDOW 
    100112 
    101113# ホストごとの設定を読みこむ 
     
    105117        source "$HOME/.zsh/host-$h.zshrc" 
    106118fi 
    107  
    108 # window num -> tty の対応ができるように 
    109 tty > /tmp/screen-tty-$WINDOW 
    110  
  • dotfiles/zsh/cho45/.zshrc

    r15126 r15535  
    1010unset PS1 
    1111 
    12 export PAGER=lv 
     12export PAGER="less --quit-if-one-screen --RAW-CONTROL-CHARS" 
    1313export LESS='-X -i -P ?f%f:(stdin).  ?lb%lb?L/%L..  [?eEOF:?pb%pb\%..]' 
    1414export EDITOR=vim 
     
    194194bindkey " "   magic-abbrev-expand-and-insert 
    195195bindkey "."   magic-abbrev-expand-and-insert 
    196 bindkey "^x " no-magic-abbrev-expand 
    197196bindkey "^I"  magic-abbrev-expand-and-normal-complete 
     197 
     198expand-to-home-or-insert () { 
     199        if [ "$LBUFFER" = "" -o "$LBUFFER[-1]" = " " ]; then 
     200                LBUFFER+="~/" 
     201        else 
     202                zle self-insert 
     203        fi 
     204} 
     205 
     206zle -N expand-to-home-or-insert 
     207bindkey "\\"  expand-to-home-or-insert 
    198208 
    199209# vim とかが露頭に迷わないように