介紹 plugin: ctrlp.vim

684 views
Skip to first unread message

OOO

unread,
Nov 11, 2012, 1:53:57 AM11/11/12
to vim-taiwan
HI 各位

這個郵件群組沈寂很久
所以今天來介紹一下 plugin

ctrlp.vim[1]

基本上就是學習 TextMate 的 CMD+T 快速鍵
用檔名、路徑作為搜尋並開啟檔案的依據
如果是開發專案使用非常方便
建議大家可以試試看
安裝和設定不會很難
基本上就把網站上建議的那些設定複製貼上一下就好了
我的 blog 有比較多的文字介紹[2] 起源
不過和操作使用相關的就沒比較多啦

賴楚翔 (Chu-Siang Lai)

unread,
Nov 11, 2012, 9:08:23 AM11/11/12
to vim-t...@googlegroups.com

I have used it. :)

[ jonny@gmail ~ ]#
- 賴楚翔 (Chu-Siang Lai)
- http://jonny.ubuntu-tw.net

Jeremy Chang (mrmoneyc)

unread,
Nov 12, 2012, 10:58:49 AM11/12/12
to vim-t...@googlegroups.com
這跟 fuzzyfinder 主要差異在?

有試用過,不過比較習慣 fuzzyfinder

---
Your sincerely,
Jeremy Chang, (ID: mrmoneyc)
openSUSE Ambassador - Taiwan
HAVE A LOT OF FUN! http://www.opensuse.org

GPG Public key = 0xA73F144C
GPG Fingerprint = C118 9E66 BFCB 34C6 E574  A00A FB63 6592 A73F 144C

bootleq

unread,
Nov 13, 2012, 1:51:02 AM11/13/12
to vim-t...@googlegroups.com
1. FuzzyFinder 的候選清單是浮動顯示,ctrlp 和近期的類似插件則是顯示在切割 window,可以做複選之類的動作
2. FuzzyFinder 很久沒更新了

我也是主要用 FuzzyFinder。

依云

unread,
Nov 13, 2012, 3:35:12 AM11/13/12
to vim-t...@googlegroups.com
我用 LuistyExplorer 和修改版的 mru :-)
--
Best regards,
lilydjwg

Linux Vim Python 我的博客:
http://lilydjwg.is-programmer.com/
--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

Mosky Liu

unread,
Nov 13, 2012, 1:26:49 PM11/13/12
to vim-t...@googlegroups.com
ctrlp.vim 建 index 快很多。

bootleq

unread,
Nov 13, 2012, 8:50:42 PM11/13/12
to vim-t...@googlegroups.com
最近(幾個月前吧?)unite.vim 有針對速度大改,應該也是受了 ctrlp 的刺激,
有興趣可以試試看 unite.vim。

我用新舊 unite.vim、ctrlp 都感覺不明顯,所以也很好奇哪個快。

bootleq

unread,
Nov 13, 2012, 9:11:42 PM11/13/12
to vim-t...@googlegroups.com
我更好奇的是,用 ctrlp 的人會用 Ctrl-P 這個 mapping 嗎?
我不理解這個 sense 啊。

賴楚翔 (Chu-Siang Lai)

unread,
Nov 13, 2012, 10:17:50 PM11/13/12
to vim-t...@googlegroups.com
目前都是用 Ctrl + P,但其實這個 plugin 也才用不到一個月 XDD

----
jonny@gmail:~$ cat profile.conf
- 賴楚翔 (凍仁翔)

Mosky Liu

unread,
Nov 14, 2012, 3:50:00 AM11/14/12
to vim-t...@googlegroups.com
我都是用 Ctrl+P 耶,它本來有什麼功能嗎?

bootleq <boo...@gmail.com> 於 2012年11月14日上午10:11 寫道:

Jimmy Kuo

unread,
Nov 14, 2012, 3:55:20 AM11/14/12
to vim-t...@googlegroups.com
記得好像是auto-complete的功能

-- 
Jimmy Kuo
已使用 Sparrow

lilydjwg

unread,
Nov 14, 2012, 3:58:33 AM11/14/12
to vim-t...@googlegroups.com
On Wed, Nov 14, 2012 at 04:50:00PM +0800, Mosky Liu wrote:
> 我都是用 Ctrl+P 耶,它本來有什麼功能嗎?

previous line, 和 bash / emacs 等是一样的。

bootleq

unread,
Nov 14, 2012, 4:30:14 AM11/14/12
to vim-t...@googlegroups.com
應該是沒什麼衝突,我把有 ctrl-p 的說明找出來了:

Ctrl-P 是 Up
C_Ctrl-P 是 previous-line
自動完成中 Ctrl-P 是 previous match

這些都有 P = Previous 的意思,反觀 ctrlp.vim

2012/11/14 lilydjwg <lily...@gmail.com>
Reply all
Reply to author
Forward
0 new messages