Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

4
How to find out where a key mapping is defined?
Post Flair (click to view more posts with a particular flair)
Post Body

So a little context, I started my vim journey about 6 years ago and it's been great. But sadly, I started it with someone else's config and I just kept adding stuff or removing things to it. I learned a few things along the way but I never really started from scratch for my vim config so even now, there are still remnants from the copied config.

So now, I have these mappings:

n ,cf * :let @ =expand("%")<CR> n ,cF * :let @ =expand("%:p")<CR> n ,ch * :let @ =expand("%:p:h")<CR>

And the thing is, I want to move them to function but I don't know where this is being set since I have a directory specifically for global vim configuration. So I'm guessing it's from a plugin and I'd like to know which plugin is setting this.

Any help is appreciated. Thank you!

Author
Account Strength
100%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
12,499
Link Karma
2,188
Comment Karma
10,210
Profile updated: 1 day ago
Posts updated: 7 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago