Skip to content

Instantly share code, notes, and snippets.

View rafay99-epic's full-sized avatar
💭
Eat , Sleep, Code, Repeat

Abdul Rafay rafay99-epic

💭
Eat , Sleep, Code, Repeat
View GitHub Profile
@rafay99-epic
rafay99-epic / Power Shell Profile Config
Last active May 29, 2023 21:38
PowerShell 7 Config File
# Import-Module PSReadLine
neofetch
# starship Promote
Invoke-Expression (&starship init powershell)
# this is the terminal icons for dir command
Import-Module -Name Terminal-Icons
Set-PSReadLineOption -PredictionSource History
# Open Up the ::Administrator Powershell
@rafay99-epic
rafay99-epic / starship.toml
Last active November 16, 2022 20:03
Starship Promote Config
# ~/.config/starship.toml
[battery]
full_symbol = "🔋"
charging_symbol = "🔌"
discharging_symbol = "⚡"
[[battery.display]]
threshold = 30
style = "bold red"
@rafay99-epic
rafay99-epic / clean-up-arch-linux.md
Created August 13, 2022 23:25 — forked from rumansaleem/clean-up-arch-linux.md
Instructions to clean up Arch Linux (Manjaro)

Contents

  • Clean pkg cache
  • Remove unused packages (orphans)
  • Clean cache in /home
  • remove old config files
  • Find and Remove
    • duplicates
    • empty files
    • empty directories
  • broken symlinks
@rafay99-epic
rafay99-epic / New Starship Promote Config File
Created December 4, 2022 15:16
This is the new config file for the starship promote with OS detection.
# ~/.config/starship.toml
# Inserts a blank line between shell prompts
add_newline = true
# Change the default prompt format
format = """\
[╭╴](238)$shell\
$all(238)$character"""
@rafay99-epic
rafay99-epic / NvChad.md
Created April 9, 2024 22:31 — forked from kashifulhaque/NvChad.md
Neovim stuff with NvChad

Neovim keybinds

  • Capital letters do the opposite of small letters in command (Press shift to trigger capital letters)
  • _ (underscore) to move the cursor at the beginning of line (doesn't switch to insert mode)
    • 0 (zero) moves the cursor to the zeroth position of the line (doesn't switch to insert mode)
  • $ (dollar) to move the cursor at the end of line (doesn't switch to insert mode)
  • d$ will delete from wherever your cursor is till the end of the line
  • f<character> to move cursor to the first occurrence of <character>
    • f( to move cursor to first occurence of (
  • t<character> to move cursor to upto but not on the first occurrence of <character>
  • t( to move cursor to first occurence of (