From bea4e30f936c16a160cc122ae68e66195bee142b Mon Sep 17 00:00:00 2001 From: Michael Henry Date: Sun, 22 May 2016 16:00:16 -0400 Subject: [PATCH] Have CtrlP plugin follow symlinks. --- CHANGES.txt | 2 ++ vimrc | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index a8911bbb..119366ef 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -16,6 +16,8 @@ require adjustment of per-user settings. Fugitive's diff-restoration logic. Now 'cursorbind' is no longer left set on Fugitive working-copy windows after :OneWindow command (bound to CTRL-w o). +- Have CtrlP plugin follow symlinks. + 2016-05-17 ========== diff --git a/vimrc b/vimrc index 6f93eb1b..44a53335 100644 --- a/vimrc +++ b/vimrc @@ -3053,6 +3053,12 @@ let g:ctrlp_max_height = 50 " Reuse the current window when opening new files. let g:ctrlp_open_new_file = 'r' +" Symlinks: +" 0 - Do not follow symlinks. +" 1 - Follow non-looped symlinks. +" 2 - Follow all symlinks. +let g:ctrlp_follow_symlinks = 1 + " ------------------------------------------------------------- " Easy-Align " -------------------------------------------------------------