Giter Site home page Giter Site logo

Comments (4)

ploth avatar ploth commented on April 28, 2024

After quitting a debug session and returning to my tab some keymaps are still overwritten like Ctrl - p

from nvim-gdb.

sakhnik avatar sakhnik commented on April 28, 2024

@ploth, unfortunately, I can't reproduce the issue. But please feel free to open another one describing the exact steps to reproduce. It would be helpful if neovim were run like so: cd test; nvim -u init.vim

from nvim-gdb.

ploth avatar ploth commented on April 28, 2024

It would be helpful if neovim were run like so: cd test; nvim -u init.vim

Do you want me to start over with an empty init file?

I don't know exactly how to debug this issue/help you with my information.
After starting nvim I usually press ctrl - p to search for the file I want to edit.
:map <C-p> results in the following output: n <C-P> * :FZF<CR>
Typing :GdbStart gdb -q -f <mybinary> starts the the TUI like environment in a new tab.
After my debug session I write quit in the debuggers console. It is not necessary to do anything. Writing quit instantly results in the same issue.
This results in switching to my previous tab where I edited my file.
All keymaps are overwritten from now on.
:map <C-p> results in the following output: No mapping found

These are my settings for this plugin:

" nvim-gdb ((((((((((((((((((((((((((((((((((((((((((((((((
" gdb and lldb wrapper
Plug 'sakhnik/nvim-gdb'
let g:nvimgdb_disable_start_keymaps = 1
" nvim-gdb ))))))))))))))))))))))))))))))))))))))))))))))))

PS: Had the same issue before setting let g:nvimgdb_disable_start_keymaps = 1

from nvim-gdb.

sakhnik avatar sakhnik commented on April 28, 2024

Thanks, now I understand what happened, and will be able to fix the issue #19 soon.

from nvim-gdb.

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.