Quantcast
Channel: RubyMine-Like Autoformat in Vim - Stack Overflow
Viewing all articles
Browse latest Browse all 2

RubyMine-Like Autoformat in Vim

$
0
0

Is there a way to get RubyMine-like autoformatting in vim?

Example I have this code:

def some_method  hash[:key  ] =  "hello"enddef some_other_method  x =  [ "hello",   "world"]end

I want to hit something similar to Cmd+Shift+L (in RubyMine) and have vim output this:

def some_method  hash[:key] = "hello"enddef some_other_method  x = ["hello", "world"]end

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images