Open gwenzek opened 4 years ago
I fixed a bug that was happening in the rename mode. I accidentally changed how the space after the icon was scoped which make the rename mode go crazy. I also updated the regex in the backspace keybinding to prevent the users from deleting the icon.
I had an issue where folding folder didn't work as expected in some specific circumstances. Sometimes _get_name_point returns the folder icon instead of the start of the file name. I added a specific test for that.
Hi, this PR is more a proof of concept right now I haven't properly tested it, particularly with ST2. I'm opening this to check the interest and get early feedback on how this should be implemented and what can possibly go wrong.
The idea is to replace the generic
≡
file prefix with something that depends on the file extension. Using this with Nerd fonts it can results in a menu like this:Here is what my settings file looks like (which render as garbage unless you have the correct font):
The mixed unicode characters and escape is because settings files are overriden by FileBrowser plugin in a way that doesn't preserved the escaping. I'm not sure what the best way to share this. You can find unicode for an icon with the Nerd Fonts search tool.