Comments on: Learn Useful ‘Vi/Vim’ Tips and Tricks for Beginners – Part 1 https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Tue, 05 Mar 2024 06:17:08 +0000 hourly 1 By: Emil Wojak https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/comment-page-1/#comment-939275 Wed, 22 Nov 2017 21:50:27 +0000 http://www.tecmint.com/?p=15661#comment-939275 In reply to Robert Grubba.

That is extremely cool!!!

]]>
By: Bill https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/comment-page-1/#comment-876877 Mon, 20 Mar 2017 17:34:50 +0000 http://www.tecmint.com/?p=15661#comment-876877 In reply to Bill.

Sorry, the comments don’t mention what format to use. Guessing at straight HTML:

From the various comments, it looks like the indentation section keeps getting incorrectly updated. In addition to fixing < vs >, I think it would make sense to change the following:

* describe as adding/removing levels of indentation, or shifting content to the right/left.
* The indentation operations work on lines, so select lines to start with using Shift+V. Then you only need to use < instead of <j and > instead of >j to shift right

]]>
By: Bill https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/comment-page-1/#comment-876872 Mon, 20 Mar 2017 17:16:39 +0000 http://www.tecmint.com/?p=15661#comment-876872 In reply to Gabriel Cánepa.

From the various comments, it looks like the indentation section keeps getting incorrectly updated. In addition to fixing (greater than), I think it would make sense to change the following:

* describe as adding/removing levels of indentation, or shifting content to the right/left.
* The indentation operations work on lines, so select lines to start with using Shift+V. Then you only need to use < (less than) instead of (greater than) instead of >j (greater than followed by letter j) to shift right

]]>
By: Gabriel Cánepa https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/comment-page-1/#comment-857139 Mon, 02 Jan 2017 15:30:31 +0000 http://www.tecmint.com/?p=15661#comment-857139 In reply to Charles Bell.

Charlie,
Thank you for taking the time to comment. You’re welcome – readers like you are the reason why we do what we do.

]]>
By: Charles Bell https://www.tecmint.com/learn-vi-and-vim-editor-tips-and-tricks-in-linux/comment-page-1/#comment-855748 Wed, 28 Dec 2016 09:32:49 +0000 http://www.tecmint.com/?p=15661#comment-855748 I am currently using version 8.0 and found that the ‘f’ for find was used for file when looking in the directory for file.

So, I tried “%s/word//c” and it found the first instance of the “word”. The command remained on the command line, so I just hit “n” until I got to the last one and it terminated.

I did not know either command until I read your article.

Thank you!

]]>