Skip to content

Commit

Permalink
Add CtrlP settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kalbasit committed Jan 10, 2012
1 parent 7a9bf77 commit 1628976
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions janus/vim/tools/janus/after/plugin/ctrlp.vim
Original file line number Diff line number Diff line change
@@ -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.