vi
Cannot use arrows in VI on some consoles [duplicate]
This question already has answers here: 开发者_如何学JAVAClosed 11 years ago. Possible Duplicate:[详细]
2023-02-13 02:37 分类:问答Why should I learn vi? [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expert开发者_JS百科ise, but this question will likely soli[详细]
2023-02-13 01:29 分类:问答Backspace behaviour in Vim
I\'ve got a problem with backspaces in Vim. If I hit backspace, the last character gets removed. I\'d like to get the Vi (not Vim) behaviour. In Vi backspace moves the cursor to the left, and if I typ[详细]
2023-02-13 00:47 分类:问答Editing multiple files simultaneously with Vim
I need to add several lines all at the same location to multiple files. I was wondering if I could possibly open all files with Vim, and only make the changes in one file for which the changes will be[详细]
2023-02-12 23:48 分类:问答Confusion about vim folding - how to disable?
When I open the file it looks like this: or even this When I open all folds, they are closed again when I navigated to another buffer and came back.[详细]
2023-02-11 07:48 分类:问答Visudo not working anymore, what can I do?
So... I accidentally opened up visudo by typing vi visudo and at the same time I also prefer nano so I just naturally pressed ctrl+x to exit, then didn\'t realize right away that I was in vi (yes[详细]
2023-02-11 05:27 分类:问答How can I replace text just before the EOL in vi?
I\'m trying to do a search in replace in vi.The usual: :s/yes/no/gc isn\'t cooperating.The \"yes\" is the last piece of text o开发者_如何学Cn the line.If I search for text isn\'t part of the last w[详细]
2023-02-10 20:11 分类:问答Vi: Search for lines containing string1 as well as string2
I know how to search开发者_JS百科 for a single expression. How do I combine two? /string1 & string2[详细]
2023-02-10 00:19 分类:问答VIM - Fastest way to yank an awkward text block
I am using VIM 7.1.314 and would like to yank 开发者_JS百科the names (chris, robert, ben) in the code shown below as fast as possible - how would I achieve this? Note the names are always aligned (reg[详细]
2023-02-09 12:21 分类:问答How to insert date and time in vim along with string literal?
I\'m new to Vim and trying to solve what might just be a very basic thing. When I type dd and press <space> in insert mode, I want it to be replaced with [10-Feb-2011 10:10]. (notice the square[详细]
2023-02-09 09:51 分类:问答