vnews 0.1.9 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.markdown CHANGED
@@ -132,8 +132,8 @@ in one consolidated list.
132
132
  * `ENTER` from item window returns focus to the list window
133
133
  * `C-l` and `l` display the item under the cursor without focusing the item window
134
134
  * `SPACE` toggles full-screen mode for the current window.
135
- * `C-j` shows the next item without changing window focus
136
- * `C-k` shows the previous item without changing window focus
135
+ * `C-j` and `,j` show the next item without changing window focus
136
+ * `C-k` and `,k` show the previous item without changing window focus
137
137
  * `q` from the item window closes it (and reopens the item list window if necessary)
138
138
 
139
139
  You can also use the standard Vim window switching, rotating, and
data/lib/vnews.vim CHANGED
@@ -77,6 +77,8 @@ function! s:create_list_window()
77
77
  nnoremap <silent> <buffer> l :call <SID>show_item_under_cursor(1)<CR>:wincmd p<CR>
78
78
  nnoremap <silent> <buffer> <c-j> :call <SID>show_adjacent_item(0, 'list-window')<CR>
79
79
  nnoremap <silent> <buffer> <c-k> :call <SID>show_adjacent_item(1, 'list-window')<CR>
80
+ nnoremap <silent> <buffer> <leader>j :call <SID>show_adjacent_item(0, 'list-window')<CR>
81
+ nnoremap <silent> <buffer> <leader>k :call <SID>show_adjacent_item(1, 'list-window')<CR>
80
82
  command! -bar -nargs=0 -range VNDelete :<line1>,<line2>call s:delete_item()
81
83
  command! -bar -nargs=0 -range VNConcat :<line1>,<line2>call s:cat_items()
82
84
  call s:common_mappings()
data/lib/vnews/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Vnews
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
4
4
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
8
- - 9
9
- version: 0.1.9
7
+ - 2
8
+ - 0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi