cheatsheets/cheatsheets/spacemacs

80 lines
1.2 KiB
Plaintext

### Indenting text:
# Insert a literal tab:
Ctrl + q Tab
### Files manipulation commands (start with ~f~).
# Convert file from unix to dos encoding:
SPC f C d
# Convert file from dos to unix encoding:
SPC f C u
# Delete a file and the associated buffer:
SPC f D
# Open a file with elevated privileges:
SPC f E
# Open file:
SPC f f
# Open a file using the default external program:
SPC f o
# Rename the current file:
SPC f R
# Save a file:
SPC f s
# Save all file:
SPC f S
# Open a recent file:
SPC f r
# Toggle file tree side bar:
SPC f t
# Show current file absolute path in the minibuffer:
SPC f y
# Open the spacemacs dotfile:
SPC f e d
# Resync the dotfile with spacemacs:
SPC f e R
# Open ediff buffer of dotfile spacemacs and spacemacs template:
SPC f e D
# Display and copy the spacemacs version:
SPC f e v
### Buffer manipulation commands (start with ~b~).
# Switch to alternate buffer in the current window (switch back and forth):
SPC TAB
# Switch to a buffer using helm:
SPC b b
# Switch to next buffer:
SPC b n
# Switch to previous buffer:
SPC b p
# Switch to messages buffer:
SPC b m
# Kill the current buffer:
SPC b d
# Safe revert buffer (reload file from disk):
SPC b R