-
bash
# spacemacs config
alias spacemacs-insecure="emacs --insecure"
alias spacemacs-start="emacs -nw --daemon"
alias spacemacs-now="emacsclient -c . &"
alias spacemacs-client="emacsclient -c"
alias smi=spacemacs-insecure
alias sms=spacemacs-start
alias smn=spacemacs-now
alias smc=spacemacs-client
-
layers
(version-control :variables
version-control-diff-tool 'git-gutter+)
-
init
Smooth scroll for spacemacs (syl20bnr/spacemacs#1781 (comment))
;;; scroll one line at a time (less "jumpy" than defaults)
(setq mouse-wheel-scroll-amount '(2 ((shift) . 1))) ;; two lines at a time
(setq mouse-wheel-progressive-speed nil) ;; don't accelerate scrolling
(setq mouse-wheel-follow-mouse 't) ;; scroll window under mouse
;; mini buffers graph config
(setq ns-use-srgb-colorspace nil)
(setq powerline-default-separator 'utf-8)
;; indentation javascript
(setq-default
;; js2-mode
js2-basic-offset 2
js-indent-level 2
react-indent-level 2
javascript-indent-level 2
standard-indent 2
;; web-mode
css-indent-offset 2
web-mode-markup-indent-offset 2
web-mode-css-indent-offset 2
web-mode-code-indent-offset 2
web-mode-attr-indent-offset 2
indent-tabs-mode t)
;; other!
standard-indent 2
tab-width 2
indent-tabs-mode nil
js-indent-level 2
js2-basic-offset 2
js2-strict-semi-warning nil
js2-missing-semi-one-line-override nil
web-mode-markup-indent-offset 2
web-mode-css-indent-offset 2
web-mode-code-indent-offset 2
web-mode-indent-style 2
Emacs.app was installed to:
/usr/local/opt/emacs-plus
To link the application to default Homebrew App location:
brew linkapps
or:
ln -s /usr/local/opt/emacs-plus/Emacs.app /Applications
--natural-title-bar option was removed from this formula, in order to
duplicate its effect add following line to your init.el file
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
(add-to-list 'default-frame-alist '(ns-appearance . dark))
or:
(add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
(add-to-list 'default-frame-alist '(ns-appearance . light))
If you are using macOS Mojave, please note that most of the experimental
options are forbidden on Mojave. This is temporary decision.