I'm transitioning from emacs to spacemacs. In emacs I use neotree to have a nice sidebar where I can explore my files. I like it on the right side, so inside my custom-set-variables
within my init file is:
'(neo-window-position (quote right))
which works perfectly.
BUT, with spacemacs things are different. I wrote that line inside my dotspacemacs/user-config()
and nothing happens, when I hit SPC f t
neotree still appears on the left side.
Can you help me to get it shown on the right? It's almost the only thing I need to feel comfortable working with spacemacs.
Thank you so much. :)
neo-tree-mode
might be loaded after yourcustom-set-variables
command has executed ?? Check your init file and confirm oncecustom-set-variables
why not add do something like this :-(eval-after-load "neotree" '(neo-window-position (quote right)))
. If even this does not work, maybe you should tryuse-package
. It has an option to specify commands to load after a package has been loaded (which is what you need to do)neotree-mode
, go to your*scratch*
buffer and copy paste'(neo-window-position (quote right))
and execute the command withC-M-x
and reloadneotree-mode
. It should pop up on the right after you do this. PS. I haven't useneotree
or spacemacs. but i assume this is how it should work(setq neo-window-position 'right)
indotspacemacs/user-config
works for me, so I don't know why it doesn't work for you. By the way, the expression'(neo-window-position (quote right))
doesn't do anything if it's not inside ofcustom-set-variables
.