Compare commits

...

4 Commits

Author SHA1 Message Date
lucatolton
05509b9613 Merge 8c82f767ed into d143c60246 2023-12-29 06:50:36 -08:00
Julien Le Coupanec
d143c60246 Merge pull request #354 from RomjanHossain/patch-1
swap current line with previous
2023-12-29 15:35:14 +01:00
Romjan D. Hossain
44371217a9 swap current line with previous
it should be `ddkP` instead of `ddkp`
2023-12-24 11:53:04 +06:00
lucatolton
8c82f767ed Update express.js 2023-07-05 20:57:22 +01:00
2 changed files with 3 additions and 3 deletions

View File

@@ -134,7 +134,7 @@ app.use('<admin dir>', admin)`; `// Mounting a sub - app`
`app.put('/', function(req,res){
res.send('PUT request to a webpage')
})` `// post request to the specified path`
})` `// put request to the specified path`
`app.delete('/', function(req,res){
res.send('DELETE request to a webpage')
@@ -223,4 +223,4 @@ res.sendFile(file, options, function(err){
app.use(BodyParser.json())
app.use(BodyParser.urlencoded({
extended: true
}))` `// Parses incoming request bodies`
}))` `// Parses incoming request bodies`

View File

@@ -105,7 +105,7 @@ gu$ make lowercase until end of line
<< indent line one column to left
== auto-indent current line
ddp swap current line with next
ddkp swap current line with previous
ddkP swap current line with previous
:%retab fix spaces / tabs issues in whole file
:r [name] insert the file [name] below the cursor.
:r !{cmd} execute {cmd} and insert its standard output below the cursor.