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 +2 -2
- data/lib/vnews.vim +2 -0
- data/lib/vnews/version.rb +1 -1
- metadata +3 -3
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`
|
136
|
-
* `C-k`
|
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