Creating a map, in .exrc, to map the fmt command to a key(s)

Creating a map, in .exrc, to map the fmt command to a key(s)

Post by Dominick DiManto » Wed, 11 Jun 2003 21:25:10



Hello:

I'm trying to use the :map in my .exrc file to map the fmt command to
control-p. I put in my .exrc: :map ^P !}fmt^M, but it doesn't work.
Can anyone help me? Thanks.

 
 
 

1. vi question - mapping a function key in .exrc file that uses a yanked word

Hi,

I posted this on comp.unix.misc but got no response so thought I would try here.

I am wanting to map a function key in my .exrc file to run a script of
mine using the word that the cursor is on at the time as input to the
script.

For example:

map #7 yw:!myScript <wordThatWasJustYanked>

Is there a way to take the text in a buffer and add it to the command
line?

Thanks for your help.

2. gnu ls under wu-ftpd on irix

3. vi: :map @F {!}fmt -65^M ?

4. trouble loggin into nis account

5. The CR in a map via .exrc: A new question

6. kobject_init() sets kobj->subsys wrong?

7. Mapping commands to Function keys/Cntrl Char?

8. External modem initial string?

9. mapping sparc keys to x86 keys in cde (sun faq 1543-02)

10. How to map keys (COPY, PASTE) into F7 or F8 keys

11. How to change key map for tab key

12. Mapping keys other than the function keys

13. Mapping SUN's F12 key to as400 F12 key