Ctags View Code
Makefile Make Maintenance project
I start writing
ESC U Undo
Vim default open mode is command-line mode
Insert mode is normal in edit mode
Bottom line mode: Wq
GG to First line HEAD
Shift+g to the last
DD to Ctrl+x
P to pate something
P to
S+4 $ to last
s+6 ^ to HEAD
S+~ A to a
x Deleate one by one
W to last by word
B to head by word
E
S+w
S+b
K
K
Hhhhhhhhhhllllllllllllllll
J
J
S+x
C+x Add number
5x deleate 5x
I do not change
A later one
o Next line and empty
: Wq
/int
: 3 Line 3
C+z Undo and re-enter option E
: Set Nu
: Set Nonu
:!
: q! Force exit
Su wz
yw pasting words
S+r
CW Delete Word to mode to command mode
\ The first match succeeds
? The last match was successful.
vs test1tab Enter
Vim Configuration to vs degree
C+w+l
Switch to the right
10yy
Set Nu all set line number
C+w+h to the left.
Where you want to copy it.
P
Alt +tab Open Terminal
Alt+ctrl exiting the virtual machine interface
C L o S
S compilation
Static links are copied to your code and cannot be used immediately
Dynamic links
LDD Test View Library
Static link disadvantage file size increase memory work
"Command-line mode" []
Gcc-o Test Test-g
GCC default is release version relise version
The plus-G option paves the GDB Debug.
GDB test enters interactive mode
L Display Code
Then the carriage return is the last logic L
Interrupts are implemented under Linux
b 16 lay a breakpoint in line 16
Info B View breakpoint Information
-Breakpoint Number-Valid no-
Running breakpoints
R
(run)
Single Step execution
N
(next)
Look at the address
Value of P xx xx
P &XX Address of XX
Display XX
Jumping out of breakpoints
Until 19
Until
Cancel Show Undisplay
Cancel Breakpoint Delete Breakpoints 1
Info b
It's just the breakpoint number 2nd.
function fun
D 2
You can also delete breakpoint # 2nd
Step
F
Finish End Function and wait for operation
Bt
Call stack Information
Small Code Linux small operation to be added