简体   繁体   English

需要 VSCode sendSequence 键绑定用于上一个命令、下一个命令、移动到行首、移动到行尾终端命令

[英]Need VSCode sendSequence keybindings for previous command, next command, move to start of line, move to end of line terminal commands

My current custom keybindings我当前的自定义键绑定

    {
        "key": "alt+b",
        "command": "workbench.action.terminal.sendSequence",
        "when": "terminalFocus",
        "args": {
            "text": "\u0017"
        }
    },
    {
        "key": "alt+j",
        "command": "workbench.action.terminal.sendSequence",
        "args": { "text": "\u001bb" }
      },
      {
        "key": "alt+l",
        "command": "workbench.action.terminal.sendSequence",
        "args": { "text": "\u001bf" }
      },
    {
        "key": "alt+n",
        "command": "workbench.action.terminal.sendSequence",
        "when": "terminalFocus",
        "args": {
            "text": "\u001bd"
        }

These work well with 1.45 update (integrated terminal update)这些适用于 1.45 更新(集成终端更新)

Reference - but I need more Information 参考- 但我需要更多信息

I want to use 'ijkl' keys like 'wasd' gaming standard like my custom project intuiter我想使用“ijkl”键,比如“wasd”游戏标准,就像我的自定义项目直觉

So My Idea is所以我的想法是

  • Can we send sequence to terminal to show Previous Command/Next command (like when we click Up/Down Arrow)我们可以将序列发送到终端以显示上一个命令/下一个命令(就像我们单击向上/向下箭头时)

  • moveToLineStart/moveToLineEnd sequence is removed with this update(sorry I can't find or make sequence) can we get this effect by sendSequence ?此更新删除了 moveToLineStart/moveToLineEnd 序列(抱歉,我找不到或无法制作序列)我们可以通过sendSequence获得此效果吗?

My current custom keybindings我当前的自定义键绑定

    {
        "key": "alt+b",
        "command": "workbench.action.terminal.sendSequence",
        "when": "terminalFocus",
        "args": {
            "text": "\u0017"
        }
    },
    {
        "key": "alt+j",
        "command": "workbench.action.terminal.sendSequence",
        "args": { "text": "\u001bb" }
      },
      {
        "key": "alt+l",
        "command": "workbench.action.terminal.sendSequence",
        "args": { "text": "\u001bf" }
      },
    {
        "key": "alt+n",
        "command": "workbench.action.terminal.sendSequence",
        "when": "terminalFocus",
        "args": {
            "text": "\u001bd"
        }

These work well with 1.45 update (integrated terminal update)这些适用于 1.45 更新(集成终端更新)

Reference - but I need more Information 参考- 但我需要更多信息

I want to use 'ijkl' keys like 'wasd' gaming standard like my custom project intuiter我想使用“ijkl”键,比如“wasd”游戏标准,就像我的自定义项目直觉

So My Idea is所以我的想法是

  • Can we send sequence to terminal to show Previous Command/Next command (like when we click Up/Down Arrow)我们可以将序列发送到终端以显示上一个命令/下一个命令(就像我们单击向上/向下箭头时)

  • moveToLineStart/moveToLineEnd sequence is removed with this update(sorry I can't find or make sequence) can we get this effect by sendSequence ?此更新删除了 moveToLineStart/moveToLineEnd 序列(抱歉,我找不到或无法制作序列)我们可以通过sendSequence获得此效果吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM