5.2. autochdirCD.vimCD.vim : ãã¡ã¤ã«ãéãã¨ããã®ãã¡ã¤ã«ã¨åããã£ã¬ã¯ããªã«ç§»å (åç¡ãã®vim使ã)Hack #69: ç°¡åã«ã«ã¬ã³ããã£ã¬ã¯ããªãå¤æ´ãã (Vim-users.jp)set autochdir ã¨ãããä¸è¨ã®è¨å®ãè¡ããªã©ãã¦ï¼ ãã¡ã¤ã«ãéããããããã¡ãåãæ¿ãããããã¨ï¼ ãã®ãã¡ã¤ã«ããããã£ã¬ã¯ããªã«èªåçã« cd ããããã«ããï¼ æ°è¦ãã¡ã¤ã«ã :e ããã¨ãã親ãã£ã¬ã¯ããªãåå¨ããªããã°èªåçã«ä½æãã (VimWiki) ã¨ãããã¦æ¬¡ã®ããã«è¨å®ãã¦ãããï¼if has('autochdir') set noautochdir endif augroup AutoMkChdir au! au BufNewFile * call AutoMkdir() | call AutoChdir() au BufRead,Bu
{{#tags}}- {{label}}
{{/tags}}