WebStorm - select 来自光标的所有文本

WebStorm - select all text from cursor

我想 select 从光标到文档末尾或文档开头的所有文本。我从 VSCode 搬了过来,它有一个快捷方式:

CMD+Shift+箭头UP/DOWN

并且在 VSCode 键盘映射设置中它看起来像这样:

我试图在 WebStorm 中找到它,但没有结果。

该功能称为 "Move Caret to Text Start with Selection" 或 "Move Caret to Text End with Selection",可以通过 Ctrl+Shift 找到+a(Windows查找动作),命令+Shift+a(Mac 查找操作),或使用搜索框在键盘映射下的设置中。在设置键盘映射下,可以将其分配给不同的击键组合。

On Windows Ctrl+Shift+Home and Ctrl+Shift+End

On Mac Shift+Command+Home and Shift+Command+End 如果键盘缺少 Home 和 End 替代 Fn+左箭头Fn+右箭头