How do I convert all the tab characters in a file to space characters?
‘expandtab’ and ‘tabstop’. For example, to convert all the tabs to white spaces, use :set expandtab :retab For more information, read :help :retab :help ‘expandtab’ :help ‘tabstop’ :help 25.3 14.17. What Vim options can I use to edit text that will later go to a word processor? You can set the following options to edit text that will later go into a word processor: :set wrap :set linebreak :set textwidth=0 :set showbreak=>> You can use the ‘gk’ and ‘gj’ commands to move one screen line up and down. For more information, read :help ‘wrap’ :help ‘linebreak’ :help ‘textwidth’ :help ‘showbreak’ :help gk :help gj ============================================================================= SECTION 15 – VISUAL MODE 15.1. How do I do rectangular block copying? You can do rectangular block copying in Vim using the blockwise visual mode. To start blockwise visual mode use the CTRL-V key. Move the cursor using any of the motion commands and then use the y operator to yank to visually selected te