Skip to content

Instantly share code, notes, and snippets.

View itsgg's full-sized avatar
🎯
The Architect

Ganesh Gunasegaran itsgg

🎯
The Architect
View GitHub Profile
@itsgg
itsgg / .vimrc
Last active September 21, 2025 12:09
vim
" Basic Settings
set nocompatible " Use Vim settings rather than Vi settings
filetype plugin indent on " Enable file type detection and plugin/indent loading
syntax enable " Enable syntax highlighting
set encoding=UTF-8 " Set encoding to UTF-8
set termencoding=utf-8 " Set terminal encoding to UTF-8
set number " Show line numbers
set cursorline " Highlight current line
set showmatch " Show matching brackets
set incsearch " Incremental search
@itsgg
itsgg / aireview.sh
Created January 14, 2025 13:22
Auto-Review Git Changes
git config --global alias.review '!f() { git add -A && git diff --staged | sgpt \"Generate a detailed code review\"; }; f'
@itsgg
itsgg / aicommit.sh
Last active January 14, 2025 13:13
Auto-Generate Git Commit Messages with Shell-GPT
git config --global alias.aicommit '!f() { git add -A && git diff --staged | sgpt "Create a concise commit message with: summary (50 chars) + optional bullet points for details. Do not add headings." | git commit -F -; }; f'
@itsgg
itsgg / oxide.zsh-theme
Created January 6, 2025 15:14
Oxide OMZ theme
# Oxide theme for Zsh
#
# Author: Diki Ananta <diki1aap@gmail.com>
# Repository: https://github.com/dikiaap/dotfiles
# License: MIT
# Prompt:
# %F => Color codes
# %f => Reset color
# %~ => Current path