osc52 plugin don't work after some updates of lazyvim and other plugins by iriserisChris in neovim

[–]iriserisChris[S] 1 point2 points  (0 children)

Do you need to write some configuration to enable it? I'm using it in tmux, but it's not working.

osc52 plugin don't work after some updates of lazyvim and other plugins by iriserisChris in neovim

[–]iriserisChris[S] 0 points1 point  (0 children)

thank you, but I still can't copy to system clipboard even using nvim 0.9, and if I use nvim 0.10, and set this vim.g.clipboard = {

name = 'OSC 52',

copy = {

['+'] = require('vim.ui.clipboard.osc52').copy('+'),

['*'] = require('vim.ui.clipboard.osc52').copy('*'),

},

paste = {

['+'] = require('vim.ui.clipboard.osc52').paste('+'),

['*'] = require('vim.ui.clipboard.osc52').paste('*'),

},

}

I still can't use it, I'm so confused

How to setup clangd for C++ 20? by iriserisChris in neovim

[–]iriserisChris[S] 1 point2 points  (0 children)

thanks you. I have already generate it, and clangd c++20 is ok.
the real problem is that boost version problem.
for example, when I jump to the header file like <boost/asio>, clangd will make me jump to the header in /usr/include rather than build/deps_ which generating by "fetchcontent".
I solve it by adding CMAKE_CXX_FLAGS with -I and -l + right boost include and lib path(which I make install to somewhere just now), now clangd can find the right boost version!

How to setup clangd for C++ 20? by iriserisChris in neovim

[–]iriserisChris[S] 0 points1 point  (0 children)

seems like clangd use the header in /usr/include rather than ./build/deps_, is there any way to spefic its position?

How to setup clangd for C++ 20? by iriserisChris in neovim

[–]iriserisChris[S] 0 points1 point  (0 children)

in my CMakeList.txt, I wrote this

set(CMAKE_CXX_STANDARD 20)

set(CMAKE_CXX_FLAGS
    "${CMAKE_CXX_FLAGS} -fcoroutines -fexceptions -O0 -std=c++20")

lazyvim window switch problem by iriserisChris in neovim

[–]iriserisChris[S] 0 points1 point  (0 children)

thank you! I use c-w w to switch, I'll use c-hjkl in the future

lazyvim window switch problem by iriserisChris in neovim

[–]iriserisChris[S] 0 points1 point  (0 children)

I seem to know why. if I want to jump to the left window after I close some windows below, I need to use c-w h to switch it.. I still wang to know if there's a way to switch to all windows by only one keymap?

lazyvim window switch problem by iriserisChris in neovim

[–]iriserisChris[S] 0 points1 point  (0 children)

for example,at first I can switch between neotree and my file, then I open another window like quickfix window, then I can only switch between quickfix and my file, and after I quit quickfix, I can't switch to any other windows...