Code Monkey home page Code Monkey logo

ctrlp-smarttabs's People

Contributors

davidegx avatar javier-lopez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ctrlp-smarttabs's Issues

Error selecting empty line

  1. Star Vim with no tabs.
  2. :let g:ctrlp_smarttabs_modify_tabline = 1
  3. :let g:ctrlp_match_window = 'bottom,order:btt,min:10,max:20,results:20'
  4. :CtrlPSmartTabs
  5. Press ctrl+k

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

initialise smarttabs without opening it?

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!

tabline style is affected when opening new tab from CtrlP

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.

screenshot of before:
before

and after:
after

Swith to the appropiate window

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.