Skip to content

Instantly share code, notes, and snippets.

View mukundshah's full-sized avatar
😀
Exploring and Learning

Mukund Shah mukundshah

😀
Exploring and Learning
View GitHub Profile
@mukundshah
mukundshah / iterm2_key_bindings.md
Created October 9, 2023 10:27 — forked from danylokos/iterm2_key_bindings.md
iTerm2 key bindings

iTerm2 Key Bindings

Keys Config Desc
Del send hex 0x15 delete line
Del send hex 0x1B 0x08 delete word
send hex 0x01 move cursor to the beginning of a line
send hex 0x05 move cursor to the end of a line
send esc seq Esc+b move cursor to the left by word
⌥ → send esc seq Esc+f move cursor to the right by word
#! /usr/bin/env sh
# zsh, git, python, poetry, asdf, nodejs, pnpm, neovim, gh, kitty, z, exa, nnn, btop, htop, aws cli
# vscode, datagrip, pycharm
# discord, spotify, notion
# edge, chrome, firefox
# postgresql, redis, pgadmin, redisinsight
# docker
# scc, duf, bat, fzf, gping, dua-cli, ddgr, lazydocker, ngrokk, navi, pgcli, iredis
# ===============================
# Linux
# ===============================
*~
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*
# KDE directory preferences
@mukundshah
mukundshah / minimal2.json
Created March 1, 2022 12:06
Minimalistic theme for Oh-My-Posh
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
@mukundshah
mukundshah / minimal.json
Last active February 18, 2022 02:36
Minimalistic theme for Oh-My-Posh
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"type": "root",
"style": "plain",
@mukundshah
mukundshah / Profile.ps1
Created February 18, 2022 02:29
Powershell Profile
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
#Import-Module PSColors
#Import-Module posh-git
Import-Module -Name Terminal-Icons