Last active
August 29, 2015 14:13
-
-
Save morvanabonin/845c767c9dbf86848ced to your computer and use it in GitHub Desktop.
VIM Editor Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:tabnew | |
Open a new tab | |
:tabn número | |
Browse among tabs, example: | |
tabn 2 (go to tab number 2) | |
:tabnext | |
Go to next tab also possible use :tabn | |
:tabprev | |
Go to previous tab also possible use :tabp | |
:tabfirst | |
Go to the first tab | |
:tablast | |
Go to the last tab | |
let NERDTreeWinSize=20 | |
change the size of NERDTree window | |
:set et|retab | |
You can set the 'expandtab' (abbreviated to 'et') option so each tab that you type is converted to an equivalent number of spaces. And you can use the :retab command to convert all existing tabs to spaces. You can do both in one command. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
line 5 : example *