raa0121 12 anni fa
parent
commit
4d2e2875a1
1 ha cambiato i file con 0 aggiunte e 266 eliminazioni
  1. 0 266
      #.vimrc#

+ 0 - 266
#.vimrc#

@@ -1,266 +0,0 @@
-" coding:utf-8
-" ζ*'ヮ')ζ ζ(*'ヮ'リ+
-"
-set ignorecase
-set smartcase
-set tabstop=2
-set expandtab
-set autoindent
-set backspace=2
-set wrapscan
-set showmatch
-set wildmenu
-set formatoptions+=mM
-set softtabstop=2
-set shiftwidth=4
-set fileencodings=utf-8,cp932,euc-jp,default,latin
-set number
-set ruler
-set nolist
-set wrap
-set laststatus=2
-set cmdheight=2
-set showcmd
-set title
-syntax on
-
-" ファイル名に大文字小文字の区別がないシステム用の設定:
-"   (例: DOS/Windows/MacOS)
-"
-if filereadable($VIM . '/vimrc') && filereadable($VIM . '/ViMrC')
-  " tagsファイルの重複防止
-  set tags=./tags,tags
-endif
-
-" コンソールでのカラー表示のための設定(暫定的にUNIX専用)
-if has('unix') && !has('gui_running')
-  let uname = system('uname')
-  if uname =~? "linux"
-    set term=builtin_linux
-  elseif uname =~? "freebsd"
-    set term=builtin_cons25
-  elseif uname =~? "Darwin"
-    set term=beos-ansi
-  else
-    set term=builtin_xterm
-  endif
-  unlet uname
-endif
-
-" コンソール版で環境変数$DISPLAYが設定されていると起動が遅くなる件へ対応
-if !has('gui_running') && has('xterm_clipboard')
-  set clipboard=exclude:cons\\\|linux\\\|cygwin\\\|rxvt\\\|screen
-endif
-
-" タブページの切り替えをWindowsのように
-" CTRL+Tab SHIFT+Tabで行うように.
-if v:version >= 700
-  nnoremap <C-Tab>   gt
-  nnoremap <C-S-Tab> gT
-endif
-
-set nocompatible
-filetype off
-
-if has('vim_starting')
-  set runtimepath+=~/.vim/neobundle.vim.git
-
-endif
-call neobundle#rc(expand('~/.bundle'))
-
-NeoBundle 'Shougo/echodoc.git'
-NeoBundle 'Shougo/neocomplcache.git'
-NeoBundle 'Shougo/neocomplcache-rsense'
-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'
-NeoBundle 'tsukkee/lingr-vim'
-NeoBundle 'Shougo/neosnippet'
-NeoBundle 'browser.vim'
-NeoBundle 'synmark.vim'
-NeoBundle 'tyru/open-browser.vim'
-NeoBundle 'mattn/gist-vim'
-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 'ujihisa/neco-look'
-NeoBundle 'vim-jp/vital.vim'
-NeoBundle 'dag/vim2hs'
-NeoBundle 'eagletmt/ghcmod-vim'
-NeoBundle 'git://vim-latex.git.sourceforge.net/gitroot/vim-latex/vim-latex'
-
-NeoBundle 'thinca/vim-singleton'
-NeoBundle 'mattn/benchvimrc-vim'
-NeoBundle 'ryutorion/vim-itunes'
-NeoBundle 'git@github.com:raa0121/vim-ulilith'
-NeoBundle 'mattn/libcallex-vim'
-NeoBundle 'thinca/vim-splash'
-NeoBundle 'mattn/sonictemplate-vim'
-NeoBundle 'raa0121/vim-eclim'
-NeoBundle 'thinca/vim-github'
-NeoBundle 'nosami/Omnisharp'
-
-filetype plugin indent on
-if has('clientserver')
-  call singleton#enable()
-end
-
-set ww+=h,l,>,<,[,]
-set mouse=a
-set ttymouse=xterm2
-set clipboard=unnamedplus
-
-" ,is: シェルを起動
-nnoremap <silent> ,is :VimShell<CR>
-" ,ipy: pythonを非同期で起動
-nnoremap <silent> ,ipy :VimShellInteractive python<CR>
-" ,irb: irbを非同期で起動
-nnoremap <silent> ,irb :VimShellInteractive irb<CR>
-" ,ss: 非同期で開いたインタプリタに現在の行を評価させる
-vmap <silent> ,ss :VimShellSendString<CR>
-" 選択中に,ss: 非同期で開いたインタプリタに選択行を評価させる
-nnoremap <silent> ,ss <S-v>:VimShellSendString<CR>
-" ,vs: vimshell
-nnoremap <silent> ,vs :tabnew +VimShell<CR>
-" ,vr: .vimrc
-nnoremap <silent> ,vr :tabnew ~/.vimrc<CR>
-nnoremap <silent> ,so :so ~/.vimrc<CR>
-nnoremap <silent> ,nu :tabnew +Unite\ neobundle/update<CR>
-nnoremap <silent> ,ll :tabnew +LingrLaunch
-
-" Disable AutoComplPop. Comment out this line if AutoComplPop is not
-" installed.
-let g:acp_enableAtStartup = 0
-" Launches neocomplcache automatically on vim startup.
-let g:neocomplcache_enable_at_startup = 1
-" Use smartcase.
-let g:neocomplcache_enable_smart_case = 1
-" Use camel case completion.
-let g:neocomplcache_enable_camel_case_completion = 1
-" Use underscore completion.
-let g:neocomplcache_enable_underbar_completion = 1
-" Sets minimum char length of syntax keyword.
-let g:neocomplcache_min_syntax_length = 3
-
-let g:vimfiler_as_default_explorer = 1
-
-let g:neocomplcache#sources#rsense#home_directory = '/opt/rsense-0.3/'
-
-let g:neocomplcache_text_mode_filetypes = {
-\  'tex': 1,
-\  'plaintex': 1,
-\} 
-
-"tabで補完候補の選択を行う
-inoremap <expr><TAB> pumvisible() ? "\<Down>" : "\<TAB>"
-inoremap <expr><S-TAB> pumvisible() ? "\<Up>" : "\<S-TAB>"
-
-let g:OmniSharp_host = "http://localhost:2000"
-let g:OmniSharp_typeLookupInPreview = 1
-setlocal omnifunc=OmniSharp#Complete
-set noshowmatch
-
-
-let g:netrw_nogx = 1
-nmap gx <Plug>(openbrowser-smart-search)
-vmap gx <Plug>(openbrowser-smart-search)
-
-let g:quickrun_config = {}
-let g:quickrun_config['markdown'] = {
-      \ 'outputter': 'browser'
-      \ }
-let g:lingr_vim_footer = ' [vim]'
-augroup plugin-lingr-vim
-  autocmd!
-  autocmd FileType lingr-messages nmap <silent> <buffer> t <Plug>(lingr-messages-show-say-buffer)
-  autocmd FileType lingr-say let &syntax='clojure'
-augroup END
-
-augroup vimrc
-    autocmd!
-augroup END
-
-function! s:SID_PREFIX()
-    return matchstr(expand('<sfile>'), '<SNR>\d\+_')
-endfunction
-
-set titlelen=100
-set guioptions-=e
-
-autocmd vimrc BufEnter * let &titlestring = '%{' . s:SID_PREFIX() . 'titlestring()}'
-autocmd vimrc User plugin-lingr-unread let &titlestring = '%{' . s:SID_PREFIX() . 'titlestring()}'
-
-if exists('$TMUX') || exists('$WINDOW')
-    set t_ts=k
-    set t_fs=\
-endif
-
-function! s:titlestring()
-    if &filetype =~ '^lingr'
-        let &titlestring = 'lingr: ' . lingr#unread_count()
-    else
-        let &titlestring = bufname('')
-    endif
-endfunction
-
-" tabline
-set showtabline=2 " always show tabline
-let &tabline = '%!' . s:SID_PREFIX() . 'tabline()'
-
-function! s:tabline()
-    " show each tab
-    let s = ''
-    for i in range(1, tabpagenr('$'))
-        let list = tabpagebuflist(i)
-        let nr = tabpagewinnr(i)
-        let current_tabnr = tabpagenr()
-
-        "let title = bufname('') 
-        if i == current_tabnr
-            let title = fnamemodify(getcwd(), ':t') . '/'
-            "let title = bufname('')
-        else
-            let title = fnamemodify(gettabvar(i, 'cwd'), ':t') . '/'
-        endif
-        let title = empty(title) ? '[No Name]' : title
-        let s .= i == current_tabnr ? '%#TabLineSel#' : '%#TabLine#'
-        let s .= '%' . i . 'T[' . i . '] ' . title
-        let s .= '  '
-    endfor
-
-    " show lingr unread count
-    let lingr_unread = ""
-    if exists('*lingr#unread_count')
-        let lingr_unread_count = lingr#unread_count()
-        if lingr_unread_count > 0
-            let lingr_unread = "%#ErrorMsg#(" . lingr_unread_count . ")"
-        elseif lingr_unread_count == 0
-            let lingr_unread = "()"
-        endif
-    endif
-    " build tabline
-    let s .= '%#TabLineFill#%T%=%<[' . getcwd() . ']' . lingr_unread
-    return s
-endfunction
-
-let g:github_user = 'raa0121'
-let g:github_token = 'e3ded9cf6669cc31dbca'
-
-let g:github#user = 'raa0121'
-
-set shellslash
-set grepprg=grep\ -nH\ $*
-let g:tex_flavor='tex'
-let g:Tex_CompileRule_div = 'platex --interaction=nonstopmode $*'
-let g:Tex_BibtexFlavor = 'jbibtex'
-let g:Tex_ViewRule_dvi = '/cygdrive/c/texlive/2012/bin/win32/dviout.exe'
-let g:Tex_FormatDependency_pdf = 'dvi,pdf'
-let g:Tex_CompileRule_pdf = 'dvipdfmx $*.dvi'
-let g:Tex_ViewRule_pdf = '/cygdrive/d/Program/SumatraPDF/SumatraPDF.exe'