Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2746
  • 博文数量: 2
  • 博客积分: 78
  • 博客等级: 民兵
  • 技术积分: 30
  • 用 户 组: 普通用户
  • 注册时间: 2010-11-09 19:13
文章分类

全部博文(2)

文章存档

2013年(1)

2012年(1)

我的朋友
最近访客

分类: LINUX

2012-12-11 11:12:41

使用winmanger插件中发现其中引用的fileexplorer不能自动更新到当前文件夹。

将vim/plugin/winfileexplorer.vim 中的函数FileExplorer_Start()

点击(此处)折叠或打开

  1. function! FileExplorer_Start()
  2. let b:displayMode = "winmanager"
  3. call s:EditDir(getcwd())
  4. " if exists('s:lastDirectoryDisplayed')
  5. " call s:EditDir(s:lastDirectoryDisplayed)
  6. " else
  7. " call s:EditDir(expand("%:p:h"))
  8. " end
  9. " if exists('s:lastCursorRow')
  10. " exe s:lastCursorRow
  11. " exe 'normal! '.s:lastCursorColumn.'|'
  12. " end
  13. endfunction



阅读(516) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:升级到13.04 unity不启动

给主人留下些什么吧!~~