diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 228c9084..b0267201 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1596,6 +1596,10 @@ window is active in the perspective." (use-package rinari :ensure t) +(setq-default c-basic-offset 4 + tab-width 4 + indent-tabs-mode t) + ;; ============================================================================= ;; C/C++ ;; ============================================================================= diff --git a/dotfiles/slate.js b/dotfiles/slate.js index c8f80bef..599359c7 100644 --- a/dotfiles/slate.js +++ b/dotfiles/slate.js @@ -81,19 +81,4 @@ hyperBindAll({ u: slate.op("undo") }); -// Snapshot Stuff. -// hyperBindAll(_.object( -// _.range(1, 5).map(function(index) { -// var asString = index.toString(); -// return [asString, slate.op("snapshot", {"name": asString, "save": true, "stack": false})]; -// }) -// )); - -// hyperBindAll(_.object( -// _.range(5, 9).map(function(index) { -// var name = (index-4).toString(); -// var asString = index.toString(); -// return [asString, slate.op("activate-snapshot", {"name": name})]; -// }) -// )); slate.bindAll({"esc:cmd": hint, "space:alt": grid});