Giter Site home page Giter Site logo

Comments (4)

Konfekt avatar Konfekt commented on June 9, 2024 1

Yes, wholheartedly agree, I am also stuck with CtrlSpace but the binary picker is by now dispensable, since Vim seems to have it built-in. Maybe @girishji 's https://github.com/girishji/scope.vim/ gives an idea. Maybe https://github.com/yehuohan/popc serves you well in the meanwhile, I didn't come around to trying it out, yet

from vim-ctrlspace.

Konfekt avatar Konfekt commented on June 9, 2024 1

Error detected while processing function ctrlspace#keys#Keypressed[14]..ctrlspace#keys#workspace#LoadOrSave[2]..23_loadWorkspace[32]..ctrlspace#workspaces#LoadWorkspace[62]..70_execWorkspaceCommands[26]..TabClosed Autocommands for "*"..function 31_tabCallback:

This is best asked at https://github.com/yehuohan/popc/issues but it is likely that as a fork there are competing autocmds

Regarding 2., maybe layers are the answer

from vim-ctrlspace.

swoh816 avatar swoh816 commented on June 9, 2024

@Konfekt Thanks for pointing me to the right plugins. I'm not very used to configuring Neovim (specifically Lazyvim), so I couldn't delve much into Scope.vim myself. However, as you said, Popc does an amazing job, and now I can use CtrlSpace in a floating window. Thanks so much!

One problem that's newly introduced by using Popc is that now I see the following error when I launch LazyVim:

Error detected while processing function ctrlspace#keys#Keypressed[14]..ctrlspace#keys#workspace#LoadOrSave[2]..<SNR>23_loadWorkspace[32]..ctrlspace#workspaces#LoadWorkspace[62]..<SNR>70_execWorkspaceCommands[26]..TabClosed Autocommands for "*"..function <SNR>31_tabCallback:
line   22:
E516: No buffers were deleted: noautocmd bdelete! 1
E516: No buffers were deleted: noautocmd bdelete! 4

This error occurs only when I turn on Popc. The error disappears if I turn off (mute) Popc. Somehow, the functions in CtrlSpace seem to have been affected by Popc.

I configured both CtrlSpace and Popc using Lazy.nvim, which uses lua script.

from vim-ctrlspace.

swoh816 avatar swoh816 commented on June 9, 2024

There are two more problems to use Popc with CtrlSpace:

  1. Popc restores tabline, so that tabline appear at the top even though I set vim.opt.showtabline = 0.
  2. PopcBuffer correctly shows only buffers, not bookmarks, tabs, workspaces. It says Nothing to pop for everything else than buffers.

from vim-ctrlspace.

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.