1. bash跳到行首和行尾

ctrl + a  行首

ctrl + e  行尾

2. vscode跳到行首和行尾

mac

fn +  ->

fn  +  <-