Skip to content
0:00 / 0:00

#vim#vimrc

Project Specific Vimrc Files

Vernon Grant

76 subscribers • 4 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Vernon Grant

Intermediate. Assumes working knowledge.

1.3K views7 years ago1 recommendation

Tools and practiceVim, Emacs and editors

Vernon Grant explains how to load project-specific configuration files in Vim and discusses the security implications.

How to use project specific vimrc files in Vim. Important! There is a security risk here, if you open any unknown projects that contains a malicious .vimrc it will be loaded. Once I have the time I'll improve this method to be more secure, but for now please be sure not to open any unknown project. Read the Reddit post regarding this issue: reddit.com/r/vim/comments/cdvbpr/using_project_specific_vimr… Here is a link to the function I used: gist.github.com/VernonGrant/0ed406bbd10a1fe29120280be19dac09

Why it's here

1 person recommends this

What people say. Shared to discuss the implementation and security risks of loading local vimrc files.

u/vg_devin r/vim • Recommends

Using Project Specific Vimrc Files