oil.nvim icon indicating copy to clipboard operation
oil.nvim copied to clipboard

Add config key to set the file creation permissions

Open fortizc opened this issue 1 year ago • 1 comments

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.

fortizc avatar Dec 13 '24 23:12 fortizc

Hey, all changes are done, so it's ready if you want to review it again. Thanks!

fortizc avatar Jan 26 '25 20:01 fortizc