http://stackoverflow.com/questions/5419848/backspace-doesnt-work-in-gvim-7-2-64-bit-for-windows
49 |
Does it entirely not work, or does it just not backspace past where you went into insert mode? There's an option
backspace which controls this:
owen_water's suggestion is the same as Carpetsmoker's comment, enabling all three of these. That's generally what people want, since it's a bit surprising to have Vim refuse to let you backspace text that's right there. So take your pick of the two equivalent choices - I'd go with the more verbose and clear one:
In some cases, bad terminals can mess with backspace and delete, but I doubt that's your problem in Windows. There is some ability to fix this; see
:help fixdel . |
http://vim.wikia.com/wiki/Format_a_code_block
Formatting a functionEdit
Here are some basic formatting commands:
= is an operator (by default, it formats/indents text).
i{ is a text object that specifies the surrounding code block.
vi{ visually selects the inner code block around the cursor.
=i{ formats the code block.
=2i{ formats the current block and the block around it.
You can format the entire buffer with gg=G.
댓글 없음:
댓글 쓰기