Quantcast
Channel: Active questions tagged keymapping - Stack Overflow
Viewing all articles
Browse latest Browse all 74

How to transform command into keymap

$
0
0

In my .vimrc, I have the following command definition:

command! -range Runit <line1>,<line2> python3 RunLine(<line1>, <line2>)

and it works fine.

I'd like to have it as keymap.

I tried several ways to

noremap <F2> :call

the function with arguments but no result. Maybe someone can point me to a solution.


Viewing all articles
Browse latest Browse all 74

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>