vnews 0.2.5 → 0.2.6
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 +3 -1
- data/lib/vnews.vim +4 -0
- data/lib/vnews/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
|
@@ -197,7 +197,9 @@ You can use `:VND` as an abbreviation for `:VNDelete`.
|
|
|
197
197
|
## Opening webpages and hyperlinks
|
|
198
198
|
|
|
199
199
|
* `,o` opens the next web hyperlink on or after the cursor in your default external web browser
|
|
200
|
-
* `,
|
|
200
|
+
* `,O` opens the web hyperlink under the cursor in a vertical split window
|
|
201
|
+
* `,h` opens the web page that the feed item is linked to in your default external web browser
|
|
202
|
+
* `,H` opens the web page that the feed item is linked in a vertical split window
|
|
201
203
|
|
|
202
204
|
Web hyperlinks are the URLs that begin with http:// or https://.
|
|
203
205
|
|
data/lib/vnews.vim
CHANGED
|
@@ -105,6 +105,10 @@ function! s:create_item_window()
|
|
|
105
105
|
" opens the linked item
|
|
106
106
|
nnoremap <buffer> <leader>h :normal Gkk<CR>:call <SID>find_next_href_and_open()<CR>
|
|
107
107
|
call s:common_mappings()
|
|
108
|
+
|
|
109
|
+
" for netrw vertical split
|
|
110
|
+
nnoremap ,O :exec "silent botright vsplit ". matchstr(expand("<cWORD>"), 'https\?:[^ >)\]]\+')<cr>
|
|
111
|
+
nnoremap ,H :normal Ckk<CR>:exec "silent botright vsplit ". matchstr(expand("<cWORD>"), 'https\?:[^ >)\]]\+')<cr>
|
|
108
112
|
close
|
|
109
113
|
endfunction
|
|
110
114
|
|
data/lib/vnews/version.rb
CHANGED