在我的世界

home archives about
2018-09-02

vim

以下是一些常用的vi命令

注释多行

可以使用替换命令 : s/old/new.

以下操作均在命令模式:

1
2
3
4
5
6
# 首先我们显示行号
:set nu
# 以#号注释10到20行
:10,20s/^/#
# 取消注释
:10,20s/^#/
Share
  • vim2
Newer
redis事务
Older
redis pub/sub

标签

  • AI
  • UI test
  • algorithm
  • android
  • annotation
  • ansible
  • ant
  • aop
  • archiva
  • asciidoc
  • awk
  • axios
  • basic
  • big data
  • blockchain
  • centos
  • cglib
  • checkstyle
  • chrome
  • computer principle
  • cors
  • data structure
  • design-pattern
  • docker
  • elasticsearch
  • es
  • eureka
  • firefox
  • flask
  • geohash
  • geomesa
  • git
  • gitlab
  • gradle
  • groovy
  • hadoop
  • hbase
  • hexo
  • html
  • http
  • idea
  • ip
  • java
  • javascript
  • js
  • junit
  • jupyter
  • jupyterhub
  • jvm
  • jwt
  • k8s
  • kafka
  • katalon
  • keepalived
  • latex
  • life
  • linux
  • linux kernel
  • load balance
  • log
  • log4j
  • log4j12
  • logback
  • lombok
  • lru
  • lucene
  • magnet
  • make
  • makefile
  • manjaro
  • math
  • maven
  • md5
  • mhtml
  • microservice
  • music
  • mybatis
  • mysql
  • nginx
  • notebook
  • npm
  • nvidia
  • oauth
  • openstack
  • optimization
  • pandas
  • pandoc
  • pgsql
  • probability
  • pyspark
  • python
  • quartz
  • react
  • redis
  • resource
  • review
  • sbt
  • scala
  • shell
  • slf4j
  • spark
  • spring
  • spring cloud
  • spring-boot
  • springboot
  • sql
  • sqlserver
  • ssh
  • statistics
  • syslog
  • term
  • test
  • texlive
  • thread
  • tomcat
  • tool
  • ubuntu
  • urban computing
  • video
  • vim
  • vpn
  • vscode
  • vue
  • web
  • web-dav
  • webpack
  • week
  • windows
  • wordcloud
  • work
  • xml
  • zipkin
  • zookeeper
  • 云计算
  • 元编程
  • 城市计算
  • 架构
  • 概念
  • 测试
  • 爬虫
  • 运维

标签云

AI UI test algorithm android annotation ansible ant aop archiva asciidoc awk axios basic big data blockchain centos cglib checkstyle chrome computer principle cors data structure design-pattern docker elasticsearch es eureka firefox flask geohash geomesa git gitlab gradle groovy hadoop hbase hexo html http idea ip java javascript js junit jupyter jupyterhub jvm jwt k8s kafka katalon keepalived latex life linux linux kernel load balance log log4j log4j12 logback lombok lru lucene magnet make makefile manjaro math maven md5 mhtml microservice music mybatis mysql nginx notebook npm nvidia oauth openstack optimization pandas pandoc pgsql probability pyspark python quartz react redis resource review sbt scala shell slf4j spark spring spring cloud spring-boot springboot sql sqlserver ssh statistics syslog term test texlive thread tomcat tool ubuntu urban computing video vim vpn vscode vue web web-dav webpack week windows wordcloud work xml zipkin zookeeper 云计算 元编程 城市计算 架构 概念 测试 爬虫 运维

归档

  • 三月 2022
  • 十月 2019
  • 九月 2019
  • 八月 2019
  • 七月 2019
  • 六月 2019
  • 五月 2019
  • 四月 2019
  • 三月 2019
  • 二月 2019
  • 一月 2019
  • 十二月 2018
  • 十一月 2018
  • 十月 2018
  • 九月 2018
  • 八月 2018
  • 七月 2018
  • 六月 2018
  • 五月 2018
  • 四月 2018
  • 三月 2018
  • 二月 2018
  • 一月 2018
  • 十二月 2017

最新文章

  • Redis面试总结202203
  • 使用IDEA部署jar包到maven仓库(maven deploy)
  • Pluggable Annotation Processing的讲解与实践
  • 2019-42-周报
  • r command not found
© 2022 Jackpler
Powered by Hexo
home archives about