随笔分类 -  vim

摘要:参考: http://vim.wikia.com/wiki/Indent_a_code_block =i{ reindents "inner block" (inside the braces).=a{ reindents "a block" (including the braces).=2a{ 阅读全文
posted @ 2016-04-27 11:03 qike 阅读(176) 评论(0) 推荐(0)
摘要:参考:http://vim.wikia.com/wiki/Copy,_cut_and_pastePosition the cursor where you want to begin cutting.Press v to select characters (or uppercase V to se 阅读全文
posted @ 2016-04-26 00:21 qike 阅读(224) 评论(0) 推荐(0)
摘要:参考: http://stackoverflow.com/questions/53664/how-to-effectively-work-with-multiple-files-in-vim You can use tabs (introduced in Vim 7) to switch betwe 阅读全文
posted @ 2016-04-25 23:46 qike 阅读(139) 评论(0) 推荐(0)
摘要:参考:http://vim.wikia.com/wiki/Inserting_text_in_multiple_linesIn visual block mode, you can press I to insert text at the same position in multiple lin 阅读全文
posted @ 2016-04-19 12:51 qike 阅读(261) 评论(0) 推荐(0)
摘要:To display line numbers::set numberor::set nu This will turn off the line number display::set nonumber 阅读全文
posted @ 2016-04-18 20:30 qike 阅读(141) 评论(0) 推荐(0)