Skip to content

Instantly share code, notes, and snippets.

@drslump73
Last active August 18, 2018 15:29
Show Gist options
  • Save drslump73/43859dd2cfcf1cc0c545c779d1814a43 to your computer and use it in GitHub Desktop.
Save drslump73/43859dd2cfcf1cc0c545c779d1814a43 to your computer and use it in GitHub Desktop.
spc f f find file, create file
spc b b mini buffer(find and open previously opened file)
spc j I imenu function list(search function lists)
spc f t toggle neotree
spc 0 go to neotree window
spc 1..9 go to numbered window
spc f j dired jump (file manager)
spc a r ranger (another file manager)
spc f s save file
spc q q quit spacemacs editor
spc f e d edit .spacemacs(config file)
spc f e R reload .spacemacs(reload config)
spc q r reload spacemacs editor
in find file or mini buffer C-c C-f follow mode(!!)
spc p p open project(have to create .projectile file in project root)
spc p f find file in project
spc p b project buffer
spc p t neotree in project
spc r y open yank kill ring(clipboard list)
spc w v split window vertical
spc w s split window horizontal
spc w d close this window
spc w w move next window
spc w m toggle maximize/minimize this window
spc w D close other windows
spc l layout menu interactive
in layout menu
s save this layout
L load named layout
spc / search in project
spc * search word on cursor in project
spc s s search in this file(swoop)
spc s S search word on cursor in this file
in dired mode spc f f create file
spc t a toggle autocomplete
spc T T transparency setting
spc f T show this file in neotree
spc j = auto indent
spc t n toggle line number
in normal mode
g c c toggle comment out this line
select block and g c toggle comment out this region
g y comment out this line and yank it below
spc w u undo window status(winner-mode)
spc w U redo window status(winner-mode)
spc i s helm-yasnippet
adding new yasnippet
in normal mode
:yas-new-snippet
adding new yasnippet with selected block
block select and :helm-yas-create-snippet-on-region
spc b m clear all buffers except this
spc h M change major mode
% go to pairing parentheses
delete trailing whitespace
spc x d w
change encoding and newline
C-x RET f
using calendar
add japanese holiday
add cmigemo first!
brew install cmigemo
git clone https://github.com/kenjimyzk/spacemacs-japanese.git ~/.emacs.d/private/japanese
add 'japanese' at dotspacemacs-configuration-layers
add calfw
git clone https://github.com/dudelson/spacemacs-calendar-layer.git ~/.emacs.d/private/calendar
add 'calendar' at dotspaces-configuration-layers
emacs server mode
/usr/local/Cellar/emacs-plus/25.3/bin/emacs --daemon
/usr/local/Cellar/emacs-plus/25.3/bin/emacsclient -c
when closing emacs
SPC q z (frame-killer)
using built-in shell
SPC a s T
in shell, return to editor
C-c o
using imenu-list
first, add imenu-list layer
SPC b i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment