Commit Graph

274 Commits

Author SHA1 Message Date
gmarik
b571067525 use capital D to map delete cmd
- to avoid accidental removal
2011-08-22 18:56:42 -05:00
gmarik
17b4a11588 Fix spelling 2011-08-21 15:18:18 -05:00
gmarik
2506ac3c67 rename storage file
- so it better reflects the content
2011-08-20 20:19:45 -05:00
gmarik
22b86e2979 g:bundle_dir/.vundle is a storage dir now
- do not clutter up ~/
2011-08-20 20:17:57 -05:00
gmarik
3f4ed10b55 log file is a tempfile
- not sure if there's a need for log file in predefined location
- installer is verbose enough to signal errors
2011-08-20 20:11:49 -05:00
gmarik
06480ede43 delete buffer if it loaded
- to avod error when deleting nonexisting buffer
2011-08-20 19:53:34 -05:00
gmarik
e1e2c64caa Improve message
- show installation destination
2011-08-20 19:34:52 -05:00
gmarik
73e9c651fa helptags is a part of install script now 2011-08-19 00:54:06 -05:00
gmarik
e4715271ec initialize bundle instead crafting path manually 2011-08-19 00:44:30 -05:00
gmarik
d41ce3ea35 quite a refactor
- batch process just iterates through the lines and calls specified
action
- individual actions give visual feedback aswell
- allow Helptags command as a part of installation process
2011-08-19 00:35:45 -05:00
gmarik
9a82aaf500 timestamp log entries 2011-08-18 23:52:54 -05:00
gmarik
d71770dc0a Merge remote branch 'dbox/nin' into nin 2011-08-18 17:48:47 -05:00
gmarik
1874255efd remove reload_bundles at all 2011-08-18 17:47:47 -05:00
gmarik
5077f37d9d Merge branch 'nin' of http://github.com/gmarik/vundle into nin 2011-08-18 17:46:07 -05:00
gmarik
72f059b6c1 arrangement 2011-08-18 17:45:34 -05:00
gmarik
ad9804671c remove setup_view()
- merge with view()
- no need for having both
2011-08-18 17:45:34 -05:00
gmarik
5c06a28fca couple logging fixes
- log is global array so log can be viewed any time
- log gets written to a defined location ~/.vim-vundle/vundle.log
- TODO: write log changes as they happen
2011-08-18 16:30:32 -05:00
Jacobo de Vera
7701ac5fd8 Do not reload vimrc on BundleInstall
BundleInstall sources the current vimrc in order to reload all Bundles
in order to consider new Bundles that might have been added by the user
directly on their vimrc file. This, however, should not be Vundle's
responsibility, changes in vimrc should not be applied unless it is
re-sourced explicitly by the user.

This makes Vundle use the known list of Bundles for installation.
2011-08-18 12:08:37 +01:00
gmarik
055439e1fc helptags are logged-only 2011-08-13 19:52:10 -05:00
gmarik
aa9bd35eab improve message, suggest log on errors 2011-08-13 19:49:34 -05:00
gmarik
1e516d3249 fix messages 2011-08-13 19:23:42 -05:00
gmarik
97d4520c50 improve :BundleClean 2011-08-13 19:19:34 -05:00
gmarik
f49bbe8598 remove duplication 2011-08-13 19:12:32 -05:00
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