锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产激情,国产精品二区不卡,国产日产一区http://www.aygfsteel.com/hellboys/category/47074.htmlzh-cnWed, 17 Nov 2010 10:33:46 GMTWed, 17 Nov 2010 10:33:46 GMT60Open MacVim tabs from command-linehttp://www.aygfsteel.com/hellboys/archive/2010/11/17/338268.html鍦扮嫳鐢風埖(hellboys)鍦扮嫳鐢風埖(hellboys)Wed, 17 Nov 2010 07:32:00 GMThttp://www.aygfsteel.com/hellboys/archive/2010/11/17/338268.htmlhttp://www.aygfsteel.com/hellboys/comments/338268.htmlhttp://www.aygfsteel.com/hellboys/archive/2010/11/17/338268.html#Feedback0http://www.aygfsteel.com/hellboys/comments/commentRss/338268.htmlhttp://www.aygfsteel.com/hellboys/services/trackbacks/338268.html
cd project
mvim project_file.php

MacVim supports tabs, but unfortunately calling mvim multiple times from the command-line results in multiple separate windows opening, instead of multiple tabs in one window. I made the following modifications to the mvim script to correct this.

Add the following line to the top of the file, below the commented section:

tabs=true

Replace the if structure at the bottom of the file with the following:

# Last step:  fire up vim.
if [ "$gui" ]; then
  
if $tabs && [[ `$binary --serverlist` = "VIM" ]]; then
    exec 
"$binary" -g $opts --remote-tab-silent ${1:+"$@"}
  
else
    exec 
"$binary" -g $opts ${1:+"$@"}
  fi
else
  exec 
"$binary" $opts ${1:+"$@"}
fi


from: http://webexpose.org/2008/10/13/open-macvim-tabs-from-command-line/



]]>
主站蜘蛛池模板: 全椒县| 丹棱县| 梁山县| 湖南省| 嘉黎县| 松江区| 独山县| 本溪市| 鄄城县| 九江市| 灌阳县| 广水市| 来宾市| 沐川县| 余庆县| 东安县| 赣榆县| 泾源县| 北海市| 启东市| 综艺| 故城县| 日土县| 固镇县| 深水埗区| 阳春市| 抚顺县| 清丰县| 潼关县| 双鸭山市| 三亚市| 阿合奇县| 从化市| 剑阁县| 奉贤区| 榆树市| 建平县| 中阳县| 苏尼特左旗| 吴川市| 阜阳市|