Skip to content

Instantly share code, notes, and snippets.

@RyanJeong
Last active November 19, 2021 03:47
Show Gist options
  • Save RyanJeong/2d9ac5ea6dbf2d37d2ec3b014be0a0fb to your computer and use it in GitHub Desktop.
Save RyanJeong/2d9ac5ea6dbf2d37d2ec3b014be0a0fb to your computer and use it in GitHub Desktop.
VI default setting

$ sudo apt update && sudo apt install vim-gtk -y

$ vi ~/.vimrc

set number
syntax on
set ts=2
set sw=2
set sts=2
set expandtab
colorscheme desert

set clipboard=unnamedplus
@RyanJeong
Copy link
Author

au Bufenter *.(c|cpp|go|h|ino) set et
c, cpp, go, h, ino 확장자를 가진 파일을 수정할 때, tab을 space로 변환

@RyanJeong
Copy link
Author

ron(black)
pablo(black)
elfload(black)
darkblue(black)

set number
syntax on
set ts=4
set sw=4
set sts=4
set expandtab
colorscheme darkblue

@RyanJeong
Copy link
Author

pablo

@RyanJeong
Copy link
Author

peachpuff(white)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment