Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
vim-relafile
quick access of related files via keymaps (useful for django like framework filesystems)
I would first look into installing plugins, you can get a plugin that will do auto complete and check for valid python code. I use VimPlug. https://github.com/junegunn/vim-plug
For your second problem. Personally, I use git worktree to work on different branches. In each work tree you can have a separate Session.vim file. You can create it manually with :mksession or use a plugin https://github.com/tpope/vim-obsession. You may find https://github.com/tpope/vim-projectionist useful too. IMO centralized management from inside Vim is not the way to go, but that's not the only point of view. There is https://github.com/mhinz/vim-startify for example.
For your second problem. Personally, I use git worktree to work on different branches. In each work tree you can have a separate Session.vim file. You can create it manually with :mksession or use a plugin https://github.com/tpope/vim-obsession. You may find https://github.com/tpope/vim-projectionist useful too. IMO centralized management from inside Vim is not the way to go, but that's not the only point of view. There is https://github.com/mhinz/vim-startify for example.
For your second problem. Personally, I use git worktree to work on different branches. In each work tree you can have a separate Session.vim file. You can create it manually with :mksession or use a plugin https://github.com/tpope/vim-obsession. You may find https://github.com/tpope/vim-projectionist useful too. IMO centralized management from inside Vim is not the way to go, but that's not the only point of view. There is https://github.com/mhinz/vim-startify for example.
I will say I use https://github.com/tpope/vim-fugitive, just for easily checking exactly which files im committing and some other little things. I'm not really following my own advice but it's just so damn convenient ;-;
However since it's vim, I like having an easy way of doing that from within the editor too. I like using lazygit, which I made a hotkey to pop it open in a floating window. So that allows me to easily manages branches and commits if for some reason I cant remember the command I want.
https://github.com/mjbrownie/vim-relafile https://github.com/mjbrownie/vim-relafile-django
https://github.com/mjbrownie/vim-relafile https://github.com/mjbrownie/vim-relafile-django