vi
How to create a Nerdtree node that uses tmpl.html
I am using nerdtree with MacVim but I can\'t figure out how to create a node and have it use my ~/.vim/skel/tmpl.html file when I create a new node. I type m - a to create the node. If I use a vim com[详细]
2023-02-03 18:36 分类:问答Copy and paste content from one file to another file in vi
I am working with two files, and I need to copy a few lines from one file and paste into another file. I know how to copy (yy) and paste (p) in th开发者_运维问答e same file. But that doesn\'t work for[详细]
2023-02-03 10:51 分类:问答vi input mode in R?
I\'d like to be able to edit my R history using vi commands (e.g. ESC-/, ESC-k).I noticed a similar question here:[详细]
2023-02-03 04:49 分类:问答VIM copy a full word that contains a . (dot)
i noticed that that if a word contains . (dot), then ywi will only copy until the dot. yet I want to the entire word copied[详细]
2023-02-01 13:28 分类:问答How to move one word left in the vi editor
I use the shortcut w to move the cursor one 开发者_StackOverflow社区word right. Is there a shortcut to move a word left?Use b to move back one word.[详细]
2023-01-31 22:47 分类:问答Close all viewports (split screens) in Vim at once
When I use Vim I tend to split my screen in various ways, but when I want to close the editor I have to close each split separately.开发者_如何学运维Is there a way to close all the splits at one regar[详细]
2023-01-30 21:59 分类:问答How to delete a buffer in Vim without closing the window?
I usually type :bd to开发者_如何学运维 remove the buffer, however, it results in undesirable side-effect of the window being closed which I do NOT want.I usually use :bn (next buffer) followed by :bd#[详细]
2023-01-30 08:03 分类:问答Quickest way to paste block of text into the vi editor from an external source
For instance, copying a configuration section from a web page and then pasting it into a .co开发者_开发问答nf file that you have open in vi.[详细]
2023-01-30 07:19 分类:问答VIM how to suround each element in a list with quote and comma
say I have a list 1M 3M 5D 3Y 9Y I want to quickly turn this list into \"1M\", \"3M\", \"5D\", \"3Y\", \"9Y\" using vim -- so far I was开发者_如何学运维 doing it manually. thanks:%s/[^ ]\\+/\"&[详细]
2023-01-29 21:44 分类:问答