visual keys
This commit is contained in:
@@ -49,7 +49,9 @@ function denote#ft#qf()
|
|||||||
nnoremap <buffer> C :DenoteSetTitle
|
nnoremap <buffer> C :DenoteSetTitle
|
||||||
nnoremap <buffer> + :DenoteTagAdd
|
nnoremap <buffer> + :DenoteTagAdd
|
||||||
nnoremap <buffer> - :DenoteTagRm
|
nnoremap <buffer> - :DenoteTagRm
|
||||||
nnoremap <buffer> dd :DenoteDelete<CR>
|
nnoremap <buffer> dd :DenoteDelete<CR>r
|
||||||
" TODO: Add visual maps for line ranges +/-/delete
|
xnoremap <buffer> + :DenoteTagAdd
|
||||||
|
xnoremap <buffer> - :DenoteTagRm
|
||||||
|
xnoremap <buffer> d :DenoteDelete<CR>
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ endfunction
|
|||||||
function denote#loclist#reload()
|
function denote#loclist#reload()
|
||||||
let l:context = getloclist(0, {'context': 1})['context']
|
let l:context = getloclist(0, {'context': 1})['context']
|
||||||
if has_key(l:context, 'denote') && has_key(l:context, 'gfun')
|
if has_key(l:context, 'denote') && has_key(l:context, 'gfun')
|
||||||
|
call denote#loclist#jumptowindow()
|
||||||
exe 'lclose'
|
exe 'lclose'
|
||||||
call l:context['gfun']()
|
call l:context['gfun']()
|
||||||
exe 'lwindow'
|
exe 'lwindow'
|
||||||
|
|||||||
Reference in New Issue
Block a user