tag:blogger.com,1999:blog-878266731516261660.post2878552167054507553..comments2014-02-28T14:18:52.068-08:00Comments on VIM-ing: Convenient tab commandsAnonymoushttp://www.blogger.com/profile/10204423853435462994noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-878266731516261660.post-10181397786541337292011-02-17T15:36:50.116-08:002011-02-17T15:36:50.116-08:00to join a split screen into a tab:
C-w Tto join a split screen into a tab:<br />C-w TAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-878266731516261660.post-31102549625983478292010-12-26T18:14:34.417-08:002010-12-26T18:14:34.417-08:00I probably meant Ctrl+w, T, but I may have put the...I probably meant Ctrl+w, T, but I may have put the ctrl+w under a tag that was escaped by your comment system...Rodrigo Rosenfeld Rosashttp://rosenfeld.heroku.comnoreply@blogger.comtag:blogger.com,1999:blog-878266731516261660.post-34911545792333768302010-09-22T06:17:37.434-07:002010-09-22T06:17:37.434-07:00Hi Rodrigo,
Thanks for the comment...I looked aro...Hi Rodrigo,<br /><br />Thanks for the comment...I looked around the help files and couldn't find any documentation for the 'T' command you were talking about.<br /><br />Could you point me in the right direction?Anonymoushttps://www.blogger.com/profile/10204423853435462994noreply@blogger.comtag:blogger.com,1999:blog-878266731516261660.post-36713834014651248752010-09-11T07:32:46.303-07:002010-09-11T07:32:46.303-07:00T (capital t) is native to Vim and will open the a...T (capital t) is native to Vim and will open the active split in a new tab, closing the split.Rodrigo Rosenfeld Rosashttp://rosenfeld.heroku.comnoreply@blogger.comtag:blogger.com,1999:blog-878266731516261660.post-26864700028721686292010-01-13T19:12:52.277-08:002010-01-13T19:12:52.277-08:00I'm pretty sure that the following will do wha...I'm pretty sure that the following will do what you want:<br /><br />" Turn a split into a tab<br />:command! Tb :let a=bufnr("%") | tabnew | exe "b ". a | tabp | q | tabnext<br /><br />" Turn a tab into a split<br />:command! Ts :let a=bufnr("%") | tabprev | sp | exe "b ". a | tabnext | q<br /><br />The trick is to make the new space before deleting the old.Anonymoushttps://www.blogger.com/profile/10204423853435462994noreply@blogger.comtag:blogger.com,1999:blog-878266731516261660.post-78255282043960344862010-01-13T15:03:02.718-08:002010-01-13T15:03:02.718-08:00I know this post was from a long time ago.. but it...I know this post was from a long time ago.. but it just about does what I'm looking for. So any idea how to make it move an unsaved buffer from a split to a new tab?Michael Andersonhttps://www.blogger.com/profile/00877984226868333502noreply@blogger.com