Skip to content
Browse files

Add CtrlP settings

refs #352
  • Loading branch information...
1 parent 7a9bf77 commit 1628976fd348312d70c1369731afb22cfb61decb @kalbasit kalbasit committed Jan 10, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 janus/vim/tools/janus/after/plugin/ctrlp.vim
View
11 janus/vim/tools/janus/after/plugin/ctrlp.vim
@@ -0,0 +1,11 @@
+if janus#is_plugin_enabled("ctrlp")
+ let g:ctrlp_map = ''
+endif
+
+if has("gui_macvim")
+ call janus#add_mapping('ctrlp', 'map', '<D-t>', ':CtrlP<CR>')
+ call janus#add_mapping('ctrlp', 'imap', '<D-t>', '<ESC>:CtrlP<CR>')
+else
+ call janus#add_mapping('ctrlp', 'map', '<C-t>', ':CtrlP<CR>')
+ call janus#add_mapping('ctrlp', 'imap', '<C-t>', '<ESC>:CtrlP<CR>')
+endif

0 comments on commit 1628976

Please sign in to comment.
Something went wrong with that request. Please try again.