# Pin Session

Using the `Pin Session` command you can pin a particular document to a particular session. Any time you switch to that document, that session will be used.

To pin a session to a document, open the document you wish to pin and press `Ctrl+Shift+P` and search for Pin Session. A list of sessions will be displayed. Select the session to pin. Any time you switch to that tab, that session will be used. You can unpin a session with `Unpin Session`.&#x20;

![](https://3667946160-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LNFE66tpE_51uobNA70%2F-M_7JbHehRt2C5jYHSov%2F-M_7Kz_b_om7f1PZXJuN%2Fpinsession.gif?alt=media\&token=4ef11abd-e963-4d5f-b115-535d0c865ee2)
