• Skip to primary navigation
  • Skip to content
  • Skip to footer
(emacsian ohyecloudy)
  • Posts
  • Categories
  • Tags
  • Random
    Jongbin Oh

    Jongbin Oh

    I write something to think

    • South Korea
    • Twitter
    • Facebook
    • GitHub
    • Instagram
    • Email

    c++ 들여쓰기 스타일을 allman으로 하려면?

    less than 1 minute read

    (setq-default c-default-style "bsd"
                  c-basic-offset 4)
    

    preset에 allman 스타일이 없다. bsd 스타일에 4칸 들여쓰기를 적용하면 된다.

    참고 - How to change brace indentation levels in Emacs? - stackoverflow.com

    C-x C-s C-x C-c

    Tags: cc-mode, cpp, indent

    Categories: uncategorized

    Updated: 2017-09-30

    Twitter Facebook LinkedIn
    Previous Random Next

    You May Also Enjoy

    f/t 모션으로 한글도 검색하는 evil-snipe 설정

    1 minute read

    Emacs evil-mode를 사용하면 vim에서 사용하는 f/F, t/T 키를 사용할 수 있다. 예를 들어 fa 키를 누르면 현재 라인에 있는 a 문자를 찾는다. Evil-snipe 패키지를 사용하면 현재 라인뿐만 아니라 전체 문서로 검색 범위를 넓힐 수도 있고 연속된 두 글자를...

    f/t 모션을 확장하는 evil-snipe 패키지 - 두 문자 검색 지원 및 버퍼로 확장 찾기

    2 minute read

    hlissner/evil-snipe 패키지를 Henrik Lissner가 만들었다. Doom Emacs를 만든 사람이다. 그래서인지 Doom Emacs에 디폴트로 포함되어 있다. 익숙해지면 편리할 것 같아서 친해질 겸 정리해 본다.

    왜 C-d 키를 눌러 스크롤하면 절반 이상이 넘을까?

    2 minute read

    Emacs에서 Evil 모드를 사용하고 있다. Vim 키바인딩을 Emacs에서 사용하기 위해서다. Emacs와 Vim을 같이 쓰는 대화합의 장이다.

    팝업을 2등 시민으로 만드는 Doom Emacs popup 모듈

    2 minute read

    Not all windows are created equally. Some are less important. Some I want gone once they have served their purpose, like code output or a help buffer. Oth...

    • Feed
    © 2025 (emacsian ohyecloudy). Powered by Jekyll & Minimal Mistakes.