File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 1
1
*vim-php-cs-fixer*
2
2
3
3
License | vim-php-cs-fixer-license |
4
+ Mappings | vim-php-cs-fixer-mappings |
4
5
5
6
Integrate PHP CS Fixer (https://github.com/FriendsOfPHP/PHP-CS-Fixer ).
6
7
7
8
This plugin will execute the php-cs-fixer command
8
9
on the directory or file (depends on which command you call).
9
10
10
11
==============================================================================
12
+ MAPPINGS *vim-php-cs-fixer-mappings*
13
+
14
+ <leader> pcd Calls php-cs-fixer on the current directory of
15
+ the file.
16
+
17
+ <leader> pcf Calls php-cs-fixer on the current file.
18
+
19
+
20
+ To change default mappings, there are two commands available to you.
21
+ `PhpCsFixerFixDirectory ()`
22
+ `PhpCsFixerFixFile ()`
23
+
24
+ A possible remapping could be
25
+ `nnoremap <silent><leader> d :call PhpCsFixerFixDirectory()<CR> `
26
+ `nnoremap <silent><leader> f :call PhpCsFixerFixFile()<CR> `
27
+
28
+ ==============================================================================
29
+
11
30
LICENSE *vim-php-cs-fixer-license*
12
31
13
32
Copyright 2017 by Stéphane PY
You can’t perform that action at this time.
0 commit comments