A community-driven Emacs distribution - The best editor is neither Emacs nor Vim, it's Emacs *and* Vim!
smile13241324 on develop
Fix a previous attempted fix lo… (compare)
smile13241324 on develop
[bot] "built_in_updates" Fri Ju… (compare)
C-x C-f
to your custom function
SPC f f
or C-x C-f
to that
SPC f f
working now?
Okay, maybe then you are not in a file-buffer
I should be, i have a file open in spacemacs then i do C-x C-f, spacemacs opens the directory where the file is in, but the cursor is at the top instead of at the current file
(define-key global-map (kbd "C-x C-f") 'helm-find-files)
So you are using emacs editing style then?
Yes, i prefer that than vim style
M-:
then insert that line end press enter
user-config
section of your dotfile (and reload with M-m f e R
)
Or better, place it in the
user-config
section of your dotfile (and reload withM-m f e R
)
Thanks a lot! that did the trick!
Is there not a way to get the spacemacs/helm-find-file to do the same?
Yes there is
helm-current-directory
with buffer-file-name