Common keyboard shortcut settings for external keyboards
Other shortcut keys
- Command+l positioning to the address bar
- Ctrl+tab switch to the next tab
- command+2 Switch to 2nd tab
- Command+ to the beginning and end of the line
- Command+ up and down to file header and end of file
- Option (map to ALT, swap to win) + left and right to the previous and next word end
- Reference https://jingyan.baidu.com/article/08b6a591aac09614a909224f.html
Installing the Software
- Clion Chrome
- Installation complete Drag the icon to the folder to OK
- How to find the Software installation path:
/Applications/CLion.app/Contents/bin/clion.vmoptions
- How to find the Software installation path: Right-click Options, display in the arrivals, right-click program icon, display package Contents
- Cracked software: https://www.jianshu.com/p/f404994e2843
- ITERM2, the user environment variable is configured as follows:
~ $pwd/var/root~ $cat. Bash_profile#enables colorin the terminal bash Shell Exportexport clicolor=1#setsup thecolor Scheme For list exportexport lscolors=gxfxcxdxbxegedabagacad#sets up theprompt color (currently a green similar to Linux Termina L) Export ps1= ' \[\033[01;32m\]\[email protected]\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ ' #enables Colorfor itermexport term=xterm-256coloralias wk= "Cd/users/admin/wangzhiyi" Alias ll= "Ls-lrta" Find_git_branch () { Local dir=. Headuntil ["$dir"-ef/]; Doif [-F "$dir/.git/head"]; Thenhead=$ (< "$dir/.git/head") if [[$head = Ref:\ refs/heads/*]]; Thengit_branch= "(${head#*/*/})" Elif [[$head! = ']]; Thengit_branch= "→ (detached)" elsegit_branch= "→ (unknow)" fireturnfidir= ". /$dir "Donegit_branch= '}prompt_command=" find_git_branch; $PROMPT _command "black=$ ' \[\e[1;30m\] ' red=$ ' \[\e[1;31m\] ' green=$ ' \[\e[1;32m\] ' yellow=$ ' \[\e[1;33m\] ' blue=$ ' \[\e [1;34m\] ' magenta=$ ' \[\e[1;35m\] ' cyan=$ ' \[\e[1;36m\] ' white=$ ' \[\e[1;37m\] ' normal=$ ' \[\e[m\]' ps1= ' \[\033[0;31m\]\u \[\033[00;36m\]\w$yellow\ $git _branch \[\033[0;33m\]$\[\e[1;37m\] "
- Normal user settings. After the Bash_profile, the item2 is turned on and its configuration takes effect; but sudo su to root, even if the root user directory is written under. Bash_profile, but it does not take effect
- sudo su will use the current environment after logging in to root
- After sudo su logs on to root, passwd root re-sets the password to Su-root login using
- Su-root and enter __ New password __ will load/ETC/BASHRC (append the original. Bash_profile content to this file)
- But sudo su's password hasn't changed.
- What is the difference between sudo su and su-root?
Linux/windows Switch to Mac's custom settings