Commit Graph

251 Commits

Author SHA1 Message Date
gmarik
03981c75ab no need to clone array 2011-08-11 23:59:22 -05:00
gmarik
1adcfc5154 fix BundleClean 2011-08-11 23:58:53 -05:00
gmarik
c66519076d clone results so id doesnt get modified inplace 2011-08-11 23:56:41 -05:00
gmarik
1fce117e54 do not write to file or create swap 2011-08-11 23:17:42 -05:00
gmarik
d893507b4f extracted common code
- but don't like it
2011-08-09 23:09:31 -05:00
gmarik
3052422f50 unifying code 2011-08-09 16:49:56 -05:00
gmarik
3284414c6a Merge branch 'nin' of http://github.com/gmarik/vundle into nin 2011-08-08 23:06:20 -05:00
gmarik
ec8b56e7ae BundleClean uses new UI as well
- TODO: refactor: extract common code
2011-08-08 23:01:52 -05:00
Jacobo de Vera
a56926fd5b Mark installed buffer as not modified
Installer buffer is marked as modified after each installation. Mark it
as nomodified so that no warnings are shown when the buffer is closed.
2011-08-08 16:58:29 +01:00
gmarik
e8c962156c commenting 2011-08-07 22:56:41 -05:00
gmarik
8a77bbfa35 start from current line 2011-08-07 22:30:57 -05:00
gmarik
fbf63ef617 put cursor on the next line after headers 2011-08-07 22:30:18 -05:00
gmarik
42f5825f70 verbose logging 2011-08-07 22:04:36 -05:00
gmarik
db8c5d5d62 use name_spec instead name 2011-08-07 21:18:33 -05:00
gmarik
5d4ee2de3d adding missing require 2011-08-06 02:47:49 -05:00
gmarik
45e9e7091b goto first line when viewing result 2011-08-06 02:38:19 -05:00
gmarik
4218a57934 use BundleSearch
- Bundles is not a good name for search
- BundleSearch undeprecated
- TODO: repurpose :Bundles cmd
2011-08-06 00:52:01 -05:00
gmarik
4167860539 :BundleList lists installed bundles 2011-08-06 00:51:43 -05:00
gmarik
23d047b76f :BundleClean now lists Bundles before removal 2011-08-06 00:51:43 -05:00
gmarik
f95998e5f1 minor improvement 2011-08-06 00:51:42 -05:00
gmarik
eb9dfefe87 silence bufer deletion 2011-08-06 00:51:42 -05:00
gmarik
fc749cdcc1 remove duplication 2011-08-05 23:47:35 -05:00
gmarik
57474f97a7 extract common code 2011-08-05 23:45:55 -05:00
gmarik
b9226caacb Rename sign definitions and simplify sign-ing 2011-08-05 16:41:50 -05:00
gmarik
96a58d427c rename uptodate to todate status
- otherwise confusing with updated
2011-08-05 16:28:00 -05:00
gmarik
a038016df3 extract signing into function 2011-08-05 10:12:04 -05:00
gmarik
d09841e4a6 check if relativenumber option available
- blows up otherwise for default vim on SnowLeo
2011-08-05 09:42:32 -05:00
gmarik
ed0610c916 micro sleep
- to display message properly
2011-08-05 08:48:57 -05:00
gmarik
06f84c898d Add Active state and change signs
- > active
- + updated
- . up to date
- ! error
2011-08-05 08:48:04 -05:00
gmarik
05501d3614 Distiguish ! command 2011-08-05 08:48:04 -05:00
gmarik
a3f1c1e537 move signs to vundle.vim and use 3 states
- ! is error
- . is up-to-date
- * is updated
2011-08-05 08:48:04 -05:00
gmarik
b4e7ca5e55 error out on unknown status 2011-08-04 21:11:31 -05:00
gmarik
60f299b227 get rid of error code, match error status too 2011-08-04 21:09:25 -05:00
gmarik
d37ab79841 match the output to find out the status
- rename statuses to be:
* error
* uptodate
* updated
2011-08-04 21:05:48 -05:00
gmarik
6c6efeeee5 Installer and Search use buffer
- instead writing to file and opening it
- faster and has nicer status name

