Skip to content
This repository
Browse code

Add CtrlP settings

refs #352
  • Loading branch information...
commit 1628976fd348312d70c1369731afb22cfb61decb 1 parent 7a9bf77
Wael M. Nasreddine eMxyzptlk authored

Showing 1 changed file with 11 additions and 0 deletions. Show diff stats Hide diff stats

  1. +11 0 janus/vim/tools/janus/after/plugin/ctrlp.vim
11 janus/vim/tools/janus/after/plugin/ctrlp.vim
... ... @@ -0,0 +1,11 @@
  1 +if janus#is_plugin_enabled("ctrlp")
  2 + let g:ctrlp_map = ''
  3 +endif
  4 +
  5 +if has("gui_macvim")
  6 + call janus#add_mapping('ctrlp', 'map', '<D-t>', ':CtrlP<CR>')
  7 + call janus#add_mapping('ctrlp', 'imap', '<D-t>', '<ESC>:CtrlP<CR>')
  8 +else
  9 + call janus#add_mapping('ctrlp', 'map', '<C-t>', ':CtrlP<CR>')
  10 + call janus#add_mapping('ctrlp', 'imap', '<C-t>', '<ESC>:CtrlP<CR>')
  11 +endif

0 comments on commit 1628976

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