`

4.reg_delete_copy_paste

    博客分类:
  • vim
阅读更多
Windows         Vim             Different
cut             delete          as cut, rather than just delete
copy            yank            equal window's copy, but c used to change, yank instead
paste           put             equal head word
""""""""""""""""""""""""""""""""""""""""""""""""""""

" Register
        type            express         example         feature
----------------------------------------------------------------------------------------
        nameless        ""              "" p=p          will be covered by last item
------------------------------------------------------------------------------------------
        number          "0              "0p             0 used to copy only
                        "{1-9}          "1P             1-9 used to recent 9 times line delete or edit
------------------------------------------------------------------------------------------
        named           "[a-z]/[A-Z]    "ayw            yank word to reg a. put via "ap
-------------------------------------------------------------------------------------------------------
        black hole      "_              "_dw            just delete rather then cover nameless reg


"""""""""""""""""""""""""""
" primary operations
"""""""""""""""""""""""""""
d=delete        cut
y=yank          copy
p=put           paste
u=undo          undo
Ctrl-r=redo     redo

"""""""""""""""""""""""""""
to see reg.                      		:reg
yank a line to named reg  t             "tyy
delete with black hole              	"_dd


"""""""""""""""""""""""""""
" advance operations
"""""""""""""""""""""""""
yw              copy cursor word
y2w             copy forward 2 word
p/P             copy to cursor after/before
yy              copy this line
                                                                                                                                        
"""""""""""""""""""""""""""
" adjust word:  Practica lvim
""""""""""""""""""""""""""
{start}         Practica lvim
F{space}        Practica lvim
x               Practicalvim
p               Practical vim


""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" combination delete ([count]operation([count]{motion})
""""""""""""""""""""""""""""""""""""""""""""""""""""""""
x/X             delete char
dw=delete word  delete a word
d{hjkl}         delete a char of orient
d$=D            delete cursor to tail
d^              delete cursor to head
dd              delete line
{n}dd           delete downwards  n line
5dw             delete word forewards 5 times
3w              move word forewards 3 times
D3w             delete 3w forewards action
2d3w            delete 3w forewards action 2 times

分享到:
评论

相关推荐

    UG6.0快捷键大全

    BUTTON/FOLDED UG_MODELING_COPY_FEATURE LABEL Cop&y Feature... MESSAGE Copies a feature so that it can be pasted either within the same part or to another. SYNONYMS duplicate, repeat HINT This ...

    Asp.net 博客

    │ │ │ paste.gif │ │ │ Picasa.ini │ │ │ preview.gif │ │ │ print.gif │ │ │ redo.gif │ │ │ removeformat.gif │ │ │ save.gif │ │ │ selectall.gif │ │ │ separator.horizontal.gif │...

    CE中文版-启点CE过NP中文.exe

    Assembler: Fixed assembling reg*2/4/8+unquotedsymbol Plugin: Fixed the SDK for C plugins that use the disassembler callback Hotkeys: Fixed the attach to foreground hotkey Memory Scan: Fixed the ...

    Microsoft Visual Studio

    Common\Graphics\bitmaps\tlbr_w95\paste.bmp Common\Graphics\bitmaps\tlbr_w95\print.bmp Common\Graphics\bitmaps\tlbr_w95\prop.bmp Common\Graphics\bitmaps\tlbr_w95\rectangl.bmp Common\Graphics\bitmaps...

    CAD.PS.3D快捷键.pdf

    46. REG - 创建区域(Region)。 47. MT - 创建多行文本(Mtext)。 48. T - 创建单行文本(Text)。 49. MB - 插入块(Insert Block)。 50. W - 写入块(Wblock)。 51. DIV - 划分对象。 52. H - 填充(Hatch)。...

    Rave Player网页视频播放器

    - Updated app wrapper to correct issue with contextual menu (copy and paste menu). v 4.0.118 (Nov. 20, 2009) - Added m4v extension to video list. v 4.0.117 (Nov. 7, 2009) - Added wasp_reg.txt output...

    VB编程资源大全(英文源码 控制)

    You can save, open files, print them out, copy, cut, paste, well you know the concept!<END><br>37 , LogOff.zip This conveniently placed program allows you to log off from your system tray.<END><br...

Global site tag (gtag.js) - Google Analytics