Browse Source

edit PATH

raa0121 12 years ago
parent
commit
43f479c227
3 changed files with 22 additions and 29 deletions
  1. 1 13
      .bashrc
  2. 2 2
      .gvimrc
  3. 19 14
      .vimrc

+ 1 - 13
.bashrc

@@ -15,17 +15,13 @@ umask 022
 
 export EDTOR=vim
 
-PS1="\u \! \W\$ "
-
-PATH=/cygdrive/c/Users/raa0121/AppData/Roaming/cabal/bin:/usr/local/bin:/usr/bin:/sbin:$PATH
-
 _uname=`uname -o`
 if [ $_uname = "Cygwin" ] ; then
   LANG=ja_JP.UTF-8
   DISPLAY="localhost:0.0"
   export ANDROID_SDK_PATH=$HOME/android-sdk-windows
   export ANDROID_NDK_PATH=$HOME/android-ndk-r8b
-  export PATH="$HOME/.rbenv/bin:$PATH"
+  export PATH="$HOME/.rbenv/bin:/cygdrive/c/Users/raa0121/AppData/Roaming/cabal/bin:/cygdrive/c/texlive/2012/bin/win32:$PATH"
   eval "$(rbenv init -)"
 elif [ $_uname = "Msys" ]; then
   LANG=ja_JP.sjis
@@ -50,11 +46,3 @@ gvim(){
     fi
 }
 
- _ping=`which ping`
-ping(){
-  if [ $1 ] ; then
-      `$_ping $* | nkf -w`
-  else
-      `$_ping | nkf -w`
-  fi
-}

+ 2 - 2
.gvimrc

@@ -8,9 +8,9 @@ nnoremap <silent> <C-F2> :if &guioptions =~# 'T' <Bar>
  
 
 if has('win32') || has('win64')
-  set guifont=Ricty:h12
+  set guifont=Aicty:h12
 elseif has('unix')
-  set guifont=Ricty\ 12
+  set guifont=Aicty\ 12
 endif
 colorscheme evening
 if has('multi_byte_ime') || has('xim')

+ 19 - 14
.vimrc

@@ -1,6 +1,4 @@
-
-so $VIMRUNTIME/mswin.vim
-
+" coding:utf-8
 
 " 検索時に大文字小文字を無視 (noignorecase:無視しない)
 set ignorecase
@@ -95,12 +93,12 @@ if has('vim_starting')
 endif
 
 
-NeoBundle 'git://github.com/Shougo/echodoc.git'
-NeoBundle 'git://github.com/Shougo/neocomplcache.git'
-NeoBundle 'git://github.com/Shougo/neobundle.vim.git'
-NeoBundle 'git://github.com/Shougo/unite.vim.git'
-NeoBundle 'git://github.com/Shougo/vimfiler.git'
-NeoBundle 'git://github.com/Shougo/vimshell.git'
+NeoBundle 'Shougo/echodoc.git'
+NeoBundle 'Shougo/neocomplcache.git'
+NeoBundle 'Shougo/neobundle.vim.git'
+NeoBundle 'Shougo/unite.vim.git'
+NeoBundle 'Shougo/vimfiler.git'
+NeoBundle 'Shougo/vimshell.git'
 
 NeoBundle 'Shougo/vimproc'
 NeoBundle 'thinca/vim-quickrun'
@@ -114,9 +112,13 @@ NeoBundle 'mattn/webapi-vim'
 NeoBundle 'mru.vim'
 NeoBundle 'thinca/vim-ft-clojure'
 NeoBundle 'ujihisa/neco-ghc'
+NeoBundle 'sudo.vim'
+NeoBundle 'ujihisa/vimshell-ssh'
+NeoBundle 'Shougo/unite-ssh'
+NeoBundle 'tyru/skkdict.vim'
+NeoBundle 'tyru/eskk.vim'
 
-filetype plugin on
-filetype indent on
+filetype plugin indent on
 
 set ww+=h,l,>,<,[,]
 set mouse=a
@@ -219,6 +221,9 @@ endfunction
 let g:github_user = 'raa0121'
 let g:github_token = 'e3ded9cf6669cc31dbca'
 
-if executable('pdftotext')
-    command! -complete=file -nargs=1 Pdf :r !pdftotext -nopgbrk -layout <q-args> -
-endif
+let g:eskk#directory = "~/.eskk"
+let g:eskk#dictionary = { 'path': "~/.skk-jisyo", 'sorted': 0, 'encoding': 'utf-8', }
+let g:eskk#large_dictionary = { 'path': "~/.eskk/SKK-JISYO.L", 'sorted': 1, 'encoding': 'euc-jp', }
+let g:eskk#enable_completion = 1
+
+set imdisable