VIM Search/Replace spaces between 2 brackets or columns

Posted by Glennular on Stack Overflow See other posts from Stack Overflow or by Glennular
Published on 2010-03-24T19:40:10Z Indexed on 2010/03/24 19:43 UTC
Read the original article Hit count: 186

Filed under:
|
|

Given the following line:

[aaaa bbbb cccc dddd] [decimal](18, 0) NULL,

How would you remove the space only between the first set of brackets in Vim? What would the /s command look like?

© Stack Overflow or respective owner

Related posts about vim

Related posts about regex