linux vi
Use Vim instead of Vi. Vim is easier to use. From Command Mode
e Move to end of current word
$ Move to end of current line
^ Move to beginning of current line
+ Move to beginning of next line
- Move to beginning of previous line
G Go to last line of the file
:n Go to line with this number (:10 goes to line 10)
<Ctrl>d Scroll down one-half screen
<Ctrl>u Scroll up one-half screen
<Ctrl>f Scroll forward one full screen
<Ctrl>b Scroll backward one full screen
) Move to the next sentence
( Move to the previous sentence
} Move to the next paragraph
{ Move to the previous paragraph
H Move to the top line of the screen
M Move to the middle line of the screen
L Move to the last line of the screen
% Move to matching bracket: ( { [ ] } )
Also in C++:
- vscode get installed extension list
- merge branch to branch
- firewall linux
- if float less than bash
- Module not found: Can't resolve '@material-ui/core/Button'
- awk print first characters of a field
- git checkout branch and update submodules
- bash check if string ends with slash
- how to fork from github to bitbucket
- docker remove all images
- centos install lsb_release
- linux check if screen is running
- how to install expo cli on windows
- Install Lumen CSV Reader package from Nuget Package Manager in Visual Studio
- ubuntu apt uninstall
- npm install not workjing behind proxy
- how to activate administrator account in windows 10 command prompt
- use miniconda in linux
- how to make NTFS read only file system writable in linux
- start running reactjs from shell vscode
- download git for mac
- macbook disable input from built in keyboard
- ubuntu rename all files lowercase commands
- download latest stable solc ubuntu