utils 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/utils/config/vimrc +14 -4
- data/lib/utils/version.rb +1 -1
- data/utils.gemspec +1 -1
- metadata +7 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.13
|
data/lib/utils/config/vimrc
CHANGED
@@ -15,8 +15,6 @@ set expandtab shiftwidth=2 tabstop=2
|
|
15
15
|
set foldcolumn=0
|
16
16
|
set formatoptions=cqrt
|
17
17
|
set fsync
|
18
|
-
set grepformat+=%f
|
19
|
-
set grepformat+=%f:%l
|
20
18
|
set hidden
|
21
19
|
set history=1000
|
22
20
|
set hlsearch
|
@@ -372,25 +370,37 @@ if has("autocmd")
|
|
372
370
|
endif
|
373
371
|
|
374
372
|
function! Cfind(...)
|
373
|
+
redraw
|
374
|
+
echo "Finding..."
|
375
375
|
if a:0 == 0
|
376
376
|
let args = [ expand( '<cword>') ]
|
377
377
|
else
|
378
378
|
let args = copy(a:000)
|
379
379
|
endif
|
380
|
+
set grepformat=%f
|
380
381
|
set grepprg=discover
|
381
|
-
|
382
|
+
set hlsearch
|
383
|
+
let @/=args[0]
|
384
|
+
silent exec "silent gr -a 'a-zA-Z0-9' -c -i " . join(map(copy(args), 'shellescape(v:val)'), ' ')
|
382
385
|
copen
|
386
|
+
redraw!
|
383
387
|
endfunction
|
384
388
|
|
385
389
|
function! Cgrep(...)
|
390
|
+
redraw
|
391
|
+
echo "Grepping..."
|
386
392
|
if a:0 == 0
|
387
393
|
let args = [ expand( '<cword>') ]
|
388
394
|
else
|
389
395
|
let args = copy(a:000)
|
390
396
|
endif
|
397
|
+
set grepformat=%f:%l
|
391
398
|
set grepprg=search
|
392
|
-
|
399
|
+
set hlsearch
|
400
|
+
let @/=args[0]
|
401
|
+
silent exec "silent gr -c -i " . join(map(args, 'shellescape(v:val)'), ' ')
|
393
402
|
copen
|
403
|
+
redraw!
|
394
404
|
endfunction
|
395
405
|
|
396
406
|
function! Ctest(...)
|
data/lib/utils/version.rb
CHANGED
data/utils.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-08-08 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gem_hadar
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152656900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.11
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152656900
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: spruz
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152656420 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.2.12
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152656420
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: term-ansicolor
|
38
|
-
requirement: &
|
38
|
+
requirement: &2152655880 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '1.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2152655880
|
47
47
|
description: This ruby gem provides some useful command line utilities
|
48
48
|
email: flori@ping.de
|
49
49
|
executables:
|