Releases: mcchrish/nnn.vim
Releases · mcchrish/nnn.vim
v3.6
v3.5
v3.4.1
v3.4
v3.3
v3.2
v3.1
nnn#action
allows lambda functions. Thus it can now accept lua functions:
local function copy_to_clipboard(lines)
local joined_lines = table.concat(lines, "\n")
vim.fn.setreg("+", joined_lines)
end
require("nnn").setup({
action = {
["<c-t>"] = "tab split",
["<c-s>"] = "split",
["<c-v>"] = "vsplit",
["<c-o>"] = copy_to_clipboard,
},
})