gruvbox 설치 : Retro groove color scheme for Vim

2021. 9. 11. 21:21·Computer/ETC
728x90
728x90

2020년 최고의 Vim color-schemes에서 1위를 한 것.

iPad의 ish와 새로 구매한 노트북에 같이 설치를 함.
간만에 설정을 하다보니 재밌고 즐겁네.

True Color사용설정.

~/.vimrc에 다음을 추가.

set termguicolors

제대로 색이 보이려면 다음을 만족해야함.

  1. vim 에서 termguicolors 지원해야 함.
  2. True color을 지원하는 터미널 사용할것.

gruvbox 설치

우선, Vundle 을 plugin manager로 사용하여 설치했음을 명심할 것.

~/.vimrc에 다음을 추가.


set rtp+=~/.vim/bundle/Vundle.vim "Vundle 설치가 된 경우, 해당 라인이 확인 가능.

...
call vundle#begin() "vim용 plugin들 위치.
...
    Plugin 'morhetz/gruvbox' "실제 gruvbox 설치를 위한 라인.
...
call vundle#end()
...
"아래 라인은 취향에 맞게 바꿀 수 있음.
let g:gruvbox_contrast_dark="hard"
set background=dark
autocmd vimenter * colorscheme gruvbox

이후 terminal에서 다음을 수행.

vim +PluginInstall +qall
  • gruvbox_contrast_dark에서 지원하는 contrast는 hard외에도 medium,soft가 있음.
  • set background=dark와 같이 dark로 지정했으나, light도 선택가능함.

설치된 vim

설치된 결과는 다음과 같음.

Etc.

vscode에서도 gruvbox color theme가 지원된다.

gruvbox material

Reference

  • morhetz/gruvbox
  • official wiki
  • YIRUM.NET

'Computer > ETC' 카테고리의 다른 글

Pathogen 사용하기 : iVim  (0) 2021.09.20
iVim : iPad용 vi editor  (0) 2021.09.13
Git: autocrlf 설정: 개행문자  (0) 2021.09.11
Windows 11 미리설치와 카카오톡  (0) 2021.09.06
핵실드에러  (0) 2009.12.20
'Computer/ETC' 카테고리의 다른 글
  • Pathogen 사용하기 : iVim
  • iVim : iPad용 vi editor
  • Git: autocrlf 설정: 개행문자
  • Windows 11 미리설치와 카카오톡
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (740)
      • Private Life (13)
      • Programming (186)
        • DIP (104)
        • ML (26)
      • Computer (119)
        • CE (53)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (351)
        • Signals and Systems (103)
        • Math (172)
        • Linear Algebra (33)
        • Physics (42)
        • 인성세미나 (1)
      • 정리필요. (54)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (1)
        • PET Study 2009 (1)
        • 방사선 장해방호 (4)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

    • Test
    • PET Study 2009
    • 기타 방사능관련.
  • 인기 글

  • 태그

    numpy
    Term
    인허가제도
    function
    검사
    random
    Python
    Probability
    linear algebra
    math
    SIGNAL
    Programming
    signal_and_system
    Convolution
    SS
    opencv
    signals_and_systems
    Optimization
    Vector
    fourier transform
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
gruvbox 설치 : Retro groove color scheme for Vim
상단으로

티스토리툴바