vim
Regex in vim while doing replace
I have a text file with many statements like: \"1\", \"23\",..... etc and I want to replace these occurrences with 1, 23,.... 开发者_JAVA技巧etc. That is just removing the quotes. How can I do this in[详细]
2023-04-12 07:50 分类:问答vim set working directory
When I switch buffers in Vim (using :bn and :bp), I want it to automatically set the working directory, BUT not to be the directory of the opened file. I want Vim to search recursively upwards for a f[详细]
2023-04-12 06:00 分类:问答vim bin mode view
How to view file in bin mode in VIM? example: 0101010100111010010 1101001001000100001 11000110111010111010[详细]
2023-04-12 05:09 分类:问答How to break lines before one column?
I want to insert return before one column of multiple lines, so I select the characters of this column with Ctrl+V in normal mode, then type I, Vim enters insert mode. After typing Enter key, and pres[详细]
2023-04-11 23:30 分类:问答How can I automatically create a new line when editing CSS in vim? (like textmate) [duplicate]
This question already has answers here开发者_开发知识库: Closed 11 years ago. Possible Duplicate:[详细]
2023-04-11 22:39 分类:问答Delete and redirect lines in Vim to another file
I want to delete say last 10 lines and move it to another file. What I currently do is: select last 10 lines in visual mode,[详细]
2023-04-11 21:44 分类:问答macvim: how to paste several times the same yanked word?
Each time i copy a word and want to replace it for several words, i do: yank the word enter visual mode, select the word to be replaced and paste the yanked word.[详细]
2023-04-11 20:50 分类:问答Copy lines in visual mode in vim
Just a question about copy/paste workflow in gVim. Right now I\'m working on a document. I want to select some lines of code and copy and paste. I\'m using gVim (Windows).[详细]
2023-04-11 19:45 分类:问答Find every third value and insert cr or newline in VIM
So I have several large datasets that I need to make more readable and currently I\'m having to go in and move to each 3rd value and insert a newline. I\'ve tried several things in VIM to get this to[详细]
2023-04-11 19:30 分类:问答How to jump upwards in easymotion plugin for VIM?
How to jump to the lines above the cursor while u开发者_StackOverflow中文版sing the easymotion plugin in vim?To search words backwards use <Leader><Leader>b[详细]
2023-04-11 19:12 分类:问答