答案1
你应该尝试像这样绑定它:
"\C-l":clear-screen
至少在我的 CentOS 7 测试机上这确实有效。不幸的是我现在找不到任何手动参考,但 bash 手册页上提到了这一点:
clear-screen (C-l)
Clear the screen leaving the current line at the top of the screen. With an argument, refresh the
current line without clearing the screen.