- TODO unify
2011-08-04 14:12:13 -05:00
gmarik
865e4e2a6d bind q to delete buffer
- as a cleanup
- TODO: make ESC or CTRL-C break installation
2011-08-04 14:10:43 -05:00
Jacobo de Vera
f1bfa5f6cf Append '.git' to uris for short form repos
Uris for repos specified as user/repo end up being https://github.com/user/repo. For some reason, github allows cloning from such uris, however, it is better to rely on the addresses that github provide for cloning, and those include the trailing .git

This change appends .git to github repo uris when needed.
2011-08-04 01:59:20 +02:00
gmarik
e3623da0f9 use specified name with :BundleInstall
- otherwise it defautls to vim-scripts repos
- closes #69
- TODO: pass options aswell
2011-08-03 17:17:20 -05:00
gmarik
f8e887357e Merge branch 'master' into nin
Conflicts:
	autoload/vundle/scripts.vim
2011-08-02 14:54:33 -05:00
gmarik
08caedc2b7 do not set hls global when searching
- otherwise may conflict with user preferences
- closes #68
2011-08-01 21:57:12 -05:00
gmarik
5bf9f8c353 basic logging 2011-07-30 19:35:16 -05:00
gmarik
9ff2d24fe8 do not reverse bundle list 2011-07-30 18:46:41 -05:00
gmarik
d5e7f95121 wrap system call (to log output) 2011-07-30 18:46:17 -05:00
gmarik
49f152de21 use keymap 2011-07-30 18:45:25 -05:00
gmarik
5787e7e99f moved to scripts.vim 2011-07-30 18:44:54 -05:00
gmarik
db7db6232f fixing whitespace 2011-07-30 18:31:17 -05:00
gmarik
eca5e06a55 awesome installer 2011-07-30 18:23:50 -05:00
gmarik
139498855b some MSWin fixes 2011-07-23 19:13:47 -05:00
gmarik
da9efda74c preserve cached scripts on errorneous response
- wget only
- curl preserves content with --fail switch
2011-07-23 13:20:54 -05:00
Kohei Takahashi
47356d9ee5 fallback to use wget 2011-07-19 12:23:18 +09:00
gmarik
3849b5b8a6 fix err 2011-07-15 02:13:54 -05:00
gmarik
b75036a8e3 improve message
- add status to return values
- check status to see if bundle installed
2011-07-15 02:13:45 -05:00
gmarik
8009682591 improve message disaplay 2011-07-15 01:40:26 -05:00
gmarik
2067c2fc62 Handle script fetching errors
- make curl --fail on HTTP errors
- make curl -o output to file
- handle erros
- silence curl output
- unify curl command
2011-07-15 01:39:47 -05:00
gmarik
46d6ac3dfb Improved log message 2011-07-15 00:53:19 -05:00
gmarik
f84b02e635 handle errors
- do not redraw on errors
- echo error during installation
2011-07-15 00:52:27 -05:00
gmarik
063f68b26e expand path 2011-06-03 18:52:04 -05:00
gmarik
639ef572cf Merge branch 'winfix' 2011-06-03 18:13:28 -05:00
gmarik
66a6de721d Revert "Allow comments after Bundle declarations"
This reverts commit d840b24072.

