Releases: mcchrish/nnn.vim
Releases · mcchrish/nnn.vim
v2.2
Merge pull request #88 from shwnchpl/master
Improve compatibility with older versions of Vim
v2.1
Breaking change: there are no quotes around %:p:h
anymore - v1.7 and earlier versions suggested using quotes, but that can trigger a E79: Cannot expand wildcards
error.
nnoremap <leader>n :NnnPicker %:p:h<CR>
v2.0
Breaking change: there are no quotes around %:p:h
anymore - v1.7 and earlier versions suggested using quotes, but that can trigger a E79: Cannot expand wildcards
error.
nnoremap <leader>n :NnnPicker %:p:h<CR>
v1.6.1
Fix window stays after selection in neovim
v1.5
Support FuncRef in nnn#action
:
function! CopyLinesToRegister(lines)
let joined_lines = join(a:lines, "\n")
if len(a:lines) > 1
let joined_lines .= "\n"
endif
echom joined_lines
let @+ = joined_lines
endfunction
let g:nnn#action = {
\ '<c-t>': 'tab split',
\ '<c-x>': 'split',
\ '<c-v>': 'vsplit',
\ '<c-o>': function('CopyLinesToRegister') }
Inspired by: junegunn/fzf.vim#580 (comment)
v1.4
Make split explorer work with nnn#action
opening splits.