add dired and magit modes