# Open / Close

In goormIDE, you can open source code files, as well as Vim editor and ZIP/TAR files.&#x20;

It also remembers recently opened files so you can easily get back to what you were working on.

### File - Default editor

To open a file, double-click the file you want to open in the Project Explorer on the left layout of goormIDE, or right-click and go to **\[Open]** or **\[Open with] > \[Default Editor]**.

Alternatively, go to **\[File] > \[Open File]** or press the default shortcut **`Ctrl + O (Mac: ⌘O)`**. \
In the '**Open File**' pop-up window that appears, select the file and press the **`OK`** button to open it. \
Depending on the file's extension, it may open in the default editor, or it may open in a document viewer, **Some extensions may not open because they are not supported.**

<figure><img src="/files/jorazuISWE1YreC5FekS" alt="" width="563"><figcaption></figcaption></figure>

To view recently opened files, go to **\[File] > \[Open Recent Files]**. \
You can see up to five recently opened files, and clicking each file name will open the file. \
However, you may not be able to open files from other users that have been deleted or unshared.

Click **`Clear`** to clear your history.

<figure><img src="/files/4XxMGmr3aG8RrtPjDZKn" alt=""><figcaption></figcaption></figure>

### Vim Editor (Vim)

In addition to the regular editor, goormIDE also provides a Vim editor. When you open a file with the Vim editor, you can open the editor in the same environment as running Vim in the terminal.&#x20;

To open the Vim editor, right-click the file you want to open in the Project Explorer on the left layout of goormIDE, and then go to **\[Open as] > \[Vim Editor]**. \
This will open the editor with the editing environment set to Vim instead of the terminal. \
You can still use Vim shortcuts in the editor, and they work exactly the same as in Vim.

<figure><img src="/files/vFM7IThJ4N9AfIGzPjQj" alt=""><figcaption></figcaption></figure>

![](/files/-Lvs3PZN_u_u_KrierYC)

### Compress or Decompress with ZIP / TAR

You can use the ZIP/TAR compression/decompression feature.&#x20;

Right-click the file and click the **\[Compress/Decompress]** menu.

<figure><img src="/files/OAm6pPj1KD1UNSubsJXh" alt="" width="300"><figcaption></figcaption></figure>

\
Alternatively, go to **\[File] > \[Compress]**. \
After extracting, you will have a folder with the same name as the compressed file in the same location, with the contents of the compressed file under it.

<figure><img src="/files/5hB9pOPlJ0DqxVf7cNzt" alt=""><figcaption></figcaption></figure>

You can also unzip the archive by double-clicking the archive you want to open in the Project Explorer on the left layout of goormIDE.

### Close

To close a window, you can press the **`X`** icon to the far right of each window's tab title, or wheel-click the editor tab to close it.&#x20;

Alternatively, go to **\[File] > \[Close]** or press the default keyboard shortcut **`Alt + X (Mac: ⌥X)`**.&#x20;

You can also close a window by right-clicking the tab of the window you want to close and clicking the **\[Close]** menu. This will close the currently active window.

<figure><img src="/files/G36BnKk64cPyCM5yWajE" alt=""><figcaption></figcaption></figure>

To close all windows other than a specific window, right-click on the tab of the window you want to leave behind and click the **\[Close Other Tabs]** menu. \
This feature only works within the current workspace. It does not affect other workspaces.&#x20;

To close all tabs to the right of the currently selected window, right-click on a tab in the window and click the **\[Close Tabs to the Right]** menu. \
This function only works within the current workspace. It does not affect other workspaces.&#x20;

To close all windows, go to **\[File] > \[Close All]** or press the default keyboard shortcut **`Alt + Shift + X (Mac: ⌥⇧X)`**. \
This function applies to all workspaces, closing all open windows without regard to workspace.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.goorm.io/en/goormide/workspace/file-management/open-close.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
