AutoHotkey vs GVim
When comparing AutoHotkey vs GVim, the Slant community recommends AutoHotkey for most people. In the question“What are the best power user tools for Windows?” AutoHotkey is ranked 7th while GVim is ranked 28th. The most important reason people chose AutoHotkey is:
Basic Stuff is very easy and even advanced programming is possible, as the language is now able to use objects and classes and has a ton of free libraries and one of the most helpful and friendly communities on the Internet.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Easy To Learn but extremely Powerful
Basic Stuff is very easy and even advanced programming is possible, as the language is now able to use objects and classes and has a ton of free libraries and one of the most helpful and friendly communities on the Internet.
Pro Powerful
Can interact with any Windows program / dialog / form, filling fields, submitting data, etc., without dependency on the window placement.
Pro Allows for extremely easy remapping keys and buttons on your keyboard, joystick, and mouse
You can reprogram any key combination, including the Windows key with a syntax like this one:
h::msgbox true
that automatically remaps the H key to show a message box.
Pro Can map keys to scripts
Pro Scripting of common procedures
AHK allows full scripts to be created and used, it is very flexible.
Pro Helpful forum
Pro Programming language is easier to learn and to use
Pro Good help documentation
Pro C-like syntax
C-like languages dominate the industry, making it easier to switch over to other ones in the C family.
Pro Fully programmable
With a full programming language powering the hotkeys, including GUIs, it is powerful and flexible.
Pro Vim without a shell
When opening files from the file manager, it is still nice to have vim.
Pro Excellent performance
Because it loads the whole file into RAM, replacing all string occurences in 100MB+ files is quick and easy. Every other editor sort of died during that.
Pro Works on all platforms
Whether its your windows machine, a Linux, Unix or a Mac Vim would work everywhere. You can even build it from its source on your favorite linux environment.
Pro Has different cursor shape in command and insert modes
Unlike vim, gvim has different cursor shape in command and insert mode, which is very convenient.
Pro Supports all vim features and settings
All vim features, custom settings, and plugins are automatically available.
Cons
Con Programming language is primitive
The base syntax, inherited from the first version of AutoIt, is primitive (a bit like an improved batch syntax).
Con GVim, like Vim, has a difficult learning curve
A lot of time is needed to learn all the commands and modes supported. A lot of time will also be spent tuning all the settings to the user's preference.