- Timestamp:
- 07/19/08 13:45:11 (4 months ago)
- Location:
- dotfiles
- Files:
-
- 5 modified
-
rubygems/cho45-gemrc (modified) (1 diff)
-
vim/cho45/.vimrc (modified) (2 diffs)
-
vim/cho45/sortcss (modified) (1 diff)
-
zsh/cho45/.zsh/mine.zshrc (modified) (2 diffs)
-
zsh/cho45/.zshrc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dotfiles/rubygems/cho45-gemrc
r15061 r16024 1 1 --- 2 :benchmark: false3 2 :update_sources: true 4 : verbose: true3 :bulk_threshold: 1000 5 4 :sources: 6 5 - http://gems.rubyforge.org 6 - http://gems.github.com 7 :verbose: true 8 :benchmark: false 7 9 :backtrace: false 8 10 rdoc: --template ~/coderepos/lang/ruby/rdoc/generators/template/html/resh/resh.rb --inline-source 9 :bulk_threshold: 1000 -
dotfiles/vim/cho45/.vimrc
r15803 r16024 264 264 " {{{ Autocompletion using the TAB key 265 265 266 " "This function determines, wether we are on the start of the line text (then tab indents) or267 " "if we want to try autocompletion268 "function! InsertTabWrapper()269 "let col = col('.') - 1270 "if !col || getline('.')[col - 1] !~ '\k'271 "return "\<TAB>"272 "else273 "if pumvisible()274 "return "\<C-N>"275 "else276 "return "\<C-N>\<C-P>"277 "end278 "endif279 "endfunction280 " "Remap the tab key to select action with InsertTabWrapper281 "inoremap <tab> <c-r>=InsertTabWrapper()<cr>266 " This function determines, wether we are on the start of the line text (then tab indents) or 267 " if we want to try autocompletion 268 function! InsertTabWrapper() 269 let col = col('.') - 1 270 if !col || getline('.')[col - 1] !~ '\k' 271 return "\<TAB>" 272 else 273 if pumvisible() 274 return "\<C-N>" 275 else 276 return "\<C-N>\<C-P>" 277 end 278 endif 279 endfunction 280 " Remap the tab key to select action with InsertTabWrapper 281 inoremap <tab> <c-r>=InsertTabWrapper()<cr> 282 282 283 283 " }}} Autocompletion using the TAB key … … 290 290 291 291 let g:AutoComplPop_CompleteOption = '.,w,b,k' 292 let g:snippetsEmu_key = "< TAB>"292 let g:snippetsEmu_key = "<C-A>" 293 293 294 294 autocmd BufNewFile,BufRead *.io set filetype=io -
dotfiles/vim/cho45/sortcss
r4521 r16024 138 138 end 139 139 140 result = ARGF.read.gsub(%r{/\*([^*]*)\*/}m, '').to_a.map {|l| l.chomp }.sort_by do |line|140 result = ARGF.read.gsub(%r{/\*([^*]*)\*/}m, '').to_a.map {|l| l.chomp.sub(/\s*:\s*/, ": ") }.sort_by do |line| 141 141 property_order line 142 142 end -
dotfiles/zsh/cho45/.zsh/mine.zshrc
r15708 r16024 98 98 99 99 function git () { 100 if [ -e '.svn' ]; then 101 command svn $@ | $PAGER 100 if [[ -e '.svn' ]]; then 101 if [[ $1 == "log" ]]; then 102 command svn $@ | $PAGER 103 else 104 command svn $@ 105 fi 102 106 echo 103 107 echo "x| _ |x < .svn があったので svn コマンドにしました!" 104 108 else 105 command git $@ 109 if [[ $1 == "" ]]; then 110 # git ってだけうったときは status 表示 111 command git branch -a --verbose 112 command git status 113 elif [[ $1 == "log" ]]; then 114 # 常に diff を表示してほしい 115 command git log -p ${@[2, -1]} 116 else 117 command git $@ 118 fi 119 fi 120 } 121 122 function anco () { 123 if command git rev-parse --is-inside-work-tree > /dev/null 2>&1; then 124 command git grep $@ 125 else 126 command ack --all --with-filename $@ | $PAGER 106 127 fi 107 128 } … … 115 136 # ホストごとの設定を読みこむ 116 137 h="${HOST%%.*}" 117 if [ -f "$HOME/.zsh/host-$h.zshrc" ] 118 then 138 if [[ -f "$HOME/.zsh/host-$h.zshrc" ]]; then 119 139 source "$HOME/.zsh/host-$h.zshrc" 120 140 fi -
dotfiles/zsh/cho45/.zshrc
r15879 r16024 21 21 help! () { zle -M "E478: Don't panic!" } 22 22 zle -N help! 23 24 autoload zargs 23 25 24 26 # 日本語用
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)