8000 sda) does not behave as explained in help · Issue #165 · machakann/vim-sandwich · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sda) does not behave as explained in help #165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
cideM opened this issue Sep 21, 2023 · 0 comments
Open

sda) does not behave as explained in help #165

cideM opened this issue Sep 21, 2023 · 0 comments

Comments

@cideM
Copy link
cideM commented Sep 21, 2023

I am using the default configuration and I don't think that I have any plugins installed that would interfere with this. My plugins are:

        nvim-lspconfig
        vim-fugitive
        vim-rhubarb
        gitsigns-nvim
        vim-unimpaired
        vim-repeat
        vim-commentary
        vim-indent-object
        QFEnter
        nvim-treesitter-context
        fzf-lua
        vim-gutentags
        vim-dirvish
        leap-nvim
        vim-sandwich
        sad-vim
        copilot-vim
        vim-sayonara

        # Themes
        edge
        spacevim
        yui
        rose-pine
        everforest
        github-nvim-theme
        catppuccin-nvim

        # Syntax
        haskell-vim
        dhall-vim
        zig-vim
        Jenkinsfile-vim-syntax
        purescript-vim
        vim-js
        vim-lua
        vim-jsx-pretty
        vim-nix
        vim-terraform

        nvim-treesitter.withAllGrammars

If my cursor is inside (foo) and I type sda) it aborts the sequence when I get to a and it tries to delete any pair of a's it finds. But according to :h sandwich:

	(foo)
 
press `sda(` deletes the parenthesis since the default textobject |a(| assigns
the region surrounded by "(" and ")" including them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0