Node.vimã¯Node.jsã§ã®require()ã®ãã¹è§£éã«å¾ã£ã¦Vimã®gfã«ãããã¡ã¤ã«ã¸ã®ç§»åãè¡ã£ã¦ãããVimãã©ã°ã¤ã³ãã¤ã¾ãå®éã«ãã®Nodeã¹ã¯ãªããã§ä½¿ããããã¡ã¤ã«ã¸ç§»åã§ããããã«ãªããGo to file! ã¡ã¤ã³ã®æ©è½ã§ããgfã¯è¨å®ãªãã§ãã使ããã<C-w>gfã§ã¿ãã§éãã¨ãã«ãã¡ããã¨å¯¾å¿ãã¦ããã®ã§ãæ®éã¯ãã®ã¾ã¾ä½ãããªãã¦è¯ããgfã§ã¿ãéãããã«ãã¡ããã¿ãããªè¨å®ã¯ãªããã©ãv0.5.1ã§å ãã£ãå°ç¨ã®ã¦ã¼ã¶ã¼å®ç¾©Autocommandã§ä¸æ¸ãã§ããã®ã§~/.vimrcã«ã autocmd User Node \ if &filetype == "javascript" | \ nmap <buffer> gf <Plug>NodeTabGotoFile | \ endif ã¨æ¸ãã¦ããã°ã¿ãã§éããããã«ãªããREADMEã«æ¸ãã¦ãããã
{{#tags}}- {{label}}
{{/tags}}