rb_nav 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rb_nav/version.rb +1 -1
  2. data/lib/rb_nav.vim +4 -3
  3. metadata +1 -1
@@ -1,4 +1,4 @@
1
1
  module RbNav
2
2
 
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
data/lib/rb_nav.vim CHANGED
@@ -39,13 +39,14 @@ endfunc
39
39
 
40
40
  function! s:autocomplete_classes()
41
41
  call s:prepare_autocomplete()
42
- call feedkeys("\<c-w>K:resize 2\<cr>", 't')
42
+ resize 2
43
43
  inoremap <buffer> <cr> <Esc>:call <SID>open_class_file()<cr>
44
44
  noremap <buffer> <cr> <Esc>:call <SID>open_class_file()<cr>
45
45
  setlocal completefunc=AutocompleteRbNavClasses
46
- gg
47
46
  call setline(1, "Select a class or module: ")
48
- call feedkeys("o\<c-x>\<c-u>\<c-p>", 't')
47
+ call setline(2, "")
48
+ normal G$
49
+ call feedkeys("a\<c-x>\<c-u>\<c-p>", 't')
49
50
  endfunction
50
51
 
51
52
  function! AutocompleteRbNavClasses(findstart, base)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rb_nav
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Daniel Choi