使用 vim 时,我希望在 #define、字符串和使用 '\' 忽略换行符的所有其他情况下插入 '\' 时具有自动识别(在文本宽度位置)功能。
这是示例(文本宽度= 78):
/* '\' at maximum text-width */
#define HELLO "I Think this feature already exist but I wasn't able to find \
it so far.
/* usual situation */
#define HELLO \
"I Think this feature already exist but I wasn't able ..."
/* what i would like to have (without identing it myself) */
#define HELLO \
"I Think this feature already exist but I wasn't able ..."