[英]Why don't all the readline shortcuts work in psql (or IRB, or the Rails console)?
In bash and zsh, you can use handy readline shortcuts like these to navigate between words, delete from the middle of the line, etc. 在bash和zsh中,您可以使用这些方便的readline快捷键在单词之间导航,从行中间删除等。
However, only a couple of these (Ctrl-A and Ctrl-E and a couple of others) work in psql, IRB, and the Rails console and probably others. 但是,只有其中几个(Ctrl-A和Ctrl-E以及其他几个)在psql,IRB和Rails控制台以及其他可能的其他控制台中工作。
Why is this, and how hard would it be to fix it? 为什么会这样,修复它有多难? It sure would be handy to be able to quickly navigate between words in a long SQL query.
能够在长SQL查询中的单词之间快速导航肯定会很方便。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.