tag:blogger.com,1999:blog-7592502102239071169.post865750442170885488..comments2017-02-07T02:53:20.636-07:00Comments on Bits about Bytes: Breaking long lines in VimAlexhttp://www.blogger.com/profile/13385489484617545171noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-7592502102239071169.post-67245768626329463012012-04-24T16:22:04.514-06:002012-04-24T16:22:04.514-06:00Make that...
:map \br 80l? <CR>r<CR>
...Make that...<br /><br />:map \br 80l? <CR>r<CR><br /><br />Looks like the comment utility thought I put tags in there.Stone Gianthttps://www.blogger.com/profile/17194423703147272715noreply@blogger.comtag:blogger.com,1999:blog-7592502102239071169.post-39892952466135736152012-04-24T16:20:14.856-06:002012-04-24T16:20:14.856-06:00Kind of curious. It appears that there is an extr...Kind of curious. It appears that there is an extra forward slash in what you posted. Seems like it should look like this:<br /><br />:map \br 80l? r<br /><br />I'm using gVim, and so I know that escaping characters is sometimes a little different. Maybe you need to escape the question mark?<br /><br />Sorry to bump an old post. Just found this really helpful. Thanks.Stone Gianthttps://www.blogger.com/profile/17194423703147272715noreply@blogger.comtag:blogger.com,1999:blog-7592502102239071169.post-83303618647132967552009-11-05T18:28:21.297-07:002009-11-05T18:28:21.297-07:00I have my Vim set up to not enforce textwidth in s...I have my Vim set up to not enforce textwidth in source code files. I pretty much just use this to wrap comments in source, as I use textwidth for everything else.<br /><br />I work full time and I'm still in school, so posts are usually sparse, but I've got a few (some Vim stuff, some GDB stuff, and maybe some Python stuff) lined up for when I get some breathing room.Alexhttps://www.blogger.com/profile/13385489484617545171noreply@blogger.comtag:blogger.com,1999:blog-7592502102239071169.post-10037684968724937012009-11-05T18:11:57.003-07:002009-11-05T18:11:57.003-07:00Did you know about "gw"? It limits lines...Did you know about "gw"? It limits lines to "textwidth" characters and with the syntax files I've been using, honors coding conventions.<br /><br />Are you going to start posting again?Tomhttps://www.blogger.com/profile/17279815292023249373noreply@blogger.com