Neovim
설치
- Arch Linux
- Debian
- macOS
sudo pacman -S neovim
sudo ln -s `which nvim` /usr/local/bin/vim
sudo snap install --beta nvim --classic
sudo snap alias nvim vim
brew install neovim
NvChad
git clone https://github.com/NvChad/starter ~/.config/nvim && nvim
정보
starter를 수정해서 git에 저장해두고 사용해도 됩니다. e.g., https://github.com/hhk7734/custom.nvim
./
├── init.lua
├── LICENSE
├── lua/
│ ├── chadrc.lua
│ ├── configs/
│ │ ├── conform.lua
│ │ ├── lazy.lua
│ │ └── lspconfig.lua
│ ├── mappings.lua
│ ├── options.lua
│ └── plugins/
│ └── init.lua
└── README.md
키 매핑
<C>
: Ctrl<A>
: Alt<S>
: Shift<leader>
: Space<CR>
: Enter:
,;
,<cmd>
: 커맨드
LSP
- https://nvchad.com/docs/config/lsp
- https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md
Nvterm
<A-h>
: 수평 터미널 토글<A-v>
: 수직 터미널 토글<A-i>
: 터미널 모달 토글<leader>pt
: 터미널 목록