fix nvim run script by filetype for manpage
This commit is contained in:
parent
3161685f19
commit
cc809c67ab
@ -16,7 +16,7 @@ local function map_filetype(filetype, key, cmd)
|
|||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- map_filename('manpage', '<Leader>rr', 'man -P cat -l %') -- fix (by filename)
|
map_filetype('nroff', '<Leader>rr', 'man -P cat -l %')
|
||||||
|
|
||||||
map_filetype('*', '<Leader>rs', '$(head -1 % | cut -c 3-) %')
|
map_filetype('*', '<Leader>rs', '$(head -1 % | cut -c 3-) %')
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user