Comments (4)
I like this idea, i am not sure what else the random modifier would really apply to other than add or delete (even delete is a bit strange) but i don't see any problem with this. It sounds good.
from vimpc.
'z' is actually in use though for aligning a particular line to a given spot within the screen, z- for bottom, z. for centre z for top. No idea what key to use, anything not in use is fine for now, i probably need to tidy up the keys a bit and hurry up and add some kind of mapping facility.
from vimpc.
Aha, so it is.
Likewise I think it's only "proper" use is for adding, but I'll add it to all the commands it could theoretically modify for completeness.
I'll probably make pressing it twice in the playlist view shuffle it twice too.
from vimpc.
I got some time to play with this last night (finally).
I think a better implementation may be as a movement, rather than a modifier, which is a little counterintuitive, but also clears up a bunch of edge cases.
ie,
15ar
add 15 random songs from the current context
aG
add all songs from current cursor position to the end of the current context
2dr
remove 2 random songs from the playlist
This basically removes the possibility of someone asking to remove all random songs from the playlist.
The downside to doing this is that it would require pretty drastic refactoring to hang add off an ActionTable, so I may get you to have a look over a patch when I'm halfway through to check that it looks sane.
from vimpc.
Related Issues (20)
- password support in $MPD_HOST
- Incorrect version packaged as a Release; "v0.09.2" is actually v0.09.1 HOT 1
- All tracks in lib added to current playlist on lost focus HOT 3
- error while loading shared libraries: libtag.so.1
- [feature_request] support editing more tags
- error adding symbols: DSO missing from command line HOT 1
- [Feature Request] Library listing
- On systems with libtinfo separate from libncurses: src/vimpc-screen.o: undefined reference to symbol 'keypad'
- New release HOT 3
- Jump to current song in playlist? HOT 1
- Please add Meta- mappings
- Compilation error with --enable-boost: src/clientstate.hpp:125:12: error: โthreadโ in namespace โstdโ does not name a type HOT 2
- terminate called after throwing instance of 'std::out_of_range' HOT 1
- Case sensitive search disabled by default.
- Play Next HOT 1
- Library incomplete or not showing up at all HOT 2
- Segmentation Fault in directory HOT 1
- .vimpcrc settings have no effect (not read?) HOT 2
- Ncurses glitch on startup HOT 4
- Segfault when going up directory HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimpc.