Spacemacs
Configurations
Section titled “Configurations”Details of dotfile configuration
- Go to spacemacs configuration file:
M-m f e d - Reload spacemacs configuration file:
M-m f e R - Default location:
.spacemacsis in your HOME directory- A dot directory
~/.spacemacs.d/can be used instead of a dotfile
- A dot directory
- Custom variables configuration from
M-x customize-groupbuilt-in Emacs feature are automatically saved by Emacs at the end of your~/.spacemacsfile - Layers and personal configurations can be added
Key Bindings
Section titled “Key Bindings”- Common command prefix:
M-m - Reserved prefix command for user:
M-m o- Setting key bindings behind these is guaranteed to never conflict with Spacemacs default key bindings
- Switch between windows:
alt-1,alt-2,alt-3,alt-4,alt-5 - Major mode command:
M-m-m
Introduction
Section titled “Introduction”- Uses layers to combine related packages
- Support VIM key bindings and regular emacs
- Update
- Spacemacs - will be shown in mode line, use link in home page
- Packages - use home page link
Layouts and Workspaces
Section titled “Layouts and Workspaces”- About layouts
- Activate layouts manager:
M-m l ? - Activate workspaces manager:
M-m l w - Create a new layout where # is the next layout number
M-m l+ # (e.g. 3 if there are 2 layouts already) - Create a project layout use
M-m p l - Layouts commands:
M-x persp...
Completion
Section titled “Completion”- Spacemacs uses Helm by default
Packages
Section titled “Packages”- Use
M-x package-list-packagesto browse packages but use Spacemacs layers and upgrade packages to manage them
Helm Buffers and Files
Section titled “Helm Buffers and Files”- Kill buffer:
M-m b d - Go to spacemacs home:
M-m b h - Browse buffers in transient state:
M-m b .