sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

doctabs : A plugin to manage large files

 script karma  Rating 0/0, Downloaded by 52    Comments, bugs, improvements  Vim wiki

created by
Janos Barbero
 
script type
utility
 
description
DocTabs is a plugin that lets you organize a file into sections which look like a collection of separate files with their own separate context. When you are done working on one section, you can jump to another section with your normal movement commands, or by the provided navigation commands, and resume the same editing context you had in that section. The tabline is used to highlight the currently active section.

This allows you to zoom in on one section at a time, but still jump to another section seamlessly. Some use cases are documentation, source code, HTML, project plans, todo or GTD files, reminder files, journals, novels, your ~/.vimrc, etc. The DocTabs plugin and documentation were both written using DocTabs.

https://github.com/jbarbero/doctabs.vim

Asciicast:
https://asciinema.org/a/107382
 
install details
If you are using Pathogen, just clone the repo or unzip the package into ~/.vim/bundle, restart vim, and run :Helptags

If you are not using pathogen, unzip this package in your ~/.vim folder:
autoload/dtab.vim   ->  ~/.vim/autoload/dtab.vim
doc/doctabs.txt     ->  ~/.vim/doc/doctabs.txt
plugin/doctabs.vim  ->  ~/.vim/plugin/doctabs.vim

then run :helptags (notice the different case).
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
doctabs.zip 0.7 2017-03-14 7.3 Janos Barbero Allow alphanumeric labels (qwert...) to allow fast switching with more than 10 sections.
doctabs.zip 0.5.3 2017-03-14 7.3 Janos Barbero 0.5.3   Highlight section headings by default, only update section views when leaving a section via jump commands, minor bugfixes
doctabs.zip 0.4 2017-02-24 7.3 Janos Barbero Initial upload
ip used for rating: 54.205.60.171

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo