oil.nvim
oil.nvim copied to clipboard
Add config key to set the file creation permissions
This PR defines a new config key called create_files_mode to set the default permission used when a file is created.
Currently, Oil uses 644 (420 in decimal) but, at least on Linux most of the tools like (n)vim, touch, or even a simple > filename by default uses 664 (436 decimal) so, with this option the user is able to set the default value.
Hey, all changes are done, so it's ready if you want to review it again. Thanks!