Skip to content

Commit

Permalink
Update content src/site/notes/Applications/vim使用和相关技巧.md
Browse files Browse the repository at this point in the history
  • Loading branch information
1024daniel committed Jan 13, 2025
1 parent cd3180d commit 99e37d6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/site/notes/Applications/vim使用和相关技巧.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,12 @@ ctrl R
```
### 4.批量替换

> [!NOTE] 注意
> %表示整个文件,否则只会替换当前行

```bash
:s/hello/hi/g
:%s/hello/hi/g
```

### 5.编码相关
Expand Down Expand Up @@ -125,6 +129,7 @@ vim file +155
:set noexpandtab
:%retab!


```
### 11.状态栏常驻当前文件绝对路径
Expand Down

0 comments on commit 99e37d6

Please sign in to comment.