Rubin's Spacemacs notes

Published (last updated )

Miscellaneous

Shortcut Description
SPC b h Open Spacemacs home buffer
SPC f e d Open Spacemacs config file
SPC f e R Reload Spacemacs configuration
SPC a s i Open a regular shell
SPC a s e Open an emacs shell

Files

Shortcut Description
SPC f t Toggle sidebar
- Open a file from sidebar, slit horizontally
| Open a file from sidebar, slit vertically
SPC f r Open a recent file
SPC f L Find a file and open it
SPC f j Show the current file in dired
SPC f C d Convert file from unix to dos encoding
SPC f C u Convert file from dos to unix encoding

Buffers

Shortcut Description
SPC b b Switch to buffer using helm
SPC b d Kill the current buffer
SPC b K Kill all buffers except current
SPC b M Swap contents of a buffer interactively
SPC b k Move a buffer upwards
SPC b j Move a buffer downwards
SPC b h Move a buffer to the left
SPC b l Move a buffer to the right
SPC b R Reload buffer from disk

Windows

Shortcut Description
SPC T F Go fullscreen
SPC T M Go maximized
SPC w s Horizontal split
SPC w v Vertical split
SPC w c Close a window
SPC w w Cycle through windows
SPC w = Balance split windows
SPC w K Move window upwards
SPC w J Move window downwards
SPC w H Move window to the left
SPC w L Move window to the right
SPC w k or SPC w ↑ Move focus to window above
SPC w j or SPC w ↓ Move focus to window below
SPC w h or SPC w ← Move focus to window left
SPC w l or SPC w → Move focus to window right
SPC w . Enter windowing micro-state
[ Horizontally shrink window
] Horizontally enlarge window
{ Vertically shrink window
} Vertically enlarge window