vi
vt vi的区别和用法?
Vi本质上是不及物动词,不能直接跟宾语。它需要适当的介词,如to、of、at等。每个动词后面到底加了什么介词,必须和动词短语联系起来。vt的性质是及物动词,可以直接跟宾语,不用介词搭配就可以直接使用。[详细]
2023-09-11 07:22 分类:问答How to copy from current position to the end of line in vi
I use gvim in windows. How do I copy text from the current pos开发者_如何转开发ition to the end of the line in vi and paste it in another file opened in vi?The normal-mode command to move to the end o[详细]
2023-04-13 03:22 分类:问答selecting in visual mode to paste outside vim window
I need to paste some selected block in visual mode to outside of vim. Currently I need to select this block manually from mouse to paste outside of vim.[详细]
2023-04-12 11:16 分类:问答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 分类:问答How to disable the auto comment in shell script vi editing?
I\'m using vi(m) to edit a shell script and when I insert a comment and type , the new line came with a comment already.[详细]
2023-04-11 06:04 分类:问答vim shows empty block at end of each line
While editing a file in Vim, I tried to do a global search and replace, but I accidentally hit enter after typing this:[详细]
2023-04-11 01:37 分类:问答mapping control followed by two characters in vim
I like switching my focus back and forth between the NERDTREE pane and a file and the command Ctrl-ww accomplishes this.I\'d lik开发者_开发知识库e to map this to <Leader>w but variations of map[详细]
2023-04-10 21:04 分类:问答Vi insert mode not working on FreeBSD
I have vi insert mode problem. I cannot go into \"insert mode.\" I messed around with environmental variables in terminal; I believe I messed something up big time.[详细]
2023-04-10 16:43 分类:问答Some questions on .vimrc and vim configuration
Generally on a unix system, there is a global vimrc file in the directory /etc or /etc/vim.You can also have a .vimrc file in your home directory that can customize your vi session.[详细]
2023-04-07 00:50 分类:问答No syntax highlighting after session restore in terminal
I\'m using Mac Lion 10.7.1, MacVim Snapshot 61, Vim version 7.3 I want to save the session on quit and restore the last session on Vim start without any arguments.[详细]
2023-04-05 00:00 分类:问答