-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Combine efforts with vim-spacemacs #1
Comments
Yeah sure, no problem with that. Looking at |
I created vim-spacemacs because I had been using spacemacs for a bit and was switching back to vim but found that I liked the spacemacs keybindings better than the ones I had previously set up on my own. Looking around I couldn't find any plugins at the time to help with this. Rather than just putting the keybindings in my own vimrc which it seemed like everyone else was doing, I just created the plugin so maybe other's could benefit from my work and pitch in if they wanted. Looking through this plugin I am not sure I understand the source. Why are you using |
Yes I have added all your keybinding (except the NERDTree ones because I want to use netrw instead). |
Yeah, I think you hit on the biggest issue we are going to run into: what external plugins do we support... personally I do not use NERDTree, I don't even have it installed, but people wanted it and it didn't interfere with my workflow, so it got added. I'm not super experienced writing VIM plugins but if there was a way to create vim-spacemacs/spacevim in a external plugin agnostic sort of way that would be ideal in my mind. Similarly, I'm not sure how I feel about declaring all my bindings using I've tried my best to keep external plugin usage localized/isolated among the few commands where they are absolutely necessary but this is still not as good as the progressive enhancement idea that I think would be ideal. What are your thoughts on this? Do you have any idea how something like this might be achieved? |
Sure, plugin choices gonna be one of the hardest part. I'm not against the "best effort" behavior (depending if a plugin is installed or not), I wrote all the keybindings with For progressive enhancement, IMO the best should be to display something like "You try to execute a command but you don't have the associated plugin. You should install 'foo/bar' first". However, I seriously have doubt on my VimL skills to do that now :P So first, I think that be loosely coupled with Is it OK for you ? |
I gonna take example of https://github.com/lverweijen/vim-spacemacs/blob/master/plugin/spacemacs.vim thanks @lverweijen |
I have done some work to be independent from |
i just found this, coming from jimmay5469/vim-spacemacs#10
(fyi, i also contributed some new bindings to the other project, but this one looks maybe a bit more ahead. i'll look into trying this project out making a PR tonight, but if i can't figure out how spacevim_bind works, someone else should maybe look at it... i do some integration with syntastic, easymotion, and undotree which could be nice) |
Sorry I forgot the vnoremap <silent> <SID>indent-region-or-buffer ==
vmap <leader>j= <SID>indent-region-or-buffer As I want to display command name and not real executed command in I'm not a vimL expert so it may not be the right way to do that. |
i'm no vimL expert either, but i took a stab at some new stuff: #3 i modified spacevim_bind a bit, i'm sure there's a better way than how i did it! i'm happy to change it if you have suggestions. also feel free to just take a subset of the commits or something |
anyways with these changes merged, i believe there would be very little left unported from https://github.com/jimmay5469/vim-spacemacs .. should just be:
|
All the things reported by @WuTheFWasThat are backported now. |
awesome! i think you accidentally deleted fzf.vim from the README in 7f0762b IMO this issue can be closed now, since the other project doesn't appear to really be actively developed anyways |
https://github.com/jimmay5469/vim-spacemacs has been around for awhile now, maybe combine efforts?
/cc @jimmay5469 @sleexyz @ehamberg @nixmaniack
The text was updated successfully, but these errors were encountered: