================================= GitLab (macOS) keyboard shortcuts ================================= First published at 8/10/2022 on https://defkey.com/gitlab-macos-shortcuts GitLab is a integrated solution covering the software development life cycle, and the whole DevOps life cycle. It offers its own project hosting service, also known as GitLab. The service is popular between open source projects. GitLab (macOS) has 198 shortcuts and we have listed all of them below. General ------- ? Show or hide the shortcut reference sheet Shift + P Go to your Projects page Shift + G Go to your Groups page Shift + A Go to your Activity page Shift + L Go to your Milestones page Shift + S Go to your Snippets page S Put cursor in the search bar / Put cursor in the search bar F Put cursor in the filter bar Shift + I Go to your Issues page Shift + M Go to your Merge requests page Shift + T Go to your To-Do List page P then B Show or hide the Performance Bar Esc Hide tooltips or popovers G then X Toggle between GitLab and GitLab Next (GitLab SaaS only) . Open the Web IDE Editing text in text fields --------------------------- These shortcuts are available for comments, replies, issue descriptions, and merge request descriptions. Up arrow Edit your last comment. You must be in a blank text field below a thread, and you must already have at least one comment in the thread Ctrl + Shift + P Toggle Markdown preview when editing text in a text field that has Write and Preview tabs at the top Ctrl + B Bold the selected text (surround it with **) Ctrl + I Italicize the selected text (surround it with _) Ctrl + Shift + X Strike through the selected text (surround it with ~~) Ctrl + K Add a link (surround the selected text with []()) Project ------- These shortcuts are available from any page in a project. You must type them relatively quickly to work, and they take you to another page in the project. G then P Go to the project home page (Project > Details). G then V Go to the project activity feed (Project > Activity). G then R Go to the project releases list (Project > Releases). G then F Go to the project files list (Repository > Files). T Go to the project file search page. (Repository > Files, select Find Files). G then C Go to the project commits list (Repository > Commits). G then N Go to the repository graph page (Repository > Graph). G then D Go to repository charts (Analytics > Repository Analytics). G then I Go to the project issues list (Issues > List). I Go to the New Issue page (Issues, select New Issue ). G then B Go to the project issue boards list (Issues > Boards). G then M Go to the project merge requests list (Merge Requests). G then J Go to the CI/CD jobs list (CI/CD > Jobs). G then L Go to the project metrics (Monitor > Metrics). G then E Go to the project environments (Deployments > Environments). G then K Go to the project Kubernetes cluster integration page (Infrastructure > Kubernetes clusters). You must have at least maintainer permissions to access this page. G then S Go to the project snippets list (Snippets). G then W Go to the project wiki (Wiki), if enabled. . Open the Web IDE. Issues ------ E Edit description. A Change assignee. M Change milestone. L Change label. R Start writing a comment. Pre-selected text is quoted in the comment. Can’t be used to reply in a thread. . Open the Web IDE. Right arrow Go to the next design. Left arrow Go to the previous design. Esc Close the design. Merge requests -------------- ] Move to next file J Move to next file [ Move to previous file K Move to previous file Cmd + P Search for, and then jump to a file for review N Move to next unresolved discussion P Move to previous unresolved discussion B Copy source branch name R Start writing a comment. Pre-selected text is quoted in the comment. Can’t be used to reply in a thread C Move to next commit X Move to previous commit Project files ------------- Up arrow Move selection up. Down arrow Move selection down. Enter Open selection. Esc Go back to file list screen (only while searching for files, Repository > Files, then select Find File). Y Go to file permalink (only while viewing a file). . Open the Web IDE. Web IDE ------- Option + Cmd + Up arrow Add cursor above Option + Cmd + Down arrow Add cursor below Shift + Option + I Add cursors to line ends Cmd + K then Cmd + C Add line comment Cmd + D Add line comment Cmd + F2 Add selection to next find match F1 Change all occurrences Shift + Option + Down arrow Command palette Shift + Option + Up arrow Copy line down Cmd + U Copy line up (Linux note) Cmd + Backspace Cursor undo Control + K Delete all left Shift + Cmd + K Delete line Control + Shift + Cmd + Right arrow Expand selection Cmd + P File finder Cmd + F Find Enter Find next Cmd + F3 Find next Shift + Enter + F3 Find next selection (Linux note) Shift + Cmd + F3 Find previous Cmd + E Find previous selection Option + Cmd + [ Fold Cmd + K then Cmd + O Fold all Cmd + K then Cmd + / Fold all block comments Cmd + K then Cmd + 8 Fold all regions Cmd + K then Cmd + + Fold all regions except selected Cmd + K then Cmd + 1 Fold level 1 Cmd + K then Cmd + 2 Fold level 2 Cmd + K then Cmd + 3 Fold level 3 Cmd + K then Cmd + 4 Fold level 4 Cmd + K then Cmd + 5 Fold level 5 Cmd + K then Cmd + 6 Fold level 6 Cmd + K then Cmd + 7 Fold level 7 Cmd + K then Cmd + [ Fold recursively Shift + Cmd + \ Go to bracket Control + G Go to line or column Option + F8 Go to next problem (error, warning, information) F8 Go to next problem in files (error, warning, information) Shift + Option + F8 Go to previous problem (error, warning, information) Shift + F8 Go to previous problem in files (error, warning, information) Cmd + ] Indent line Shift + Cmd Insert line above Cmd + Enter Insert line below Control + J Join lines (Linux note) Cmd + K then Cmd + D Move last selection to next find match Option + Down arrow Move line down Option + Up arrow Move line up Cmd + [ Outdent line Shift + Cmd + P Preview Markdown (Linux note) Cmd + K then Cmd + U Remove line comment Option + Cmd + F Remove line comment Shift + Cmd + . Replace Shift + Cmd + , Replace with next value Cmd + S Replace with previous value Shift + Cmd + L Save files Cmd + K then Cmd + B Select all occurrences of find match Option + F1 Set selection anchor Shift + F10 Show accessibility help Cmd + K then Cmd + I Show editor context menu Control + Shift + Cmd + Left arrow Show hover Shift + Option + A Shrink selection Cmd + K then Cmd + L Toggle block comment Control + Shift + M Toggle fold Cmd + / Toggle Tab key moves focus Control + T Toggle line comment Control + Space Trigger Suggest Cmd + K then Cmd + X Trim trailing whitespace Option + Cmd + ] Unfold Cmd + K then Cmd + J Unfold all Cmd + K then Cmd + 9 Unfold all regions Cmd + K then Cmd + = Unfold all regions except selected Cmd + K then Cmd + ] Unfold recursively Cmd + K then Cmd + X Trim trailing whitespace Cmd + Enter Commit (when editing the commit message). Repository graph ---------------- Left arrow Scroll left H Scroll left Right arrow Scroll right L Scroll right Up arrow Scroll up K Scroll up Down arrow Scroll down J Scroll down Shift + Up arrow Scroll to top Shift + K Scroll to top Shift + Down arrow Scroll to bottom Shift + J Scroll to bottom Wiki pages ---------- E Edit wiki page Content editor -------------- Cmd + C Copy Cmd + X Cut Cmd + V Paste Cmd + Shift + V Paste without formatting Cmd + Z Undo Cmd + Shift + V Redo Shift + Enter Add a line break Formatting ---------- Cmd + B Bold Cmd + I Italic Cmd + Shift + X Strikethrough Cmd + E Code Cmd + Option + 0 Apply normal text style Cmd + Option + 1 Apply heading style 1 Cmd + Option + 2 Apply heading style 2 Cmd + Option + 3 Apply heading style 3 Cmd + Option + 4 Apply heading style 4 Cmd + Option + 5 Apply heading style 5 Cmd + Option + 6 Apply heading style 6 Cmd + Shift + 7 Ordered list Cmd + Shift + 8 Unordered list Cmd + Shift + 9 Task list Cmd + Shift + B Blockquote Cmd + Option + C Code block Cmd + , Subscript Cmd + . Superscript Tab Indent list Shift + Tab Outdent list Text selection -------------- Cmd + A Select all Shift + Left arrow Extend selection one character to left Shift + Right arrow Extend selection one character to right Shift + Up arrow Extend selection one line up Shift + Down arrow Extend selection one line down Cmd + Shift + Up arrow Extend selection to the beginning of the document Cmd + Shift + Down arrow Extend selection to the end of the document Filtered search --------------- Cmd Clear entire search filter Option Clear one token at a time Epics (Premium) --------------- R Start writing a comment. Pre-selected text is quoted in the comment. Can’t be used to reply in a thread E Edit description L Change label Metrics ------- E Expand panel L View logs D Download CSV C Copy link to chart A Alerts Last modified on (UTC): Wednesday, August 10, 2022 Defkey © All rights reserved.