Skip to content
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

Vim distribution support is not proper (As per my understanding) #30

Closed
ajeebkp23 opened this issue Apr 3, 2020 · 4 comments
Closed
Labels

Comments

@ajeebkp23
Copy link

[I'm the same person, who opened an issue about neovim support. That was my official id, I accidentally opened a github issue from it.]

What doesn't work ?

  • keyboard shortcuts, for example, Ctrl-P is not working in spf13. May be, if I installed this as a second distribution.
  • I need more testing... to confirm other cases.

Vim distribution means a with a set of pluggins and a .vimrc file. The package manager and some plugins are already configured.

This will be helpful to people who is seriously lacking in time to configure all plugins and other settings.

Or, in other words, vim pre-configured vim, just install and use.

I will list few of popular vim-distributions

https://vim.spf13.com/ (https://gist.github.com/SantoshSrinivas79/84bc4dc821fd0a453706)
https://github.com/bling/dotvim
https://github.com/carlhuda/janus
https://github.com/astrails/dotvim
https://github.com/vitaly/dotvim2
http://skwp.github.io/dotfiles/
http://vim.liuchengxu.org/ (https://github.com/liuchengxu/space-vim)
https://github.com/amix/vimrc
https://github.com/rust-lang/rust.vim
https://github.com/sheerun/vim-polyglot
http://moelove.info/vim/ (https://github.com/tao12345666333/vim)
https://github.com/wklken/vim-for-server
https://github.com/skywind3000/vim
https://github.com/chxuan/vimplus

I don't say, we should support all these list. But, It would be much better, if we can make swim work in good condition for at least top 2 in this list.

@dawsbot dawsbot added the bug label Apr 3, 2020
@dawsbot
Copy link
Owner

dawsbot commented Apr 3, 2020

Thanks for the bug report. I'm not sure the repro steps. Please provide:

  1. Step-by-step instructions how you setup your environment to create this issue.

  2. Your current environment versions. Here's an example:

npx sist shell output:

shell

uname: Darwin
echo $SHELL: /bin/zsh
echo $TERM: xterm-256color-italic
echo $TERM_PROGRAM: iTerm.app

Time created: Fri Apr 03 2020 16:28:04 GMT-0400 (Eastern Daylight Time)

  1. Your vim information (vim --version):
NVIM v0.4.3
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/config -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/src -I/usr/local/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/deps-build/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/src/nvim/auto -I/tmp/neovim-20191107-85913-1wbgqz6/neovim-0.4.3/build/include
Compiled by brew@Catalina.local

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.3/share/nvim"

@ajeebkp23
Copy link
Author

Hi, I was busy with some other stuff. I will update you about exact steps to reproduce the issue.

I will update you in the evening with exact steps and benefits.

@ajeebkp23
Copy link
Author

  1. Environment versions.
    npx sist shell output:

shell

uname: Linux
echo $SHELL: /bin/bash
echo $TERM: xterm-256color
echo $TERM_PROGRAM:

Terminal program is Terminator (https://terminator-gtk3.readthedocs.io/).
Linux is GNU/Linux Debian (11) bullseye (https://www.debian.org/releases/testing/)

vim --version Output (some parts skipped, it's very long output):

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Mar 24 2020 03:21:40)
Included patches: 1-439
Modified by team+vim@tracker.debian.org
Compiled by team+vim@tracker.debian.org
  1. Re-producee steps
    I was trying to install spf-13 distribution (https://vim.spf13.com/).
    curl http://j.mp/spf13-vim3 -L -o - | sh (# Simple command to deal with).

Here are few lines from it. The script is backing up existing one, so as to modify it.

renamed '/home/username/.vim' -> '/home/username/.vim.20200406_1586193541'

Also, check this. Another distribution.
https://github.com/bling/dotvim#installation

In ~/.swim folder only .vimrc files are kept. As you can see, both distribution above DO NEED .vim folders.

Anyway, thanks for your effort. I like the concept very much. I'm happy, I did write about it in my blog.

I'm not seriously, looking forward to continue with this effort. I think, rm -r ~/.vim* + Fresh installation is easy (Internet and time is not that costly, especially with vim distributions I mentioned above).

Again. Thank you.

@dawsbot
Copy link
Owner

dawsbot commented Apr 8, 2020

Sounds good! I assumed there would be problems for swim with a setup as elaborate as spf13. If there are many users that want that support, I'd be open to working on it.

Since nobody has brought this up before, it sounds like it's a niche requirement 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants