Skip to content

Instantly share code, notes, and snippets.

Avatar
😎
Coding.

Emmanuel Hernández justanindieguy

😎
Coding.
  • Mexico City, Mexico
View GitHub Profile
View user_profile.ps1
# Prompt
oh-my-posh init pwsh --config "$HOME\.mintimb.omp.json" | Invoke-Expression
# Icons
Import-Module -Name Terminal-Icons
# Alias
Set-Alias l ls
Set-Alias grep findstr
Set-Alias less 'C:\Program Files\Git\usr\bin\less.exe'
@justanindieguy
justanindieguy / .mintimb.omp.json
Last active Jun 19, 2022
Oh My Posh Custom Theme
View .mintimb.omp.json
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "p:orange",
"foreground": "p:white",
"leading_diamond": "\ue0b6",
View .gitconfig
[user]
email = calcetin.izquierdo@gmail.com
name = Emmanuel Hernandez
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[merge]
tool = vscode
[mergetool "vscode"]
@justanindieguy
justanindieguy / .blazer.omp.json
Created Jun 14, 2022
Oh My Posh Custom Theme
View .blazer.omp.json
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"blocks": [
{
"alignment": "left",
"segments": [
{
"background": "#FAA307",
"foreground": "#000000",
"leading_diamond": "\ue0b6",
@justanindieguy
justanindieguy / settings.json
Created Jun 12, 2022
Windows Terminal config
View settings.json
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions":
[
{
"command": "paste",
"keys": "ctrl+v"
},
{
@justanindieguy
justanindieguy / init.vim
Last active Jun 17, 2022
Vim Config for VSCode Neovim extension
View init.vim
" packadd quickscope
" execute 'luafile ' . stdpath('config') . '/lua/settings.lua'
function! s:manageEditorSize(...)
let count = a:1
let to = a:2
for i in range(1, count ? count : 1)
call VSCodeNotify(to == 'increase' ? 'workbench.action.increaseViewSize' : 'workbench.action.decreaseViewSize')
endfor