Skip to content

Instantly share code, notes, and snippets.

View ravikumargupta123's full-sized avatar
🏠
Working from home

ravi kumar gupta ravikumargupta123

🏠
Working from home
  • VA Tech ventures Pvt ltd
  • bangalore
View GitHub Profile

VScode Shortcuts

Toggle Panal                     Commond + J

Toggle Side Panel                Commond + B

Serach File                      Commond + P

Add next Occurence               Commond + D
@ravikumargupta123
ravikumargupta123 / test.html
Created July 4, 2019 13:17
Hello World Html
<html>
<head>
<style>
h1 {
font-family: Calibri;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
@ravikumargupta123
ravikumargupta123 / test.md
Created July 4, 2019 13:15
Hello World Markdown

Hello World

This is content converted from Markdown!

Here's a JSON sample:

{
  "foo": "bar"
}
@ravikumargupta123
ravikumargupta123 / terminal-git-branch-name.md
Created December 31, 2018 09:55 — forked from joseluisq/terminal-git-branch-name.md
Add Git Branch Name to Terminal Prompt (Mac)

Add Git Branch Name to Terminal Prompt (Mac)

image

Open ~/.bash_profile in your favorite editor and add the following content to the bottom.

# Git branch in prompt.

parse_git_branch() {

SHORTCUTS

Key/Command Description
Tab Auto-complete files and folder names
Ctrl + A Go to the beginning of the line you are currently typing on
Ctrl + E Go to the end of the line you are currently typing on
Ctrl + U Clear the line before the cursor
Ctrl + K Clear the line after the cursor
Ctrl + W Delete the word before the cursor
Ctrl + T Swap the last two characters before the cursor