davidegx / ctrlp-smarttabs Goto Github PK
View Code? Open in Web Editor NEWVim CtrlP plugin to switch between opened tabs
License: GNU General Public License v3.0
Vim CtrlP plugin to switch between opened tabs
License: GNU General Public License v3.0
:help tabline
:help setting-tabline
Currently, there can be quick fix buffers opened in each tab, and location buffers opened in others.
They all currently appear as '[No Name]'.
Could be useful to have the tab number along with the file name to be able to change to a tab by introducing just the tab number.
Error:
Error detected while processing function ctrlp#smarttabs#setTabLine:
line 1:
E684: list index out of range: 0
Press ENTER or type command to continue
Error detected while processing function ctrlp#smarttabs#setTabLine:
line 1:
E116: Invalid arguments for function strpart(split(getline("."), ":")[0], 2)
Press ENTER or type command to continue
Error detected while processing function ctrlp#smarttabs#setTabLine:
line 1:
E15: Invalid expression: strpart(split(getline("."), ":")[0], 2)
Press ENTER or type command to continue
Error detected while processing function ctrlp#smarttabs#setTabLine:
line 2:
E121: Undefined variable: l:tabnumber
Press ENTER or type command to continue
Error detected while processing function ctrlp#smarttabs#setTabLine:
line 2:
E15: Invalid expression: (l:tabnumber > 0)
Press ENTER or type command to continue
I like the way that smart tabs appears in CtrlP (when invoking in the normal way) after I've opened smart tabs once using the CtrlPSmartTabs command.
I wanted to set it up to load when vim loads, but the downside to this is that the CtrlPSmartTabs command opens the CtrlP dialog as well, which I don't need at that point.
So could there be a way for smarttabs to just initialise when opening vim, so that it's there the next time I press CtrlP?
Thanks!
Steps to reproduce:
This only happens when ctrlp-smarttabs in loaded.
If I search for a file in CtrlP (in any view, e.g. Smart Tabs or just Files) and then open in new tab, the styling of the tabline is affected. The only way I can restore it is by quitting and restarting vim.
I am using airline for the tabline. If I open a file in a new tab using :tabe instead of CtrlP this also doesn't happen.
Provide an option to dhow tabs in reverse accessed order.
If you move to a tab with multiple windows it is not jumping to the right one. Should move to the one containing the file you have selected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.