I am trying to rename open files in sublime text 2. In version 2.0.1 Build 2217, you could rename by pressing f2
or by opening the command palette by pressing
Ctrl + Shift + P and entering rename
. However in the latest version of sublime text 2 which is 2.0.2 Build 2221 when you try to do the same thing nothing happens. I have also entered the following command in the users key binding file but again nothing happens.
{ "keys": ["f2"], "command": "rename_path", "args": {"paths":
[]} }
This happens on both windows & linux. I have tried this on a fresh copy of Sublime Text 2 with no plugins.
Best Answer
Copy to your User keymap
Create directory/file in your Packages folder: "...Packages/RenameFile/rename_file.py"