Haskell mode for Vim
omniè£å®ããã«ãããããã°ãªã©ã便å©æ©è½æºè¼ã
http://d.hatena.ne.jp/tanakaBox/20071018/1192653919
Haskell mode for Vim
ããæãããã
æ¿ãã使ããããªã³ãã³ããã
:GHCi main
ghciã§é¢æ°mainãä½ç¨ãããããã
è¯ããããªã®ã§ã¤ã³ã¹ãã¼ã«ãã¦ã¿ãã
ã¤ã³ã¹ãã¼ã«æ¹æ³
http://www.cs.kent.ac.uk/people/staff/cr3/toolbox/haskell/Vim/
ããhaskellmode-20071105.vbaããã¦ã³ãã¼ã
vbaãã¡ã¤ã«ãvimã§éã㦠:source % ã§ãã®ãã¡ã¤ã«èªèº«ãå®è¡
.vimrcã«ä»¥ä¸ã追å ï¼ãã©ã¦ã¶ã¯é©å®å¤æ´ï¼
au Bufenter *.hs compiler ghc let g:haddock_browser = "C:/Program Files/Internet Explorer/IEXPLORE.exe"
使ãæ¹
:GHCiã®å¾ãã«å¼ãæ¸ãã¨ãã®è¿å¤ããããããã¡(?)ã«è¡¨ç¤ºãããã
ä¾
:GHCi main :GHCi foo [1..3]
ãã«ããã¡ã¤ã«ãã¤ã³ã¹ãã¼ã«ããã¦ããã®ã§è©³ãã㯠:h haskellmode ã§ã
Vimball Archiver
vbaã£ã¦ã¾ããã¨ã¯ã»ã«ã®ãã¯ãï¼ã¨æã£ã¦ãã¾ã£ããVimball Archiverã®ç¥ã®ããã ã
ããã±ã¼ã¸ãã¡ã¤ã«ãvimã¹ã¯ãªããã§æ¸ãã¦ããã¦ãvimèªèº«ã«ã¤ã³ã¹ãã¼ã«ããããä»çµã¿ã«ãªã£ã¦ããã¨ãããé¢ç½ãã
Vim documentation: pi_vimball
http://www.ac.cyberhome.ne.jp/~yakahaira/vimdoc/pi_vimball.html
ãã¡ã¤ã«ãå±éããã«ã¯ãVimball ãã¡ã¤ã«ã Vim ã§éãããã®ãã¡ã¤ã«ãå®è¡ (:source %) ãã¦ãã ããã