Commits

Takahiro MINAMI committed 9c89047

Add errormarker.vim and icons

  • Participants
  • Parent commits 471c885

Comments (0)

Files changed (2)

     set transparency=10
     " ShowMode定義
     let g:showmode="coding"
+    let g:thumbsmode="coding"
     function! ShowMode()
         if(g:showmode == "coding")
             set guifont=Ricty_for_Powerline:h26
-                let g:showmode="show"
                 set transparency=0
+                set linespace=-1
                 set fuoptions=maxvert,maxhorz
                 au GUIEnter * set fullscreen
+                let g:showmode="show"
             else
                 set guifont=Ricty_for_Powerline:h16
                 set linespace=3
                 let g:showmode="coding"
         endif
     endfunction
+
     nmap <F12> :call ShowMode()<CR>
+
+
+
     set fuoptions=maxvert,maxhorz
     au GUIEnter * set fullscreen
+
 endif
 
 if has('multi_byte_ime') || has('xim')
 
 if has('printer')
   if has('win32')
+
   let &guifont = iconv('Ricty:h11:cSHIFTJIS', &encoding, 'cp932')
   endif
 endif
 au InsertLeave * set imdisable
 au InsertEnter * set noimdisable
 colorscheme solarized
+
 syntax on
 set nu " 行番号表示
 " set ruler " Powerlineを使うので不要
+set nowrap " 折り返し無し
 set shiftwidth=4
 set tabstop=4
 set expandtab
 set autoread    " Vim外で更新された場合に自動で読み込む
 set virtualedit=block " 矩形選択のモード
 set guioptions-=r "右スクロールバーを非表示
+set guioptions-=L "左スクロールバーを非表示
 set guioptions-=T "メニューバーを非表示
 set formatoptions+=mM
 set shellslash " Windowsでもパスを/で扱えるように
     set rtp+=~/vimfiles/qfixapp/
     call vundle#rc('~/vimfiles/bundle/')
 else
+    " errormarker icon定義
+    let g:errormarker_erroricon = expand("~/.vim/icons/error.png")
+    let g:errormarker_warningicon = expand("~/.vim/icons/warning.png")
     set rtp+=~/.vim/vundle/
     set rtp+=~/.vim/qfixapp/
     call vundle#rc()
 nmap <CR> :<C-u>call append(expand('.'), '')<CR>j
 nmap <silent> <Leader>P <Plug>ToggleProject
 nmap <silent> <Leader>p :Project<CR>
+nmap <S-F12> <C-W>v :set scrollbind<CR> <C-W><C-W> L zt j :set scrollbind<CR>
 
 " ============================================================================
 " Debug Key Setting