Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
created June 17, 2004 · complexity basic · author Pan S · version 6.0
When you want to attach something in your email, uuencode is extremely useful.
This is a mapping to uuencode and uudecode in BASE64.
nnoremap <silent> <Leader>ue :%!uuencode -m /dev/stdout<CR> nnoremap <silent> <Leader>ud :%!uudecode -o /dev/stdout<CR> vnoremap <silent> <Leader>ue !uuencode -m /dev/stdout<CR> vnoremap <silent> <Leader>ud !uudecode -o /dev/stdout<CR>
Assumption: you have uuencode installed in your PATH. (For cygwin it is included in the sharutils package; for Unix it should be similar.)
Similar mapping can be used to any type of filter, such as the C indenter and C preprocessor.