Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 116 forks source link

如何像eclipse那样tab键自动跳出配对的括号和引号等 #278

Open qingkong1998 opened 5 years ago

qingkong1998 commented 5 years ago

比如在vim插入模式下小括号,中括号,引号等,光标在按下tab键后直接从配对中跳出,或者实现eclipse类似的功能,vim应该怎么做?

Zeta611 commented 5 years ago

For example, in the vim insertion mode, the parentheses, brackets, quotation marks, etc., the cursor jumps out of the pairing directly after pressing the tab key, or implements a similar function of eclipse, how should vim be done?

Google translate for people who don’t speak Chinese, you’re welcome.

roachsinai commented 3 years ago

比如在vim插入模式下小括号,中括号,引号等,光标在按下tab键后直接从配对中跳出,或者实现eclipse类似的功能,vim应该怎么做?

You should use shift tab.