kristijanhusak / defx-git

Git status implementation for https://github.com/Shougo/defx.nvim
MIT License
71 stars 6 forks source link

Could i show the default git short status on Defx #3

Open amikai opened 5 years ago

amikai commented 5 years ago

It's mean can i show the head two column of git status --short --porcelain.

kristijanhusak commented 5 years ago

You can simulate it by overriding https://github.com/kristijanhusak/defx-git#gdefx_gitindicators, but it's not 100% same. It's interesting idea though... I'll look into adding this.

amikai commented 5 years ago

Maybe i create the new project which base on your project.

kristijanhusak commented 5 years ago

I'll probably add it, it's good idea.

kristijanhusak commented 5 years ago

@amikai i added it. Add this variable to your vimrc and let me know how it looks.

let g:defx_git#raw_mode = 1
mhartington commented 5 years ago

I like it! Just enabled it and I like it much better than the icons/symbols.

roachsinai commented 3 years ago

It's great. Thanks!

roachsinai commented 3 years ago

Hi, @kristijanhusak <Plug>(defx-git-prev) not work well when setting let g:defx_git#raw_mode = 1.

As code below:

https://github.com/kristijanhusak/defx-git/blob/319dd3bdc82705ab9a9a9b1a284b076579100eab/ftplugin/defx.vim#L17

set pattern for not raw mode.

roachsinai commented 3 years ago

Like I have an untracked file and ?? will show on defx, if I run <Plug>(defx-git-next) cursor will on the sencond ? not the next file that has a stutas.

kristijanhusak commented 3 years ago

@roachsinai yeah it's not working. Please open up a separate issue for that.