Wtf, by adding <C-M> it mapps to <CR> on my vim config ... i set <C-F> by default so ...

This commit is contained in:
Stéphane PY 2012-02-10 16:58:31 +01:00
parent 1c74396f64
commit 612f688249
2 changed files with 3 additions and 3 deletions

4
README
View File

@ -24,13 +24,13 @@ Then you can use <C-x><C-u> (user completion feature) to see all routes and DIC
**Symfony interactive console** **Symfony interactive console**
<C-M> To open the Symfony interactive console. <C-F> To open the Symfony interactive console.
If you want to change this: If you want to change this:
let g:symfony_enable_shell_mapping = 0 "disable the mapping of symfony console let g:symfony_enable_shell_mapping = 0 "disable the mapping of symfony console
" Use your key instead of default key which is <C-M> " Use your key instead of default key which is <C-F>
map *MY KEY* :execute ":!"g:symfony_enable_shell_cmd<CR> map *MY KEY* :execute ":!"g:symfony_enable_shell_cmd<CR>

View File

@ -72,5 +72,5 @@ set completefunc=CompleteSymfony
let g:symfony_enable_shell_cmd = g:symfony_app_console_caller." ".g:symfony_app_console_path." -s" let g:symfony_enable_shell_cmd = g:symfony_app_console_caller." ".g:symfony_app_console_path." -s"
if(g:symfony_enable_shell_mapping == 1) if(g:symfony_enable_shell_mapping == 1)
map <C-M> :execute ":!"g:symfony_enable_shell_cmd<CR> map <C-F> :execute ":!"g:symfony_enable_shell_cmd<CR>
endif endif