rabbit-slide-wikimatze-cmus-and-vim 2017.01.19.pre.2 → 2017.01.19

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: beccf50d13494b300fcfc38935ad174fb67d6fa2
4
- data.tar.gz: 551bc452edbac7e52cd297302ca66e276ce10544
3
+ metadata.gz: 03981cd06b5ce60a7fec9aebee00abe8d0e5ff03
4
+ data.tar.gz: 142c00c21eb79d308e15751f341592ed031397c6
5
5
  SHA512:
6
- metadata.gz: 4982c6d1d6502046511fae3bfcac08ecb93ab69bb63db80fe69abeedde2852e90d7dc6da84267219ae97ba16a80134dee6c689ef4af48f9b128490f88ee1ecf9
7
- data.tar.gz: af3b82a1588caf70f861dc69b87056ad3ceb8e5a0fcc3165cfbe28eaee0630a275ee185c4d9693462c9e2667ad484a2f91680f27a5ce6dacc241f98093ac4f75
6
+ metadata.gz: 8758603e62d760ed5c8cd29dd412a933c026f39c0e4aa3b9c0aa966a22af68db9bc7f745d896f5cb578afa273eda4274613686cabae73ea8d4d5eca2277a7248
7
+ data.tar.gz: e297e4a93946e78e667405c79335273ea99100b4fefc49bdc8fb9186d982eeec5de6c89767fcabe843788c74bd35c0f2c0fe60dd6ada33ddb3d8539dc9ac9284
@@ -42,7 +42,7 @@ author
42
42
  {::note}(2){:/note}
43
43
 
44
44
 
45
- # Play commands I
45
+ # Play commands
46
46
 
47
47
  - b ... plays next track
48
48
  - z ... plays previous
@@ -51,16 +51,9 @@ author
51
51
  - p/P ... change order of entries next/previous
52
52
 
53
53
 
54
- # Play commands II
55
-
56
- - `+|-` ... increase, decrease sound
57
- - `C-f|C-b` ... page-down,page-up
58
- - `C-r` ... repeat current track
59
-
60
-
61
54
  # Play commands statuschanges I
62
55
 
63
- - m ... cycle through play modus (all, album artist)
56
+ - m ... cycle through play modi (all, album artist)
64
57
  - M ... switch modes without interrupting the currently-playing song
65
58
  - r ... repeat the playlist when ended (R in statusline)
66
59
 
@@ -68,7 +61,7 @@ author
68
61
  # Play commands statuschanges II
69
62
 
70
63
  - s ... shuffle (S in statusline)
71
- - C ... toggle continue playing the next song (C in statusline)
64
+ - C ... shuffle continue playing the next song (C in statusline)
72
65
 
73
66
 
74
67
  # Fill queue and playlist
@@ -99,59 +92,6 @@ author
99
92
  - `q` ... quit cmus
100
93
 
101
94
 
102
- # Useful commands III
103
-
104
- - `:invert` ... select all tracks which are not marked
105
- - `:prev-view` ... toggle the last two views
106
-
107
-
108
- # config cmus
109
-
110
- - in `~/.config/cmus`
111
- - `rc` ... configuration
112
- - `autosave` ...
113
-
114
-
115
- # My config
116
-
117
-
118
- unbind -f common E
119
- bind common E run easytag {}
120
-
121
- unbind -f common +
122
- bind common + vol +5%
123
-
124
- unbind -f common -
125
- bind common - vol -5%
126
-
127
- # Vim like shortcuts to jump to the next/prev section
128
- unbind -f common ^N
129
- bind common ^N player-next
130
- unbind -f common ^P
131
- bind common ^P player-prev
132
- {: lang="shell"}
133
-
134
-
135
- # Get the cover
136
-
137
- ALBUM_PATH=/$(cmus-remote -Q | grep file | cut -d'/' --complement -s -f1 | rev | \
138
- cut -d'/' --complement -s -f1 | rev | sed -e 's/\s/\\ /g' | \
139
- sed -e 's/(/\\(/g' | sed -e 's/)/\\)/g')/cover.jpg
140
- ALBUM_NAME=$(cmus-remote -Q | grep -w 'tag album' | cut -d'~' --complement -f1 | \
141
- cut -d' ' --complement -s -f1 | sed -e 's/\s/-/g')
142
-
143
- eval notify-send -i $ALBUM_PATH $ALBUM_NAME
144
- {: lang="shell"}
145
-
146
-
147
- And the shortcut
148
-
149
- unbind -f common I
150
- bind common I shell bash ~/.config/cmus/album.sh
151
-
152
- {: lang="shell"}
153
-
154
-
155
95
  # vim-cmus
156
96
 
157
97
  ![](images/cmus_vim.png){:relative_height='100'}
@@ -3,7 +3,7 @@ id: cmus-and-vim
3
3
  base_name: cmus-and-vim
4
4
  tags: []
5
5
  presentation_date: 2017/01/19
6
- version: 2017.01.19-2
6
+ version: 2017.01.19
7
7
  licenses: []
8
8
  slideshare_id: cmus-andvimcmusandvim
9
9
  speaker_deck_id: cmus-and-vim
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-slide-wikimatze-cmus-and-vim
3
3
  version: !ruby/object:Gem::Version
4
- version: 2017.01.19.pre.2
4
+ version: 2017.01.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Günther
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-15 00:00:00.000000000 Z
11
+ date: 2017-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rabbit
@@ -56,9 +56,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 1.3.1
61
+ version: '0'
62
62
  requirements: []
63
63
  rubyforge_project:
64
64
  rubygems_version: 2.5.1