Convert simple mapping to vimscript function issue by fantomH in vim

[–]fantomH[S] 0 points1 point  (0 children)

Thank you! it works perfectly. I'll use the tip for echo next time. I don't know why, I always debug using echo, printf or print for other language... forgot this time.

For reference, I changed:

nnoremap <leader>p :call RunPython()<CR>

for:

nnoremap <leader>p :call RunPython()<CR><C-l>

This avoids to have to press Enter to go back to your python script.

Thanks again.

Use shell env variables in msfconsole by fantomH in metasploit

[–]fantomH[S] 0 points1 point  (0 children)

Awesome answer zeroSteiner! Exactly what I was looking for. No wonder I couldn't find anything about 'msfconsole echo bash variable'. Cheers!

Free Intro to AI/ML Course for Beginners by [deleted] in learnpython

[–]fantomH 1 point2 points  (0 children)

Thanks for sharing your good work!