Skip to content

Instantly share code, notes, and snippets.

View teoshibin's full-sized avatar

ShiBin Teo teoshibin

View GitHub Profile
@teoshibin
teoshibin / .vsvimrc
Last active August 28, 2023 16:38
visual studio vim emulator vsVim config file
" Basic settings
set showcmd
set number relativenumber
set incsearch
set hlsearch
set ignorecase
set smartcase
set clipboard=unnamed
set visualbell
@teoshibin
teoshibin / config.fish
Last active May 10, 2024 10:36
ubuntu fish
if status is-interactive
# Commands to run in interactive sessions can go here
# remove welcome prompt
set -U fish_greeting ""
# bin
set -U fish_user_paths $HOME/.local/bin $fish_user_paths
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
@teoshibin
teoshibin / .ideavim_mac
Last active March 7, 2024 11:27
Intellij vim elmulator ideavim config file
" Actions: https://jb.gg/abva4t
" Examples: https://jb.gg/share-ideavimrc
" https://github.com/JetBrains/ideavim/wiki/IdeaVim-Plugins
" leader
let mapleader=" "
" settings
set linenumber
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
eval "$('/c/Users/user/anaconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
# <<< conda initialize <<<
eval "$(oh-my-posh init bash --config ~/emodipt-extend.omp.json)"
# PROMPT_COMMAND=${PROMPT_COMMAND:+"$PROMPT_COMMAND "}'printf "\e]9;9;%s\e\\" "$(wslpath -w "$PWD")"'
# clear
## Theme ##
oh-my-posh init pwsh --config ~/neeon.omp.json | Invoke-Expression
$Env:VIRTUAL_ENV_DISABLE_PROMPT = 1 # disable python env prompt
## PS Modules ##
Import-Module -Name Terminal-Icons # icon
Import-Module -Name z # z jump