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

Space isn't doing what it should be doing... #121

Closed
dfischer opened this issue Mar 30, 2017 · 1 comment
Closed

Space isn't doing what it should be doing... #121

dfischer opened this issue Mar 30, 2017 · 1 comment

Comments

@dfischer
Copy link

Environment

  • OS: macOS
  • vim
which vim
/usr/local/bin/vim
☁  seed [master] ⚡ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 26 2017 05:46:45)
MacOS X (unix) version
Included patches: 1-512
Compiled by Homebrew
Huge version without GUI.  Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_old_static
+arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           +mouse_urxvt     -tcl
-balloon_eval    +folding         +mouse_xterm     +termguicolors
-browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     -gettext         -mzscheme        +textobjects
+channel         -hangul_input    +netbeans_intg   +timers
+cindent         +iconv           +num64           +title
-clientserver    +insert_expand   +packages        -toolbar
+clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        +perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       +python          +vreplace
+cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            +ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xpm
+emacs_tags      -mouseshape      +startuptime     -xsmp
+eval            +mouse_dec       +statusline      -xterm_clipboard
+ex_extra        -mouse_gpm       -sun_workshop    -xterm_save
+extra_search    -mouse_jsbterm   +syntax
+farsi           +mouse_netterm   +tag_binary
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/local/share/vim"
Compilation: clang -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: clang   -L. -fstack-protector -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/readline/lib  -L/usr/local/lib -o vim        -lncurses -liconv -framework Cocoa   -mmacosx-version-min=10.12 -fstack-protector-strong -L/usr/local/lib  -L/usr/local/Cellar/perl/5.24.1/lib/perl5/5.24.1/darwin-thread-multi-2level/CORE -lperl -lm -lutil -lc -F/usr/local/opt/python/Frameworks -framework Python   -lruby.2.4.1 -lobjc

Problem Description

I come from spacemacs. When I press <space> + <p> I expect the project related keys to show up. Nothing shows up for me on any (space) command other than space + fd. I want to do space + p + f to find a file but no luck...

@liuchengxu
Copy link
Owner

liuchengxu commented Mar 30, 2017

In #34, we had a discussion about the vim plugin vim-leader-guide, which is similar to emacs-which-key. For now, I suggest you to put it in UserInit() in .spacevim:

function! UserInit()
    Plug 'hecal3/vim-leader-guide'
endfunction

I always try to keep consistency with spacemacs, but you know, it's hard (or impossible) to ensure literally identical. If you use terminal vim, space-vim searches files by fzf, which is an amazing command line tool, you can find more information in its README. Try SPC f f or :FZF, you'll like it. For the project aspect, try SPC p h or SPC p r. What's more, space-vim doesn't have such a key mapping SPC p f currently. Check it via SPC ?.

space-vim is in the early stage, after all. If you find anything unreasonable, contributions are highly welcome :).

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

No branches or pull requests

2 participants