Skip to content

amitkys/vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vim Command

1. vs code tab manage

  • :ls let you open all tab in buffer
  • gt or bn let you move tab in forword direction
  • gT or bp in backword direction
  • bd to close tab

2. Development

  • vit to select whatever have inside in an element like (div or h1 etc)
  • vat to select entire element
  • zc fold(close) element area
  • zo unfold(open) element area
  • zM fold all element in a file
  • zR unfold all element in a file

3. Navigate

  • gd (move cursor there)goto file definitions

Updated Steps for Deploying a React App with dist Folder

  1. Build Your React App: Run the build command for your project:

    npm run build

    This generates a dist/ directory containing the optimized static files.

  2. Install gh-pages: If not already installed, add the gh-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.
    
    
    
    
    
  3. **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.

Notes:

  • 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.

1. vs code tab manage

  • :ls let you open all tab in buffer
  • gt let you move tab in forword direction
  • gT in backword direction

this update for branch

About

all commands related to vim

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •