diff --git a/client/modules/IDE/components/KeyboardShortcutModal.jsx b/client/modules/IDE/components/KeyboardShortcutModal.jsx
index 871b41c967..178c1bc7d4 100644
--- a/client/modules/IDE/components/KeyboardShortcutModal.jsx
+++ b/client/modules/IDE/components/KeyboardShortcutModal.jsx
@@ -4,11 +4,17 @@ import { metaKeyName, metaKey } from '../../../utils/metaKey';
function KeyboardShortcutModal() {
const { t } = useTranslation();
- const replaceCommand =
- metaKey === 'Ctrl' ? `${metaKeyName} + H` : `${metaKeyName} + ⌥ + F`;
const newFileCommand =
metaKey === 'Ctrl' ? `${metaKeyName} + Alt + N` : `${metaKeyName} + ⌥ + N`;
const renameCommand = metaKey === 'Ctrl' ? 'F2' : 'Ctrl + F2';
+ const moveLineUpCommand =
+ metaKey === 'Ctrl'
+ ? `${metaKeyName} + Shift + Up`
+ : `${metaKeyName} + Ctrl + Up`;
+ const moveLineDownCommand =
+ metaKey === 'Ctrl'
+ ? `${metaKeyName} + Shift + Down`
+ : `${metaKeyName} + Ctrl + Down`;
return (
@@ -48,10 +54,6 @@ function KeyboardShortcutModal() {
{t('KeyboardShortcuts.CodeEditing.FindPreviousTextMatch')}
-
- {replaceCommand}
- {t('KeyboardShortcuts.CodeEditing.ReplaceTextMatch')}
-
{metaKeyName} + [
{t('KeyboardShortcuts.CodeEditing.IndentCodeLeft')}
@@ -80,6 +82,18 @@ function KeyboardShortcutModal() {
{renameCommand}
{t('KeyboardShortcuts.CodeEditing.RenameVariable')}
+
+
+ {moveLineUpCommand}
+
+ {t('KeyboardShortcuts.CodeEditing.MoveLineUp')}
+
+
+
+ {moveLineDownCommand}
+
+ {t('KeyboardShortcuts.CodeEditing.MoveLineDown')}
+
{t('KeyboardShortcuts.General')}
diff --git a/translations/locales/en-US/translations.json b/translations/locales/en-US/translations.json
index ae174ba1f7..153f6f34e7 100644
--- a/translations/locales/en-US/translations.json
+++ b/translations/locales/en-US/translations.json
@@ -257,7 +257,7 @@
"SublimeText": "Sublime Text shortcuts",
"CodeEditing": {
"Tidy": "Tidy",
- "FindText": "Find Text",
+ "FindText": "Find / Replace Text",
"FindNextMatch": "Find Next Match",
"FindPrevMatch": "Find Previous Match",
"ReplaceTextMatch": "Replace Text Match",
@@ -269,7 +269,9 @@
"CodeEditing": "Code Editing",
"ColorPicker": "Show Inline Color Picker",
"CreateNewFile": "Create New File",
- "RenameVariable": "Rename Variable"
+ "RenameVariable": "Rename Variable",
+ "MoveLineUp": "Move Line Up",
+ "MoveLineDown": "Move Line Down"
},
"General": "General",
"GeneralSelection": {