You are not logged in.

#1 2010-03-02 06:50:25

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

[SOLVED] VIM - need help with keymapping

As the header says, I need help with creating a key mapping in my vimrc. What I would like is a
mapping to<F8> that would toggle between " :set paste and :set nopaste. " Any and all help
would be appreciated

Last edited by orphius1970 (2010-03-02 07:50:22)


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

#2 2010-03-02 07:21:38

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [SOLVED] VIM - need help with keymapping

set pastetoggle=<F8>

That what you're looking for?

Scott

Offline

#3 2010-03-02 07:50:03

orphius1970
Member
From: Modesto (HELL) California
Registered: 2009-02-27
Posts: 151

Re: [SOLVED] VIM - need help with keymapping

YES!!!!  Thank you! Exactly what I was hoping for. I am new to vim so all these config options
are a little intimidating for now. Thank you again!!!!


AMD Phenomx3, 4gb ram, Nvidia Gforce 9400gt,
MSI K9N2 Diamond Motherboard, Arch x86_64

Offline

Board footer

Powered by FluxBB