-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请问一下,如何格式化代码啊 #18
Comments
插件列表里没有代码格式化相关的....只有语法检查/高亮相关的 gg=G? 这两个不需要改写的吧? |
gg=G 是默认的自动格式化代码的命令啊。自动调整缩进。 但是现在这里面没法用了。 |
=号被另一个插件占用了...... 注掉即可因为写python和golang,所以貌似从来木用过这个快捷键 >_<# |
不好意思,找了半天没找到,可能是我对这个vim配置还不是太了解。 |
Bundle 'terryma/vim-expand-region' 现在的等号是用来扩大选中区域,注掉后gg=G有效的 |
3Q~ |
格式化代码还是用indent更好些,可以批量做。 On Wed, Jan 1, 2014 at 12:36 PM, William-Sang notifications@github.comwrote:
翁翊成 |
Add Elixir layer
使用 gg=G 没有用
The text was updated successfully, but these errors were encountered: