`

5.convert_find_substitute

    博客分类:
  • vim
阅读更多
" Insert
Shift-i/A               insert mode and move to head/tail
a/i                     cursor after/befor insert
[n]O/o                  line before/afer insert n times
[n]-i                   insert mode repeate n times


" Convert
~                       char upper/lower
g ~ w                   word upper/lower
g ~ $/g ~ ~             line upper/lower
gU/uw                   word upper/lower


" Find
F/f{char}               backwards/forewards find a char
t/T{char}               find a char before target
dt{char}/df{space}      delete from cursor to find target
/{char}                 command line find


" substitute
        [range][substitute]/{pattern}/{String}/[flags]
s/going/rolling/g               this line all "going" substitue to "rolling"
%s/going/rolling/g              % matches all range

Shift-r/R                       substitute mode
r                               char substitute
cw                              change word
c$/C                            change line after cursor


分享到:
评论

相关推荐

    php.ini-development

    5. The web server's directory (for SAPI modules), or directory of PHP ; (otherwise in Windows) ; 6. The directory from the --with-config-file-path compile time option, or the ; Windows directory (C:\...

    Excel2003常用函数完全手册 CHM格式 带全文检索

    9.CONVERT...…….................... 8 10.DEC2BIN..…….................... 8 11.DEC2HEX.…….................... 8 12.DEC2OCT...…….................. 8 13.DELTA........…….................. 8 ...

    EXCEL 数据的处理,EXCEL文件的自动生成,EXCEL数据的整合

    SUBSTITUTE和FIND/REPLACE用于修正文本;使用条件格式标记异常值。 6. **数据分析和可视化**:Excel的图表功能使数据可视化变得简单,柱状图、折线图、饼图等可以帮助我们直观理解数据分布和趋势。高级分析工具如...

    excel2016版函数大全

    5. 工程函数:工程函数用于解决工程和技术领域的问题,比如BESSELI、BESSELJ、BESSELK、BESSELY、BIN2DEC、BIN2HEX、BIN2OCT、COMPLEX、CONVERT、DEC2BIN、DEC2HEX、DEC2OCT、DELTA、ERF、ERFC、GESTEP、HEX2BIN、...

    EXCEL 函数速查手册

    ·REPT ·RIGHT 或 RIGHTB ·SEARCH 或 SEARC ·SUBSTITUTE ·T ·TEXT ·TRIM ·UPPER ·value ·WIDECHAR 四、逻辑运算符(6条) ·AND ·FALSE ·IF ·NOT ·OR ·TRUE 五、查找和引用函数(17条) ...

Global site tag (gtag.js) - Google Analytics