# Navigating Wolvenkit

**Created:** Dec 03 2024 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")\
**Last documented update:** Dec 03 2024 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")

This page will tell you about keyboard shortcuts and nifty tricks that make working with Wolvenkit easier.

## Project Browser

The context menu in the project browser reacts to `Shift` and `Ctrl`, making other operations available. Check it out!

### Drag and drop

You can drag and drop files and folders to move them. Hold the `Ctrl` key to copy them instead.

### Rename and refactor

You can call up the rename dialogue by pressing f2, as long as you have a node in the project browser selected.

<figure><img src="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FszobpzoHsVQUGh8eyL6o%2Fimage.png?alt=media&#x26;token=b3df2870-519a-42f3-995f-4bf01c5f0715" alt=""><figcaption></figcaption></figure>

If you check the `Update in project files?` box, Wolvenkit will **automatically** try to update all references in your project to the new file path.

### Copy relative path

The context menu's `Copy Relative Path` action will show you other options if you hold `Shift` and/or `Ctrl`:

<figure><img src="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2F39OgPYMRJ7Av7tmhMcLn%2Fimage.png?alt=media&#x26;token=a6cf5419-af96-4d56-9f75-415ce767aef9" alt=""><figcaption></figcaption></figure>

### Collapse/expand a folder and its children

By holding the `Ctrl` key when you click on a folder, you can collapse or expand the whole folder and its children.

<figure><img src="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2F2bo4oO92InHDm6jUmpbL%2Fimage.png?alt=media&#x26;token=255c5132-26c2-450d-9001-f9d037e902af" alt=""><figcaption></figcaption></figure>

## File Editor

The file editor's context menu and menu bar react to `Shift` and `Ctrl`, making other operations available. Check it out!

### Difficulty mode

{% hint style="info" %}
If you're a beginner, stick to **Easy** mode — the person who implemented the feature does the same.
{% endhint %}

Check [editor-difficulty-mode](https://wiki.redmodding.org/wolvenkit/wolvenkit-app/editor/file-editor/editor-difficulty-mode "mention") for the full documentation.&#x20;

### Delete all but selection

Holding the `Shift` key while an array element is selected will offer you `Delete all but selection`  instead of `Delete selection`.

### Overwrite with selection

Holding the `Shift` key while pasting into an array will let you overwrite the current selection with your clipboard.

Holding down the `Ctrl` key as well will let you overwrite the entire array with your clipboard.

### Shift: Recursively fold/unfold

By holding `Shift` while  expanding a node, you can fold/unfold all of its children (and their children) according to specified rules for the most common node types:

<figure><img src="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FB4hV6QylHKKpsONuSIp4%2Fimage.png?alt=media&#x26;token=e560b1ad-ce23-4967-98ed-7117693065a7" alt=""><figcaption><p>Shift-unfolding </p></figcaption></figure>

### Double-Click: Fold/unfold all siblings

Double-clicking a node in an array will toggle the expansion state of all siblings to the expansion state of the node.

<figure><img src="https://4106170459-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FGCF5v7tEvX5E3KsdYSMc%2Fimage.png?alt=media&#x26;token=0c52e7a5-f559-436a-83da-7a59208dae47" alt=""><figcaption><p>This will collapse all other appearances in the list</p></figcaption></figure>

### f2: Search and replace in selection

You can search and replace in selection by using the context menu or pressing the f2 key.&#x20;

{% hint style="info" %}
This can take a long time if your file is big, so you should use the search box first!
{% endhint %}

### Clean up

Especially in mesh files, the Clean Up menu is your friend.&#x20;

**Clean up empty submeshes** will delete extra chunks from old templates.&#x20;

**Delete unused materials** will drop any material entries that aren't used by any of your appearances.