- makes " quotes unusable
2011-05-31 19:01:06 -05:00
Dmitri Iouchtchenko
d840b24072 Allow comments after Bundle declarations 2011-05-29 20:07:17 -04:00
gmarik
06088de231 do not break on helptag generation errors
- just show the message
- closes #46
2011-05-28 02:55:49 -05:00
gmarik
63c3881a79 fix BundleInstall! on windows
- closes #45
- add /d swithc to cd command to perform drive change
- eclose joined commands with quotes
2011-05-27 19:15:35 -05:00
gmarik
a69866a942 expand bundle path
- closes #37
- join is useless there
2011-05-27 18:56:02 -05:00
gmarik
a2c5d5442d Fix regex 2011-05-23 14:30:50 -05:00
1319e527d6 Merge pull request #33 from latentflip/master
Fixed typo in bundle installer
2011-05-13 05:29:51 -07:00
Philip Roberts
997ec86eb5 Fixed typo in bundle installer.
no new bundless installed => no new bundles installed.
2011-05-13 00:45:55 -07:00
gmarik
fcad9a4bbb closes #31
- append slash to indicate directory, so expand ingnores wildignore
settings
2011-05-12 18:15:12 -05:00
Dmitri Iouchtchenko
76273c31a1 fix parsing of GitHub repo paths
GitHub usernames cannot start with an underscore, but they can be a
single character long.
2011-05-06 21:07:47 -04:00
gmarik
63d283ce98 make helptags generation ignore wildignore
- closes #21
2011-04-27 21:21:09 -05:00
gmarik
e3760e22c2 fixed version 2011-04-26 18:46:19 -05:00
gmarik
ac7d519e2b check for $MYVIMRC existence 2011-04-23 02:25:58 -05:00
gmarik
8565792679 allow custom bundle_dir 2011-04-23 02:23:26 -05:00
gmarik
c8d17b1cc6 ignore case when parsing name 2011-04-23 01:00:39 -05:00
gmarik
1599927a43 allow dash as github username 2011-04-23 00:53:34 -05:00
gmarik
5f2c8dc491 fix 2011-04-15 18:21:14 -05:00
gmarik
b1fc8b6d16 indent 2011-04-10 20:50:22 -05:00
gmarik
704a6dee95 embed filetype settings 2011-04-10 19:47:55 -05:00
gmarik
31dde613fc use appropriate escape function 2011-04-10 18:42:18 -05:00
gmarik
a7aa94d699 indent 2011-04-10 18:33:39 -05:00
gmarik
68be1a6ef1 todo 2011-04-10 18:32:01 -05:00
gmarik
e6897ca8c1 message when nothing to clean 2011-04-10 18:18:02 -05:00
gmarik
72b3b5e6db fix method call 2011-04-10 18:16:45 -05:00
gmarik
e5981b1048 indent code 2011-04-10 18:16:26 -05:00
gmarik
a0e6feb2b8 cleanup 2011-04-10 17:53:08 -05:00
gmarik
2f7a7c4088 no need to shellescape here 2011-04-10 17:52:14 -05:00
gmarik
61bfc5ab9f windows support 2011-04-09 18:54:18 -05:00
gmarik
2624232f73 Merge branch 'master' into windows 2011-04-03 16:02:07 -05:00
gmarik
9dcdbf16c6 support file:// scheme and repo/.git path 2011-04-03 15:30:45 -05:00
gmarik
c2a7b49eb5 Merge https://github.com/termac/vundle into 0.8 2011-03-31 14:39:21 -05:00
termac
7e7cde6444 fix regex for local repositories 2011-03-31 21:18:13 +02:00
Brad Anderson
37eba9825c Make :BundleClean work on Windows 2011-03-30 00:55:53 -06:00
Brad Anderson
555703d393 Fix error if directory already exists on windows 2011-03-30 00:36:16 -06:00
Brad Anderson
3854318432 Use DOS commands on Windows 2011-03-30 00:14:53 -06:00
gmarik
0852047c90 use empty() where possible 2011-03-28 13:05:26 -05:00
gmarik
a3c4221763 Verify if bundle selected 2011-03-23 12:55:45 -05:00
gmarik
92743769fb Remove quotes from names and uris 2011-03-19 21:31:49 -05:00
gmarik
3edc20673d go without Vundle log 2011-03-19 17:43:06 -05:00
gmarik
8496d6c604 map R key to reload bundles 2011-03-19 17:41:37 -05:00
gmarik
617ccb62ec glob instead expand 2011-03-19 16:59:50 -05:00
gmarik
9147f84f85 display bundle per line 2011-03-19 16:59:28 -05:00