Linux tips

linux
Author

Haseong

Published

October 15, 2024

사용자 그룹 설정

사용자 그릅 추가

sudo groupadd sblabuser
sudo usermod -aG sblabuser haseong

공통 디렉토리 작성

sudo mkdir /mnt/alpha
sudo chown :sblabuser /mnt/alpha
sudo chmod 775 /mnt/alpha
sudo chmod g+s /mnt/alpha

lazyvim 설치

  • https://github.com/neovim/neovim/blob/master/INSTALL.md#ubuntu
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt-get install neovim
sudo apt-get install ripgrep
sudo apt install fd-find

quarto-vim 설치

  • 참고: https://github.com/jmbuhr/quarto-nvim-kickstarter
# 백업 
mv ~/.config/nvim ~/.config/nvim.bak

# 설치
git clone https://github.com/jmbuhr/quarto-nvim-kickstarter.git ~/.config/nvim

# 실행
nvim