Commit Graph

295 Commits

Author SHA1 Message Date
gmarik
5b0bb1375d inline loop
- also work in batches
2012-02-15 23:05:38 -06:00
gmarik
1fce719532 make rtpath an attribute
- having it as a function makes it slower
2012-02-15 23:05:21 -06:00
Sam Lidder
b6071db7a5 make calls to glob* compatible with vim 7.1 2012-01-14 16:06:00 -05:00
gmarik
f6ce31fa38 https is a default proto
- as `http` one just redirects to `https` on GitHub
2011-12-20 03:07:12 -06:00
gmarik
3e7b39fe52 introduce g:vundle_default_git_proto option
- use `let g:vundle_default_git_proto = 'git'` to set default protocol
to build URIs to clone from
2011-12-20 03:06:21 -06:00
gmarik
162b1bdd4f treat transcient bundles as configured
- "transcient bundle" - a bundle installed with :BundleInstall or interactively
  without being declared in .vimrc

- treat them the as if they were configured
- so everything works the same

- ie before this change helptags weren't generated automatically
  with `BundleInstall bundle` or with interactive mode

- it changes the way `:BundleClean` works, since it removes directories
  that aren't bundles
- FIX: `:source .vimrc` to let `:BundleClean` remove transcient bundles

- closes #99
2011-12-20 02:06:40 -06:00
gmarik
73daf4eb9f replace exec with system()
- closes #64
2011-11-23 01:19:50 -06:00
gmarik
c97bfafdd4 %T formatter breaks MS Win use portable instead
- closes #104
2011-11-19 00:01:57 -06:00
gmarik
43080a1e5c ignore wildignore with expand/glob
- closes #110
2011-11-18 01:23:40 -06:00
gmarik
88b8120afa Merge branch 'devel' of https://github.com/rson/vundle 2011-11-06 17:13:03 -06:00
Randy Morris
5adaa6b3c4 give BundleClean prompt a default value of 'y'
Also save/restore input so potential mappings aren't broken.
2011-11-05 17:25:50 -04:00
Randy Morris
b0d3b6f8f6 whitespace changes in the BundleClean input prompt 2011-11-05 17:25:38 -04:00
Randy Morris
99c112fe4f add whitespace to search map
Prevents the user from having to type a space before the search term.
2011-11-05 17:24:56 -04:00
gmarik
8122fb1a96 fix appending to nomodifiable buffer
- closes #80
2011-11-04 00:08:44 -05:00
gmarik
bf25e018bc make function reloadable 2011-11-04 00:06:06 -05:00
Matthew Boston
eb61670e4d update vundle.vim to version 0.9 2011-10-10 11:06:34 -04:00
gmarik
304e63642b avoid flicker when operating
- use `redraw` instead `redraw!`
- closes #90
2011-10-03 17:50:15 -05:00
gmarik
152a0d4332 fix spelling 2011-08-26 11:53:39 -05:00
gmarik
0324149a0e change keybindings 2011-08-25 20:13:03 -05:00
gmarik
8f13a839dd source manually installed bundles as well 2011-08-25 20:11:58 -05:00
gmarik
80e6e3c91a escape path 2011-08-25 12:37:06 -05:00
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