Giter VIP home page Giter VIP logo

vim-badapple's Introduction

停止维护、不再更新了

vim-badapple

vim版badapple

Installation

推荐使用plug.vim进行安装,然后直接在插件目录下运行install.sh

Basic Usage

:ZBadApple 
:ZBadApple adjustversion1
:ZBadApple version1
:ZBadApple version1extra
:ZBadApple clearmemory
:ZBadApple restoregui
  • :ZBadApple默认表示:ZBadApple version1,注意这个命令会占用巨大的内存(在不重启vim的情况播放5次能占用将近2G内存)
  • 因为不同的机器的运行速度不同,最好能至少运行两次:ZBadApple adjustversion1才能生效
  • +python3支持的vim,才能播放音乐
  • :ZBadapple version1extra是优化了内存占用大问题的版本,但可能会有问题,请不要在编辑文件的时候使用这个命令。而且不会生成统计数据,也不会自动调整时间以使得音画同步,如果你的音画不同步,请手动在源代码(autoload/badapple.vim)中修改sleep 21m

vim-badapple's People

Contributors

pascalzh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vim-badapple's Issues

播放没有声音

作者您好,首先很感谢您做了这样一个vim插件。
但是我的vim使用插件时没有声音播放,我的vim版本是这样的

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 27 2021 18:57:19)
包含补丁: 1-2815
修改者 [email protected]
编译者 [email protected]
巨型版本 with GTK3 GUI.  可使用(+)与不可使用(-)的功能:
+acl               -farsi             +mouse_sgr         +tag_binary
+arabic            +file_in_path      -mouse_sysmouse    -tag_old_static
+autocmd           +find_in_path      +mouse_urxvt       -tag_any_white
+autochdir         +float             +mouse_xterm       +tcl
-autoservername    +folding           +multi_byte        +termguicolors
+balloon_eval      -footer            +multi_lang        +terminal
+balloon_eval_term +fork()            -mzscheme          +terminfo
+browse            +gettext           +netbeans_intg     +termresponse
++builtin_terms    -hangul_input      +num64             +textobjects
+byte_offset       +iconv             +packages          +textprop
+channel           +insert_expand     +path_extra        +timers
+cindent           +ipv6              +perl              +title
+clientserver      +job               +persistent_undo   +toolbar
+clipboard         +jumplist          +popupwin          +user_commands
+cmdline_compl     +keymap            +postscript        +vartabs
+cmdline_hist      +lambda            +printer           +vertsplit
+cmdline_info      +langmap           +profile           +virtualedit
+comments          +libcall           -python            +visual
+conceal           +linebreak         +python3           +visualextra
+cryptv            +lispindent        +quickfix          +viminfo
+cscope            +listcmds          +reltime           +vreplace
+cursorbind        +localmap          +rightleft         +wildignore
+cursorshape       +lua               +ruby              +wildmenu

可以看到已经安装了python3,我也注意到您是采用pygame的方式播放的音频:
image
我知道您已经不想维护此项目,但是我希望您能指导一下我这里为什么无法播放音频?本人的pygame知识浅薄。
如若帮助,感激不尽

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.