Giter VIP home page Giter VIP logo

Comments (7)

wklken avatar wklken commented on August 28, 2024

插件列表里没有代码格式化相关的....只有语法检查/高亮相关的
python不需要格式化,golang有自带命令,java貌似有插件,不过没关注....其他语言未知

gg=G?
gg回到顶
G到底

这两个不需要改写的吧?

from k-vim.

William-Sang avatar William-Sang commented on August 28, 2024

gg=G 是默认的自动格式化代码的命令啊。自动调整缩进。

但是现在这里面没法用了。

from k-vim.

wklken avatar wklken commented on August 28, 2024

=号被另一个插件占用了......
line 618行附近,用于扩大缩小选择区域的快捷键

注掉即可

因为写python和golang,所以貌似从来木用过这个快捷键 >_<#

from k-vim.

William-Sang avatar William-Sang commented on August 28, 2024

不好意思,找了半天没找到,可能是我对这个vim配置还不是太了解。
能把上下文帖一下吗? 谢谢啦~~

from k-vim.

wklken avatar wklken commented on August 28, 2024

Bundle 'terryma/vim-expand-region'
map = (expand_region_expand)
map - (expand_region_shrink)

现在的等号是用来扩大选中区域,注掉后gg=G有效的
我回头考虑下有没有个更好的快捷键用来替换

from k-vim.

William-Sang avatar William-Sang commented on August 28, 2024

3Q~

from k-vim.

wengych avatar wengych commented on August 28, 2024

格式化代码还是用indent更好些,可以批量做。

On Wed, Jan 1, 2014 at 12:36 PM, William-Sang [email protected]:

3Q~


Reply to this email directly or view it on GitHubhttps://github.com//issues/18#issuecomment-31418536
.

翁翊成

from k-vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.