add custom mapping for filepath/filename selections
This commit is contained in:
parent
c516919105
commit
44715b62b8
3 changed files with 49 additions and 1 deletions
|
|
@ -77,7 +77,6 @@ return {
|
|||
local filepath = node:get_id()
|
||||
local filename = node.name
|
||||
local modify = vim.fn.fnamemodify
|
||||
|
||||
local vals = {
|
||||
['BASENAME'] = modify(filename, ':r'),
|
||||
['EXTENSION'] = modify(filename, ':e'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue