Skip to content

Commit 765005d

Browse files
committed
Updated
1 parent 1a8d06a commit 765005d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

vim-auto-insert-closing-bracket.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
title: Vim: Auto-insert closing bracket while coding
22
tags: vim
33

4-
You can add a closing bracket when typing in code.
4+
You can automatically insert a closing bracket when typing in code.
55

66
You can turn a
77

@@ -19,9 +19,9 @@ You need a inoremap line in your .vimrc:
1919

2020
It says when you type a opening bracket, then quickly press enter, it will:
2121

22-
# insert a carriage return
23-
# a closing bracket
24-
# go into command mode and press 'O'
22+
* insert a carriage return
23+
* a closing bracket
24+
* go into command mode and press 'O'
2525

2626
The final line means it will insert a new line on the line above.
2727

0 commit comments

Comments
 (0)