artempyanykh / marksman

Write Markdown with code assist and intelligence in the comfort of your favourite editor.
MIT License
1.98k stars 35 forks source link

Where can i find the keybindings for marksman? #304

Closed fretzo closed 3 months ago

fretzo commented 6 months ago

Hi,

quick question: Where can i find the keybindings for marksman?

I am using the plugin in neovim, and i installed it through NixOs system packages, and everything works great!

The only information i have found regarding bindings is here.

Is there another place that lists the bindings?

Thank you.

skbolton commented 6 months ago

You have to set them up yourself. You can look into :help lsp to get the lsp docs in neovim. But generally the functions all start with vim.lsp.....

Here is an example from my old dotfiles where I set the callback for a language server attaching to a buffer and setting up keybinds. https://github.com/skbolton/titan/blob/d37c0178c41652191285fe031ca89ee0568c3bf5/nvim/nvim/plugin/lsp.lua#L34

artempyanykh commented 3 months ago

Thanks @skbolton for answering the question here!