emacs for c++
After you’ve typed a word once, you never have to type it again. Type the first few characters, then type
dabbrev-expand), which expands the previous word by looking for the most recent word that matches. If nothing is found in the current buffer before point, it looks after point. If it’s not found in the current buffer, then other buffers are searched until it is found. If the wrong word is found, type
M-/ again and it will look for another word that matches the characters you typed, replacing its first guess with another.