:ls
let you open all tab in buffergt
orbn
let you move tab in forword directiongT
orbp
in backword directionbd
to close tab
vit
to select whatever have inside in an element like (div or h1 etc)vat
to select entire elementzc
fold(close) element areazo
unfold(open) element areazM
fold all element in a filezR
unfold all element in a file
gd
(move cursor there)goto file definitions
-
Build Your React App: Run the build command for your project:
npm run build
This generates a
dist/
directory containing the optimized static files. -
Install
gh-pages
: If not already installed, add thegh-pages
package:pnpm add gh-pages -D
Or:
npm install gh-pages --save-dev
Replace: - `<your-username>` with your GitHub username. - `<repository-name>` with your repository's name.
-
**Configure GitHub Pa
- Go to your repository on GitHub.
- Navigate to Setts > Pages.
- Under the "Source" section, select the
gh-pages
branch and click Save.
- If your app uses React Router, ensure you configure your routes to work with GitHub Pages by adding a
redirect
configuration in your app or an_redirects
file. - If you're using a custom domain, configure it in the GitHub Pages settings.
:ls
let you open all tab in buffergt
let you move tab in forword directiongT
in backword direction