当前位置:网站首页>Practical operation of vim
Practical operation of vim
2022-07-03 03:55:00 【dxccccccccccc】
List of articles
vim Practical operation of
Basic operation
# Open file
vim test.txt
# Insert text
i
# sign out
q
# Exit without saving
q!
# Save and exit
wq
Jump to full text
# Jump to the first word of the text
gg
# Jump to the end of the text
shift + g # G
Intra line jump
# Jump to the first word of the current line
0
# Jump to the last word of the current line
shift + 4 # $
Jump of current screen
# Jump to the first line of the current screen
shift + h # H
# Jump to the middle line of the current screen
shift + m # M
# Jump to the last line of the current screen
shift + l # L
Page turning
# Look at the next line
ctrl + e
# View previous line
ctrl + y
# The next page
ctrl + f
# The previous page
ctrl + b
# Turn down half the page
ctrl + d
# Turn up half the page
ctrl + u
Move up, down, left and right
# Left
h
# Next
j
# On
k
# Right
l
The movement of words
# Move the cursor to the next word ( Symbol ) First character
w
# Move the cursor to the next word ( Symbol ) Trailing character
e
# Move the cursor to the previous word ( Symbol ) Trailing character
ge
# Move the cursor to the previous word ( Symbol ) First character
b
Rapid positioning
# The cursor jumps to the last modified line
'.( Single quotation marks + Order number ) # The cursor jumps to the last modification point `.(1 The key on the left + Order number ) # The cursor jumps to the last line that left the file '" ( Single quotation marks + Double quotes )
边栏推荐
- Is pytorch difficult to learn? How to learn pytorch well?
- Open Visual Studio 2010 hangs when opening a SQL file sql file
- Ffmpeg recording screen and screenshot
- 动态规划:最长公共子串和最长公共子序列
- 2022 P cylinder filling examination content and P cylinder filling practice examination video
- Role of JS No
- Téléchargement et installation du client Filezilla
- redis在服务器linux下的启动的相关命令(安装和配置)
- 105. SAP UI5 Master-Detail 布局模式的联动效果实现明细介绍
- FileZilla Client下载安装
猜你喜欢
随机推荐
Idea shortcut keys
Shardingsphere dynamic data source
【学习笔记】seckill-秒杀项目--(11)项目总结
Mongodb replication set [master-slave replication]
Applet (continuous update)
pytorch怎么下载?pytorch在哪里下载?
[Apple Push] IMessage group sending condition document (push certificate) development tool pushnotification
Wechat applet + Alibaba IOT platform + Hezhou air724ug built with server version system analysis
golang xxx. Go code template
2.14 simulation summary
Intercept string fixed length to array
Mongodb installation & Deployment
pytorch难学吗?如何学好pytorch?
How to move towards IPv6: IPv6 Transition Technology - Shangwen network quigo
Half of 2022 is over, so we must hurry up
Mongodb master profile
Recursion: depth first search
中移物联网OneOS与OneNET入选《2021年物联网示范项目名单》
For instruction, uploading pictures and display effect optimization of simple wechat applet development
Read a paper_ ChineseBert