You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
django.nvim
Collection of commands for Django development.
Requirements
Required dependencies
Installation
Using lazy.nvim
return {
{
'https://git.lucasf.dev/public/django.nvim',
config = function()
local django = require("django").setup()
end
}
}
Using packer.nvim
use {'https://git.lucasf.dev/public/django.nvim'}
Using vim-plug.nvim
Plug 'https://git.lucasf.dev/public/django.nvim'
Usage
Default Mappings
Mappings | Action |
---|---|
<leader>ja |
Create django app |
<leader>jc |
Perform manage.py check |
<leader>je |
Create .env file |
<leader>jh |
Perform manage.py showmigrations |
<leader>ji |
Perform manage.py migrate |
<leader>jm |
Perform manage.py makemigrations |
<leader>jp |
Create python package |
<leader>jr |
Perform manage.py runserver |
<leader>jr |
Perform manage.py shell or shell_plus |
<leader>jy |
Run celery |