Giter VIP home page Giter VIP logo

Comments (29)

siduck avatar siduck commented on August 17, 2024

can u show full image of tabufline

from ui.

tomasky avatar tomasky commented on August 17, 2024

when i exec :TbufPick, it displays this, but if i dont bufpick, it is normal

from ui.

siduck avatar siduck commented on August 17, 2024

how does it look when normal?

from ui.

siduck avatar siduck commented on August 17, 2024

and whats your screen size?

from ui.

tomasky avatar tomasky commented on August 17, 2024

Display: 15.60 inch, 16:9, 1366 x 768 pixels

from ui.

tomasky avatar tomasky commented on August 17, 2024

images png

normal state

from ui.

tomasky avatar tomasky commented on August 17, 2024

when exist the same file name,this problem also occurs

images png
image

from ui.

siduck avatar siduck commented on August 17, 2024

weird that only 4 buffers show

from ui.

tomasky avatar tomasky commented on August 17, 2024

no , i opened six files,here only displays four buffers

from ui.

siduck avatar siduck commented on August 17, 2024

no , i opened six files,here only displays four buffers

does it happen when nvimtree is on left?

from ui.

tomasky avatar tomasky commented on August 17, 2024

it doesn't seem to have that problem if nvimtree is on left. By the way, maybe:

--- a/lua/core/utils.lua
+++ b/lua/core/utils.lua
@@ -10,7 +10,7 @@ M.close_buffer = function(bufnr)
     print "save the file bruh"
   else
     bufnr = bufnr or api.nvim_get_current_buf()
-    require("core.utils").tabuflinePrev()
+    require("core.utils").tabuflineNext()
     vim.cmd("bd" .. bufnr)
   end
 end

from ui.

siduck avatar siduck commented on August 17, 2024

i dont understand why changing this function would fix this issue 🤔

from ui.

tomasky avatar tomasky commented on August 17, 2024

i dont understand why changing this function would fix this issue thinking

no , this change has nothing to do with this issue , just a suggestion

from ui.

tomasky avatar tomasky commented on August 17, 2024

by the way, if i open more then 9 files, tbufpick command will have some problems, so mabe you shouldn't use the index of vim.t.bufs

from ui.

siduck avatar siduck commented on August 17, 2024

by the way, if i open more then 9 files, tbufpick command will have some problems, so mabe you shouldn't use the index of vim.t.bufs

problems like? show a vid!

from ui.

tomasky avatar tomasky commented on August 17, 2024

i must input char like 10, 11 ,but i only can input 0-9

from ui.

siduck avatar siduck commented on August 17, 2024

i must input char like 10, 11 ,but i only can input 0-9

oh maybe we can put a check in the tbufpick function

  • if #vim.t.bufs > 9 then run that getchar function twice else only once

from ui.

tomasky avatar tomasky commented on August 17, 2024

That's a solution too, but I think we should renumber visible buf, it is the most convenient to use

from ui.

siduck avatar siduck commented on August 17, 2024

That's a solution too, but I think we should renumber visible buf, it is the most convenient to use

renumber visible buf? i dont get it

from ui.

tomasky avatar tomasky commented on August 17, 2024

Normally, tabufline only shows 4-6 buffers. just need to number these buffers

from ui.

siduck avatar siduck commented on August 17, 2024

Normally, tabufline only shows 4-6 buffers. just need to number these buffers

depends on your screen size too

from ui.

tomasky avatar tomasky commented on August 17, 2024

There are usually no more than nine

from ui.

siduck avatar siduck commented on August 17, 2024

image

yes thats normal, just cycle around the buffers

from ui.

siduck avatar siduck commented on August 17, 2024

more than 9 cuz lots of space was saved by decreasing terminal font

image

from ui.

tomasky avatar tomasky commented on August 17, 2024

 My computer screen is already large, but it only displays six at most, Why can your computer show so much
You adjust the computer default resolution?

from ui.

siduck avatar siduck commented on August 17, 2024

image

yes thats normal, just cycle around the buffers

this is my actual resolution and shows 9 buffers at max

my screen resolution : 1920 x 1080 and screen width 40.6cm

from ui.

tomasky avatar tomasky commented on August 17, 2024

desktop?,oh Mine is a laptop ,Envy your screen

from ui.

siduck avatar siduck commented on August 17, 2024

desktop?,oh Mine is a laptop ,Envy your screen

no its a laptop, acer nitro 5

image

from ui.

tomasky avatar tomasky commented on August 17, 2024

screen width 40.6cm? oh I misread and thought it was 40 inches, your computer should be 15.6 inches like my computer,but the resolution is higher than mine

from ui.

Related Issues (20)

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.