Writing Plugin
Writing Plugin 제목은 거창하게 썼지만, 플러그인이나 rc 파일 작성에 필요한 지식들을 메모해 둘 예정. Preview Window :botright pedit { file } :botright pedit Preview Window 에서 라인 출력 function! showInPreview(name, fileType, lines) let l:command = "silent! pedit! +setlocal\\ " . \ "buftype=nofile\\ nobuflisted\\ " . \ "noswapfile\\ nonumber\\ " . \ "filetype=" . a:fileType . " " . a:name exe l:command if has('nvim') let l:bufNr = bufnr(a:name) call nvim_buf_set_lines(l:bufNr, 0, -1, 0, a:lines) else call setbufline(a:name, 1, a:lines) endif endfunction stackExchange...