|(defun dotspacemacs/user-config ()|
|"Configuration function for user code.|
|This function is called at the very end of Spacemacs initialization after|
|This is the place where most of your configurations should be done. Unless it is|
|explicitly specified that a variable should be set before a package is loaded,|
|you should place your code here."|
|(global-set-key (kbd "C-x C-b") 'ibuffer-list-buffers)|
|(global-set-key (kbd "M-z") 'zap-up-to-char)|
|(global-set-key [remap move-beginning-of-line] #'crux-move-beginning-of-line)|
This opens a file in the already running Emacs instance provided you have
(server-start) in your init.el:
alias emax='/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n'
Note: I couldn't get the OS X
open command to use emacslient as the default editor. The bash EDITOR variable doesn't seem to work.