5

5分钟分享VIM的小技巧

 9 months ago
source link: https://zhangyiming748.github.io/post/vim_tips/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

5分钟分享VIM的小技巧

2023-11-23 五分钟已经很棒了

vim application.properties

# 文件内容
server.port=8080
server.name=app
spring.redis.host=localhost

yy 复制当前行
p 粘贴
u 撤销
ctrl+r 恢复
ciw (change in the word)
diw (delete in the word)
set number 显示行数
n(数字) 去第n行
G 跳到文件结尾
gg 跳到文件开头


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK