Compare commits

...

4 Commits

Author SHA1 Message Date
caramujosan
85900fd0bd Merge 58f626bb22 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
Caramujo-San
58f626bb22 Update react.js 2023-02-15 17:12:04 -03:00
2 changed files with 3 additions and 2 deletions

3
frontend/react.js vendored
View File

@@ -136,7 +136,8 @@ class Component extends React.Component {
// Invoked immediately after updating occurs. This method is not called for the initial render. // Invoked immediately after updating occurs. This method is not called for the initial render.
// Use this as an opportunity to operate on the DOM when the component has been updated. // Use this as an opportunity to operate on the DOM when the component has been updated.
// This is also a good place to do network requests as long as you compare the current props to previous props (e.g. a network request may not be necessary if the props have not changed). // This is also a good place to do network requests as long as you compare the current props to
// previous props (e.g. a network request may not be necessary if the props have not changed).
componentDidUpdate(prevProps, prevState) { } componentDidUpdate(prevProps, prevState) { }
// Invoked immediately before a component is unmounted and destroyed. // Invoked immediately before a component is unmounted and destroyed.

View File

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