crivotz / nv-ide

Neovim custom configuration, oriented for full stack developers (Ruby on Rails, ruby, php, html, css, SCSS, javascript)
https://www.locatelli.dev/nv-ide/
598 stars 58 forks source link

How to see all shortcuts #38

Closed karambaq closed 1 year ago

karambaq commented 1 year ago

Hey man thanks for this project. I've used IDE's last few years so I'm totally get used to simple interfaces. Can you please give me a hint about how I can see all the available shortcuts, or maybe search them up?

Right now I'm trying things out, I'm trying to rename variable in python code using Space + rn

image

For example I have this code:

some_var = 1

After doing Space + rn it just becomes:

snme_var = 1

Please give me suggestions how I can use your config to the fullest?

Thanks

P.S. Also do you have patched version of JetBrains Mono? Asking because I've downloaded latest version from they site and missing some powerline symbols

crivotz commented 1 year ago

Hi, I don't have an actual list of mappings, to make it easier for those who want to use nv-ide I have put which-key for use. I refer you to this link https://github.com/folke/which-key.nvim#-usage.

Concerning LSP I am fixing it using mason-lspconfig, the mappings you see on there are referencing the language-servers you see commented below. To have it active in python install with Mason pyright and add the following code:

require'lspconfig'.pyright.setup{
    on_attach = on_attach,
}

For the font I used to use JetBrains mono provided by Nerd fonts (https://www.nerdfonts.com/font-downloads) but now I switched to using the 'original' font and added on my terminal as a fallback in case some symbol is not found the Symbols Nerd Font.

crivotz commented 1 year ago

In the last commit I started to fix the LSP configuration part and added pyright try to see if it works :smile: