Debian Codegraph @

docs/pin-items.rst

raw
1 Pin Items
2 =========
3
4 This page describes how to pin selected items in a tab so they cannot be
5 accidentally removed or moved from current row.
6
7 Why pin items?
8 --------------
9
10 There are two main reasons to pin items.
11
12 If a new item is added to a list (e.g. automatically when clipboard changed),
13 rest of the items need to move one row down, except pinned items which stay on
14 the same row. This is useful to **pin important items to the top of the list**.
15
16 If a tab is full (see option "Maximum number of items in history" in "History"
17 configuration tab), adding a new item removes old item from bottom of the list.
18 **Pinned items cannot be removed** so the last unpinned item is removed
19 instead.
20
21 .. note::
22
23 New items cannot be added to a tab if all its items are pinned and the tab
24 is full.
25
26 Configuration
27 -------------
28
29 .. note::
30
31 On Windows, to enable this feature you need to install "Pinned Items"
32 plugin.
33
34 To enable this functionality, assign keyboard shortcut for Pin and Unpin
35 actions in "Shortcuts" tab in Preferences (``Ctrl+P``).
36
37 .. note::
38
39 Keyboard shortcut for both menu items can be the same since at most one of
40 the menu items is always visible.
41
42 Pinning Items
43 -------------
44
45 If set up correctly, when you select items, Pin action should be available in
46 toolbar, context menu and "Item" menu.
47
48 Selecting the Pin menu item (or pressing assigned keyboard shortcut) will pin
49 selected items to their current rows.
50
51 Pinned items will show with **gray bar on the right side** in the list.
52
53 Deleting pinned items won't work, unpin the items first.
54 Unpin action is available if an pinned item is selected.
55
56 Pinned items also will stay in same rows unless you **move them with mouse or
57 using keyboard shortcuts** (``Ctrl+Up/Down/Home/End``).