vim

POC11 Mac Settings - Show Hidden Files and iTerm2 Panel etc

1 minute read Published: 2020-09-13
Finder - Show all filename extensions

Finder - Copy selected path
    ⌘C

Shell - Paste path 
    ⌘V

Shell - Show hidden files in list view
    ls -lart

Finder - Toggle hidden files
    ⌘⇧.

Vim - Cursor movement
    h j k l

iTerm2 - Color presets

Shell - Show current directory
    pwd

iTerm2 - Reuse previous session's directory

iTerm2 - Split pane
    ⌘⇧D
    ⌘D

iTerm2 - Go to other pane
    ⌘[
    ⌘]

iTerm2 - Close pane
    ⌘W

iTerm2 - Toggle full screen
    ⌘↵

iTerm2 - Toggle maximize a pane
    ⌘⇧↵

Shell - Exit
    ^D

POC10 Git clone localnative Code Repo

1 minute read Published: 2020-09-12
# dotfiles
source "$HOME/.homesick/repos/homeshick/homeshick.sh"
homeshick link
mr u
ls

# config git
git config --global user.name "your name"
git config --global user.email  "email@example.com"
less .gitconfig
    q
vim .gitconfig
    :PlugInstall
    :q

# clone code repo
mkdir -p repos/localnative
cd repos/localnative
git clone git@gitlab.com:localnative/localnative.git
tree -L 2 localnative