In bash I can pipe the output of history
to awk
, sort
and other utilities to get a nicely formatted view of my most used commands, and I was wondering if there was a way to achieve the same thing in Vim.
在bash中,我可以将历史输出传递给awk,sort和其他实用程序,以获得我最常用命令的格式良好的视图,我想知道是否有办法在Vim中实现相同的功能。
I'm mostly interested in normal mode commands, but it would be great to get a general overview including insert, visual and ex mode commands as well.
我最感兴趣的是普通模式命令,但是获得包括插入,可视和ex模式命令在内的一般概述会很棒。
1 个解决方案
#1
0
You can use suggestions posted at (How do you search through vim's command history?) but I don't think there's the fully integrated reverse lookup option that you get with bash built in
您可以使用发布的建议(如何搜索vim的命令历史记录?)但我认为没有内置bash的完全集成的反向查找选项
#1
0
You can use suggestions posted at (How do you search through vim's command history?) but I don't think there's the fully integrated reverse lookup option that you get with bash built in
您可以使用发布的建议(如何搜索vim的命令历史记录?)但我认为没有内置bash的完全集成的反向查找选项