summaryrefslogtreecommitdiffstats
path: root/help/C/gedit-tabs.page
blob: 6145613ecc1bad2425adf460861a2e98081f97db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<page xmlns="http://projectmallard.org/1.0/"
      xmlns:its="http://www.w3.org/2005/11/its"
      type="topic"
      id="gedit-tabs">

  <info>
    <link type="guide" xref="index#gedit-working-with-files" group="third"/>
    <link type="seealso" xref="gedit-tab-groups"/>
    <desc>Organize your tabs.</desc>
  </info>

  <title>Move tabs</title>

  <p>
    By default, documents are opened in new tabs inside the same
    <app>gedit</app> window.
  </p>

  <section>
    <title>Move a tab</title>
    <p>
      There are several means to move a tab to another location, to organize the
      files you edit in the way you like.
    </p>
    <p>
      You can right-click on a tab title and choose the desired option.
    </p>
    <p>
      Keyboard shortcuts are available too.
    </p>

    <section id="drag-and-drop-tabs">
      <title>Drag and drop tabs</title>
      <p>
        Another means is to drag and drop a tab:
      </p>
      <steps>
        <item>
          <p>Click and hold the mouse button on the tab title.</p>
        </item>
        <item>
          <p>Move the tab to the desired location.</p>
        </item>
        <item>
          <p>Release the mouse button.</p>
        </item>
      </steps>
    </section>
  </section>

  <section>
    <title>Drag and drop locations</title>

    <section>
      <title>To re-order tabs within the same window</title>
      <p>
        Drag and drop the tab along the tabs titles.
      </p>
    </section>

    <section>
      <title>To create a new window from an existing tab</title>
      <p>
        Drag and drop the tab out of the <app>gedit</app> window.
      </p>
      <p>
        When <app>gedit</app> is maximized, drag the tab onto the top bar of
        <gui>GNOME Shell</gui> at the top of the screen.
      </p>
    </section>

    <section>
      <title>To move a tab from one gedit window to another</title>
      <p>
        Drag and drop the tab to the other window, either within the text area,
        or within the tabs titles to choose the exact location.
      </p>

      <!--
        This is currently not super convenient to use: once in the Activities
        overview, we don't have much time for choosing the right window. We
        often end up on a wrong window to drop the tab.
        So it's not a great tip to explain.
      -->
      <!--
      <note style="tip">
        <p>
          You may find it easier to move a tab from one window to another by
          dragging the tab to the <gui>Activities</gui> hot-corner of
          <gui>GNOME Shell</gui>. This will reveal each of the open
          <app>gedit</app> windows. You can then release the tab on the desired
          <app>gedit</app> window.
        </p>
      </note>
      -->
    </section>
  </section>
</page>