vim常用操作
type
status
date
slug
summary
tags
category
icon
password

配置

语法高亮syntax on 行号set nu
tab/制表符长度 set ts=4 sw=4

控制

u undo
ctrl+r redo

光标控制

h jk l ← ↓↑ → w word → b back word ←
ctrl+f forward page down ctrl+b backward page up
88gg goto line 88 10j down 10 lines 10k up 10 lines G goto line buttom

搜索

/123 search “123” n next word shift+n (N) previous word

复制剪切粘贴

c[n]c cut [next lines] p paste [n]yy copy [next lines] [n]dd delete [next lines]
v – VISUAL – press ← ↓↑ → to select
ctrl+n auto complete (default)

插件

uninstall :PlugClean

© Housz 2021-2024