Code Monkey home page Code Monkey logo

ctrlp-mpc.vim's Introduction

ctrlp-mpc.vim

There's nothing that breaks my concentration more than having to switch windows and find that Daft Punk tune I really want to listen to right now, so...why not Zoidberg ctrlp?

asciicast

Installation

Knock yourself out and install this repo in whichever way you prefer(Plugin 'lucidstack/ctrlp-mpc.vim', if you are on Vundle like me), then add 'mpc' to the ctrlp extensions (in your .vimrc):

    let g:ctrlp_extensions = ['buffertag', 'tag', 'line', 'dir', 'tmux', 'mpc'] " <- here it is

and, optionally, a leader shortcut:

  " Sheer awesomeness
  nnoremap <Leader>m :CtrlPMpc<CR>

If you need to run mpc with particular flags (like --port or --host), you can override the command ctrlp-mpc uses for mpc in your .vimrc:

  let g:ctrlp_mpc_cmd = 'mpc --port 6682'

je cache, tu caches, il cache

ctrlp-mpc.vim has a little cache in place for artists. These can be A LOT, and on my library it takes a couple of seconds to load, so I figured I'd add a cache for it.

If you happen to add artists while vim is running, you can run :CtrlPMpcClear to clear the cache!

ctrlp-mpc.vim's People

Contributors

adamzaninovich avatar lucidstack avatar mattn avatar

Watchers

 avatar

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.