Skip to content

Instantly share code, notes, and snippets.

@sweeneydavidj
Created November 15, 2018 15:27
Show Gist options
  • Save sweeneydavidj/4a597da640b3b4615cfac85096a3f714 to your computer and use it in GitHub Desktop.
Save sweeneydavidj/4a597da640b3b4615cfac85096a3f714 to your computer and use it in GitHub Desktop.
Spacemacs project rename file
SPC f j - jump to Dired from a file
navigate to project root in Dired
SPC SPC (M-x) find-name-dired
return to confirm directory
type file name using wildcards *foo*
return - a dired buffer will be shown with all matched files
SPC b w to enter read-only mode
ESC
Edit file names (can use %s/foo/bar/g etc)
C-c C-c to save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment