Commit Graph

252 Commits

Author SHA1 Message Date
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
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
ac7d519e2b check for $MYVIMRC existence 2011-04-23 02:25:58 -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
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
gmarik
94d0d42ff6 minor fix 2011-03-19 16:49:58 -05:00
gmarik
8710b90f66 hls doesn't work 2011-03-19 16:49:38 -05:00
gmarik
618573c996 display counts 2011-03-19 16:48:55 -05:00
gmarik
3de88b4644 remove extra redraw 2011-03-19 16:16:43 -05:00
gmarik
a4a3a23658 minor improvements: 2011-03-19 16:15:33 -05:00
gmarik
9869d5b9fa check for actual helptag files 2011-03-19 16:14:58 -05:00
gmarik
c23ccfabda move logging to install 2011-03-19 15:21:05 -05:00
gmarik
dd5b44db2c require bunch 2011-03-19 15:18:56 -05:00
gmarik
1695316a29 Revert ":BundleInstall is gone for now"
what was I thinking...?!

This reverts commit 035cc6ecba.
2011-03-19 14:11:02 -05:00
gmarik
851fe26a45 add keymap help and bindings 2011-03-19 14:09:53 -05:00
gmarik
035cc6ecba :BundleInstall is gone for now 2011-03-19 13:51:32 -05:00
gmarik
749ec129da fetch and replace in single run 2011-03-19 13:40:47 -05:00
gmarik
b85b45b80f introduce :Bundles
- unify search and browse unders same interface
2011-03-19 13:12:31 -05:00
gmarik
3f13edf6aa refactor. simple UI to install individual scripts 2011-03-19 02:54:35 -05:00
gmarik
d9bdffe74f group related conditions 2011-03-18 20:25:11 -05:00
gmarik
5ce63c7de1 support short github uris
- ie, like this
Bundle 'gmarik/vundle'
2011-03-12 01:54:41 -06:00
gmarik
bf5e062927 use https instead http 2011-03-10 23:06:25 -06:00
gmarik
3f216f13e4 support gh: and github: uri shorthands 2011-03-10 23:04:24 -06:00
gmarik
dcade75133 fixed bug
- map modifies source collection
- arrays are passed by reference
- resulted in remapping g:bundles into list or directories
2011-03-10 22:41:18 -06:00
gmarik
f99ca2e5ac replaced loops with functional analogues 2011-03-10 22:41:14 -06:00
gmarik
de308ff406 remove require guard
- was beaking case when bundle is already installed(downloaded) but not
configured
- should not affect other cases as adding require is pretty safe
2011-03-06 17:21:45 -06:00
gmarik
fb77c082e6 add bundle.rtpath to &rtp on require 2011-03-06 17:21:43 -06:00
gmarik
b3216ac594 do not require on load
- this was intended for case when user uncomments installed `Bundle` and
reloads .vimrc; which should make the bundle available
- TODO: later
2011-03-06 17:18:03 -06:00
gmarik
b893d3f005 bangs are "booleans" now 2011-03-06 15:24:08 -06:00
gmarik
5f13029754 formatting 2011-03-06 15:24:08 -06:00
gmarik
02d76b101b do not debug log 2011-03-06 15:24:08 -06:00
gmarik
f0d8f98351 complete BundleInstall command 2011-03-06 15:24:08 -06:00
gmarik
117ff5c27c allow :BundleInstall script_name 2011-03-06 15:23:25 -06:00
gmarik
2df30b4c4f Bang refactoring
- pass booleans instead '!'
2011-03-04 15:52:08 -06:00
gmarik
39eaa069ec Fixed helptags generation 2011-03-04 15:51:43 -06:00
gmarik
71865630ea minor fix 2011-03-04 15:40:14 -06:00
gmarik
036cd82989 helptags generation split 2011-03-04 15:28:29 -06:00
gmarik
cda847b7a7 Use single quotes for search results 2011-02-11 14:46:37 -06:00
gmarik
840cd3b683 Reverse search results to show most recent on top 2011-02-11 14:37:09 -06:00
gmarik
f002815be0 Ignore case when searching scripts 2011-02-11 14:35:06 -06:00
gmarik
2aa86954ea Bugfix: Fixed pattern 2011-02-03 23:21:32 -06:00
gmarik
8a253e4154 :VundleLog - shows commands log 2011-02-03 23:13:46 -06:00
gmarik
814c420ec2 Adding BundleClean!
- BundleClean now requires confirmation
2011-01-22 17:18:47 -06:00
gmarik
75f14de912 BundleClean cleans up unused scripts
- removes unused directories
2011-01-22 09:40:13 -06:00
gmarik
55a5ef041c Preserve rtp ordered according to Bundle declarations
- fixes https://github.com/gmarik/vundle/issues#issue/3
- TODO: not the most efficient approach
2011-01-09 22:27:59 -06:00
gmarik
79e2e58107 Bugfix: fixed condition to source $MYGVIMRC 2011-01-05 13:57:47 -06:00
gmarik
46f5dcd5cc Issue with command-T and explicit loading 2010-12-14 14:49:48 -06:00
gmarik
5a7ff95560 Fixing reloading issue.
- closes https://github.com/gmarik/vundle/issues/#issue/2
- thanks http://github.com/dag for reporting
2010-12-11 20:37:28 -06:00
gmarik
e9f430ee0e TODOs 2010-12-08 23:15:10 -06:00
gmarik
e1b4ef5f09 Require installed script
- so it's ready to use right after installation
2010-12-08 22:55:16 -06:00
gmarik
04ac11f435 Fixed some dependencies 2010-12-08 22:52:58 -06:00
gmarik
5db64d6709 autoload/vundle.vim extracted into smaller files
- vundle.vim - entrypoing and loader
- config.vim - configuration and runtimepath management
- installer.vim - installation and docs
2010-12-08 22:31:11 -06:00
gmarik
e97542280f redraw! after searching 2010-11-29 17:10:42 -06:00
gmarik
d3cecdaaa0 Fixed formatting 2010-11-29 17:10:42 -06:00
gmarik
8c0b12d556 Use preview-window for search results 2010-11-29 17:10:42 -06:00
gmarik
ef641633b5 Cleanup 2010-11-26 16:28:52 -06:00
gmarik
5632996548 Reuse same window for sarch results 2010-11-26 16:14:17 -06:00
gmarik
014eaec120 BundleSearch! will refresh scripts before search
- stay updated
2010-11-26 12:42:25 -06:00
gmarik
7f7b3f1097 Cleanup 2010-11-26 12:42:19 -06:00
gmarik
e7995e04d5 Some syntax higlighting 2010-11-24 15:55:32 -06:00
gmarik
ce09fefcde Highlight search results 2010-11-24 15:55:05 -06:00
gmarik
95706b32a0 Removed formatting as not needed anymore 2010-11-24 12:42:13 -06:00
gmarik
20695c546a bugfix 2010-11-22 13:36:06 -06:00