Skip to content

Instantly share code, notes, and snippets.

@morvanabonin
Last active August 29, 2015 14:13
Show Gist options
  • Save morvanabonin/845c767c9dbf86848ced to your computer and use it in GitHub Desktop.
Save morvanabonin/845c767c9dbf86848ced to your computer and use it in GitHub Desktop.
VIM Editor Commands
: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.
@morvanabonin
Copy link
Author

adjustment in the examplo of :tabn command.

@marabesi
Copy link

marabesi commented Jan 8, 2015

line 5 : example *

@morvanabonin
Copy link
Author

Done! :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment