Skip to content

Instantly share code, notes, and snippets.

View qins's full-sized avatar

Qinsi qins

View GitHub Profile
@qins
qins / bashrc
Last active November 27, 2020 02:19
bashrc for a new machine, or some temporary login, to avoid the clumsy primitive environment
#
# .bashrc online
# one cmd usage:
# source <(curl -s https://gist.githubusercontent.com/qins/2e1f5808ad68238168a01f64396e8aa8/raw)
# If not running interactively, don't do anything
case $- in
*i*) ;;
*) return;;
esac
Source: https://www.tecmint.com/use-vim-as-bash-ide-using-bash-support-in-linux/
============================================================================================================
Important !!!
formatting script = gg=G
============================================================================================================
The following are key mappings for inserting statements (n – normal mode, i – insert mode):