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:
parent
1c74396f64
commit
612f688249
4
README
4
README
@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user