VSCode终端以前的命令 [英] VSCode terminal previous commands

查看:1454
本文介绍了VSCode终端以前的命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自从添加了Visual Studio Code中的集成终端以来,我一直在使用它,但是我注意到一个非常令人沮丧的功能/错误.

I've been using the integrated terminal in Visual Studio Code a lot since it was added, but I noticed a very frustrating feature/bug.

我正在使用Windows 10 Bash终端,并且似乎无法通过使用向上"箭头访问以前的命令历史记录.是将其重新映射到另一个密钥还是根本行不通?

I am using the Windows 10 Bash terminal, and cannot seem to access the previous command history by using the "Up" arrows. Did this get remapped to another key or does it simply not work?

推荐答案

偶然按下几个键后,偶然找到了答案.似乎最常见的命令已映射到以下默认值:

Found the answer by accident, after accidentally hitting a few keys. It seems the most common commands have been mapped to the following defaults:

上一个命令: Ctrl + P

下一个命令: Ctrl + N

向左光标: Ctrl + B (向后)

光标向右: Ctrl + F (向前)

光标首页: Ctrl + A

光标结尾: Ctrl + E (结尾)

从光标位置删除: Ctrl + D (del)

清除屏幕: Ctrl + L

这篇关于VSCode终端以前的命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