fix nvim run script by filetype for manpage

This commit is contained in:
thek4n 2024-02-28 09:09:06 +03:00
parent 3161685f19
commit cc809c67ab

View File

@ -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-) %')