Vim ã®ã¤ã³ãµã¼ãã¢ã¼ãã§æ¹åãã¼ã A B C D ã«ãªãã»ã»ã»ã
ç¾è±¡
Vim ã®ã¤ã³ãµã¼ãã¢ã¼ãæã« hoge ã¨å ¥åãããã¨ãæ¹åãã¼ï¼âãâãâãâï¼ãå ¥åããã¨ã
D C B A hoge
ã¿ãããªæãã§ï¼è¡ä¸ã«ç§»åããªãã A B C D ã¨ããæåå
¥åã«ãªãã
ã¾ããæ®æ®µã¯ãã¾ãæ¹åãã¼ãå
¥åããªãã®ã§æ°ã«ãªããªãã§ãã
ããneocomplcache ã§è£å®åè£ãé¸ã¶ã¨ãã«ãæåå
¥åã«ãªã£ã¦ãã¾ãã®ã§åè£ãé¸ã¹ãªããªã£ã¦ãã¾ãã¾ããã»ã»ã»ã
解決ç
.vimrc ã«ä»¥ä¸ã追å
imap ^[OA <Up> imap ^[OB <Down> imap ^[OC <Right> imap ^[OD <Left>
ã¡ãªã¿ã«å
¥åæ¹æ³ã¯ imapã¹ãã¼ã¹ã®ãã¨ã« Ctrl-Vä¸ç¢å°ã
ç§ã®ç°å¢ã 㨠^[ ã®é¨åã®è²ãå¤ããã¾ãã
åå
ç°å¢ã«ãããã¨æãã¾ãããã©ããããVim ã®ã¤ã³ãµã¼ãã¢ã¼ãæã®ã«ã¼ã½ã«ç§»å㯠ANSI ã®ã¨ã¹ã±ã¼ãã·ã¼ã±ã³ã¹ã§è¡ããã¦ããã¿ããã§ãã
ä¸é£ã®ã¨ã¹ã±ã¼ãã·ã¼ã±ã³ã¹ã®éä¸ã Vim ã«è§£éããã¦ãã¾ã£ã¦ãæå¾ã® A B C D ãå
¥åããã¦ãã¾ãæãï¼