Table of Contents
vimspector
my php default config
{
"configurations": {
"Listen for XDebug": {
"adapter": "vscode-php-debug",
"filetypes": [ "php" ], // optional
"configuration": {
"name": "Listen for XDebug",
"type": "php",
"request": "launch",
"port": 9003,
"stopOnEntry": false,
"pathMappings": {
"/var/www/html": "${workspaceRoot}"
}
},
"breakpoints": {
"exception": {
"Info": "N",
"Notice": "N",
"Warning": "N",
"Exception": "N",
"Error": "N",
"*": "N"
}
}
}
}
}
replace pattern after string
:s/\(|\s.*\)\@<=\s/\ /g
folding
commands
zf#jcreates a fold from the cursor down # lines.zf/stringcreates a fold from the cursor to string .zjmoves the cursor to the next fold.zkmoves the cursor to the previous fold.zoopens a fold at the cursor.zOopens all folds at the cursor.zmincreases the foldlevel by one.zMcloses all open folds.zrdecreases the foldlevel by one.zRdecreases the foldlevel to zero – all folds will be open.zddeletes the fold at the cursor.zEdeletes all folds.[zmove to start of open fold.]zmove to end of open fold.
via https://gist.github.com/lestoni/8c74da455cce3d36eb68
—
