- How do you navigate around directories?
- Open tree view in files neotree
- Shortcuts for neotree in evilmode in the docs
- Using search (
/
) can be super useful to move around quickly
- Use
SPC p D
to open the project root in Dired, and useSPC f j
to jump to the Dired buffer corresponding to current buffer.- Dired shortcuts
- copy
C
- rename
R
- delete
D
- compress
Z
files - create directories
+
- mark
m
- unmark
u
- refresh
g
- copy
- Dired shortcuts
- Open tree view in files neotree
- How do you add syntax highlighting for new languages?
- You can add that language into the languages list in
.spacemacs
- You can add that language into the languages list in
- How do you make new folders?
- You can call into the terminal (
SPC !
) and run mkdir. SPC : make-directory RET dirname RET
- You can call into the terminal (
- How do you make new files?
- You can call into the terminal (
SPC !
) and run touch.
- You can call into the terminal (
- How to view all buffers?
- There is an emacs shortcut to do it,
C-x C-b
SPC b b
- add the ibuffer layer and then
SPC b B
- There is an emacs shortcut to do it,
- Split tabs?
- In the space windows commands there's a command for split right
- Move between tabs?
- Same as above (
SPC w h/l
)
- Same as above (
- How to access projects easily?
- Why does evil mode's
gg
andG
not work in normal navigation? - How do you cycle through matches in a search?
- Once you perform a search using
/
you can usen/N
for going to next/previous match.
- Once you perform a search using
- How do you change indentation for a language (javascript 2 spaces)? For only the current file (specific project needs 6)?
- To change javascript indentation
- For project-specific indentation configuration, you can use .dir-locals.el (or .dir-locals*.el in Emacs 25 or later).
- For file-specific indentation, you can use file variables
- What's a normal startup time for Spacemacs?
- How to do a text search in directory (similar to Sublime's
CMD SHIFT f
)- Spacemacs is integrated with different search utilities like ack, grep, ag, and pt. The search commands in Spacemacs are organized under the SPC s prefix.
- To search in files in an arbitrary directory, use SPC s f. To search in a project, use SPC / (or SPC s p).
Last active
June 18, 2018 19:02
-
-
Save JuanCaicedo/04c9341783b65f8ac73b to your computer and use it in GitHub Desktop.
Questions I've had while learning spacemacs
FYI - the support for .dir-locals*.el
in Emacs 25 has been removed.
References:
Why does evil mode's gg and G not work in normal navigation?
it definitely should work in most modes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
do you mean
SPC p p
?