๐ (neo)vim + VSCode = ?
UNIX and Linux System Administration Handbook๋ฅผ ์ฝ๋ ์ค ์ฌ๋ฏธ์๋ ๊ตฌ์ ์ ๋ณด๊ฒ ๋์๋ค.
For text editing, we strongly recommend learning vi(now seen more commonly in its enhanced form, vim) which is standard on all systems …(์ค๋ต)… Alternatively, GNU’s nano is a simple and low-impact “starter editor” that has on-screen prompts. Use it discreetly; professional administratiors may be visibly distressed if they witness a peer running nano.
Homelabbing์ ํ๋ค๋ณด๋ฉด ํ๋ฃจ์๋ ์์ญ๋ฒ config๋ฅผ ๋ง์ง๊ณ , ์ ํ์ผ์ ์ฐ๊ฒ๋๊ณ ๊ณ ์น๊ฒ๋๋๋ฐ, ์ฒ์ ์์ํ ๋๋ง ํด๋ nano๋ฅผ ์ผ๋ ๊ธฐ์ต์ด ๋ฌ๋ค. nano๋ฅผ ์ฐ์ง ๋ง๋ผ๋ ๊ฑด ์ค๋ ๋ด์์ง๋ง, ์ด๋ฏธ IDE๊ฐ ์ต์ํ ์ํ์์ Vi๋ฅผ ๋ฐฐ์ธ ํ์์ฑ์ ๊ตณ์ด ๋ฐฐ์ฐ์ง ๋ชปํ์๋ค.
์ง๊ธ์ VSCode์ Neovim Extension์ ์ฌ์ฉํ๊ณ ์๋ค. Nano๋ก ํ ์ ์๋๊ฑธ vim์ผ๋ก ๋ชจ๋ ํ ์ ์๋๋ก ๋ฐฐ์ฐ๋๋ฐ์ ๊ฑธ๋ฆฐ ์๊ฐ์ 10๋ถ๋จ์ง์ด์์ง๋ง, ์์ ์ต์ผ๋ฉด ์ต์์๋ก ์ Vi๋ฅผ ์ถ์ฒํ๋์ง ์ ์ ์์๋ค.
WSL์์ Neovim Extension์ ์ฌ์ฉํ๋ ค๋ฉด Extension ์ค์ ์์ WSL ์ต์ ์ ์ฒดํฌํ๊ณ Linux(WSL)์ Neovim path๋ฅผ ์ค์ ํด์ฃผ์ด์ผํ๋ค.
sudo apt-get install neovim # Debian
# neovim_path = /usr/bin/neovim