Vim ã®é¢æ°å 㧠set hlsearch ãã¦ãåæ ãããªãå ´åã®å¯¾å¦æ¹æ³
ãªããåæ ãããªãã®ããã¾ãã¡ããããã£ã¦ããªããã§ãã対å¦æ¹æ³ããã£ãã®ã§æ¸ãã¦ããã¾ãã
ãã¦ã次ã®ããã«é¢æ°å
㧠set hlsearch ãå¼ã³åºãã¦ããã¤ã©ã¤ãã¯è¡ããã¾ããã
function! HLsearch() set hlsearch endfunction call HLsearch()
[対å¦æ¹æ³]
feedkeys() ã使ç¨ãã¾ãã
function! HLsearch() call feedkeys(":set hlsearch\<CR>", "n") endfunction call HLsearch()
ããã§ãã¤ã©ã¤ããè¡ããã¾ãã