Skip to content

Instantly share code, notes, and snippets.

@fujieda
Created February 9, 2013 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fujieda/4743730 to your computer and use it in GitHub Desktop.
Save fujieda/4743730 to your computer and use it in GitHub Desktop.
Set c-basic-offset to 2.
(add-hook 'c++-mode-hook
(lambda ()(setq c-basic-offset 2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment