84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
nmap <c-s> :w<CR>
In the vimrc file, I added the code shown above, but pressing ctrl+s had no effect when I used vim later. May I ask why?
学习是最好的投资!
The problem has been solved, you need to add the following two lines to the ~/.bashrc file
bind -r '\C-s' stty -ixon
? ? ? ctrl+s? ? What do you want to do, save? Save in vim is: w, exit is: qThe effect is better when combined with the two
x is to save and exit
Save and exit isn’t it ZZ?
The problem has been solved, you need to add the following two lines to the ~/.bashrc file
? ? ? ctrl+s? ?
What do you want to do, save?
Save in vim is: w, exit is: q
The effect is better when combined with the two
x is to save and exit
Save and exit isn’t it ZZ?