Repository navigation
Creating Files and Folders
Ctrl+Shift+N, or context menu of the empty part of the listing → New folder, asks for a name and creates the folder in the open folder. The name field starts with "New Folder".
Ctrl+Alt+N, or context menu of the empty part → New file, opens a dialog with a name field and a list of templates. Pick a template, type a name, and confirm.
| Template | File name | Contents |
|---|---|---|
| Empty file | Untitled |
nothing |
| Text document | Untitled.txt |
nothing |
| Markdown document | Untitled.md |
# |
| Shell script | script.sh |
#!/usr/bin/env bash and set -euo pipefail; executable |
| Python script | script.py |
#!/usr/bin/env python3 and an if __name__ == "__main__": block; executable |
| HTML page | index.html |
An HTML5 skeleton |
| JSON file | Untitled.json |
{} |
Every file in the templates folder is offered after the built-in templates, by name. Ski also looks one level into subfolders. A new file from such a template is a copy of it, with the same extension.
The templates folder is the desktop's Templates folder (XDG_TEMPLATES_DIR in ~/.config/user-dirs.dirs, usually ~/Templates). Settings → Behavior → Templates sets another one; Open templates folder opens it.
New files and folders are created in regular folders. In Recent, Bookmarks, the trash and search results, the New entries are absent.
New files and folders can be undone with Ctrl+Z; undo moves them to the trash.