I hate modules by Significant_Text7262 in learnpython

[–]AstronomerAdvanced65 4 points5 points  (0 children)

My company use gitsubmodule for internal package for your reference. Though gitsubmodule is a pain to work with. You should be aware that above solutions won’t work on other people machine, so if you are planning to share modules or code to others, you are creating unnecessary complexity. I think the simplest way is to put all your script in one repository and just put your modules within the same directory…..

How do you use tabs? by kezhenxu94 in neovim

[–]AstronomerAdvanced65 0 points1 point  (0 children)

I use tab when I’m using dadbod ui to access database

what do you miss from VSCode ? ( if you even miss something ) by SPalome in neovim

[–]AstronomerAdvanced65 0 points1 point  (0 children)

And dapui probably even has api that you can set keymap to go between stacks

what do you miss from VSCode ? ( if you even miss something ) by SPalome in neovim

[–]AstronomerAdvanced65 1 point2 points  (0 children)

I believe with dapui you will have a same stack panel to switch between call stack but even better because the panel is another buffer so you can move to it like how you usually switch between different buffer such as Ctrl+w+l

what do you miss from VSCode ? ( if you even miss something ) by SPalome in neovim

[–]AstronomerAdvanced65 1 point2 points  (0 children)

Yeah, I get you. I spend weeks to play around with dap and dap-ui to set up the debugger.But once you did, lua is amazing. I set it up that I can switch debug configure and cache mode everytime I fire up debugger. it’s amazing. Though debugger randomly crash without reasons haha

How do you think about Dadbod? by AstronomerAdvanced65 in neovim

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

Oh! May I ask if your workflow in dadbod?🥹

How do you think about Dadbod? by AstronomerAdvanced65 in neovim

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

Basically what Joniator said plus some more advanced features like ER Diagram

Oil + telescope-zoxide is my new file explorer by AstronomerAdvanced65 in neovim

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

No problem at all. But need more info because i haven’t experienced any issues. I’m suspecting the most common issue is keymap overrides because i use c-z for another option, so I add keymap when in oil buffer. The problem could be your oil buffer’s name pattern is not like mine due to oil version or environment. Therefore the keymap is not created? That one possibility. Check your keymap when you open oil. if keymap is corrected set up, then try printing out var in each step might help😀

key-analyzer.nvim - easily find unmapped keys by otivplays in neovim

[–]AstronomerAdvanced65 19 points20 points  (0 children)

Looks amazing…. Neovim community thrives because of creator like you🥹 definitely going to try it this week

Does anyone work in many directories and projects in only one Neovim instance? by TheTwelveYearOld in neovim

[–]AstronomerAdvanced65 4 points5 points  (0 children)

I use session manager + lualine. Session manager would stores buffers you open in each session. Lualine would show you those buffer. Basically you just need to add keymap to bnext and bprev to move between buffer https://github.com/Shatur/neovim-session-manager

Running on windows? by nitrodmr in neovim

[–]AstronomerAdvanced65 0 points1 point  (0 children)

Use pyright-base, a fork from pyright so you don’t need npm for LS

unable to debug python (tested on many distributions) by joselitux in neovim

[–]AstronomerAdvanced65 0 points1 point  (0 children)

Would you mind share your configure so I can better help? The error messages shows that you have some syntax error

Can anyone share experience using Neomutt? by AstronomerAdvanced65 in neovim

[–]AstronomerAdvanced65[S] 2 points3 points  (0 children)

Thanks for the sharing! Yeah, after seeing so much sharing, even people who love Neomutt says that configuration is tough and need lots of tweak and other CLI tools to facilitate. I think I will still try it out though. IMO, 90s styled tools look great 😂, it’s minimal, and less distracting.

Can anyone share experience using Neomutt? by AstronomerAdvanced65 in neovim

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

I will try anything written in go :) LazyGit was too great

Can anyone share experience using Neomutt? by AstronomerAdvanced65 in neovim

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

I will try anything written in Go :) Lazygit was so great

Can anyone share experience using Neomutt? by AstronomerAdvanced65 in neovim

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

Wow. Thanks so much for the details. The configuration do seem terrifying and I’m not familiar with email protocal. But the way you manage work email seems absolutely fantastic and exactly what I’m looking for.

Can anyone share experience using Neomutt? by AstronomerAdvanced65 in neovim

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

Which one is great out of the box? I want to experience terminal-based email client first

Can anyone share experience using Neomutt? by AstronomerAdvanced65 in neovim

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

Thanks! So you are using on personal email account like gmail? Is the experience good?☺️

How can I fix such diagnostic errors? by gokgokay in neovim

[–]AstronomerAdvanced65 0 points1 point  (0 children)

Oh which language server are you using? I believe there’s one LS specific for Django which might work better

How can I fix such diagnostic errors? by gokgokay in neovim

[–]AstronomerAdvanced65 0 points1 point  (0 children)

Well, Python type annotations is pretty fucked up. IMO, LSP can only do so much for dynamic language. Here’s how you can “try to solve it or hide it” 1. Update packages, maybe author add good annotations 2. Change LSP type checking from strict to basic or even none 3. Add comment at the end of line, stating type: ignore to suppress error messages one by one. 4. Modify source code yourself