57 Commits

Author SHA1 Message Date
NTCong
0fcd636031 remove keywords sorting 2017-01-16 16:27:32 +07:00
José Otávio Rizzatti Ferreira
4b01b6cd20 Fix VimL syntax 2016-01-24 07:39:59 -02:00
José Otávio Rizzatti Ferreira
6e06897997 Use filetype only if dashkeywords empty 2016-01-24 07:39:39 -02:00
José Otávio Rizzatti Ferreira
81ce68b432 Fix duplicate entries in DashKeywords 2016-01-24 06:26:38 -02:00
José Otávio Rizzatti Ferreira
3cf5831866 Fix autocommand 2016-01-24 06:09:22 -02:00
José Otávio Rizzatti Ferreira
14010a8f58 Add dash_activate option to save on Command+Tab 2016-01-24 06:06:58 -02:00
José Otávio Rizzatti Ferreira
ca61e55f3d Remove dead code 2016-01-24 05:43:49 -02:00
José Otávio Rizzatti Ferreira
fe2a79d480 Add bang to DashKeywords 2016-01-24 05:28:10 -02:00
José Otávio Rizzatti Ferreira
3c435605d2 Change Dash open command to use -g 2015-08-13 03:06:23 -03:00
José Otávio Rizzatti
4b4a86cea7 Remove uniq function (fixes #22) 2014-06-09 10:09:56 -04:00
José Otávio Rizzatti
07cad225bd Fix user autocommands for DashKeywords (fixes #24) 2014-06-09 10:08:10 -04:00
José Otávio Rizzatti
a4f9f525c7 Wrap the dash map code in a function 2014-06-09 09:25:18 -04:00
Thiago Alves
c682df0c15 Make the plugin respect the g:dash_map variable.
[Problem]
For some reason the documentation states that as a user I can set g:dash_map
global variable with a dictionary of "vim filetype" -> "dash docset" and
dash.vim will honor this map when calling Dash.app. Unfortunately this global
variable is never used in the plugin.

[Solution]
On autoload/dash.vim read the global variable and update the plugin map to honor
it.

[Note]
This change also makes possible to define a full list as a value on the
dictionary allowing the user to fully replace all the docsets defined by
default.
Also, the documentation was updated to reflect the change.
2014-05-20 14:21:38 -07:00
José Otávio Rizzatti
bd185c4a9a Remove aliases 2014-05-06 15:19:41 -04:00
José Otávio Rizzatti
3ebbcb2d02 Remove dependency on the cache 2014-05-06 14:42:46 -04:00
José Otávio Rizzatti
e9b26cf5aa Remove processing of plist 2014-05-03 17:12:22 -04:00
José Otávio Rizzatti
ad84ebc112 Check for autocommand presence 2014-05-03 16:34:15 -04:00
José Otávio Rizzatti
bb608a7577 Move defaults to their own file 2014-03-16 16:13:32 -04:00
José Otávio Rizzatti
673405d186 Take into account versioned docsets 2014-03-16 15:55:59 -04:00
José Otávio Rizzatti
0e1f23dc17 Always adds new keywords instead of resetting 2014-03-16 15:39:55 -04:00
José Otávio Rizzatti
aa783b1f93 Add default keywords for searching withing Dash
Creates a list of mappings for docsets and filetypes known to vim, which
will let most users automatically search a group of their installed
docsets whenever they are in a recognized filetype.

This list will be following the descriptions in accordance with:
http://kapeli.com/dash_plugins
2014-03-16 15:25:42 -04:00
José Otávio Rizzatti
9d7b4354b1 Improve DashKeywords
Calling DashKeywords without arguments will show the keywords set for
the current buffer.
2014-03-16 11:32:16 -04:00
José Otávio Rizzatti
978272ccd6 Implements new plugin protocol (closes #12)
The new protocol is described at http://kapeli.com/dash_plugins

I do not take care of 'percent encoding' the queries, however, as
normally those are used for method name lookups, which should be a
single word.
2014-02-20 01:33:10 -04:00
Dan Brown
9f4508b24f Escape shell characters in query before running 2013-07-19 16:00:02 +01:00
José Otávio Rizzatti
40f2cccd07 Update headers 2013-03-19 15:39:15 -04:00
José Otávio Rizzatti
d9ed29c293 Show keyword for profiles in DashSettings 2013-03-19 14:23:37 -04:00
José Otávio Rizzatti
c564632c26 Fix minor issues on rewrite 2013-03-19 14:03:09 -04:00
José Otávio Rizzatti
42c903cc11 Reorganize the search function 2013-03-19 13:20:07 -04:00
José Otávio Rizzatti
5dabf0ea5a Add function to add keywords to the current buffer 2013-03-19 04:09:36 -04:00
José Otávio Rizzatti
c720648272 Add dummy functions for entry points 2013-03-19 04:08:38 -04:00
José Otávio Rizzatti
ef2da370fa Removes obsolete code 2013-03-19 04:06:13 -04:00
José Otávio Rizzatti
89779ea2c8 Show settings using the new cache 2013-03-19 03:58:15 -04:00
José Otávio Rizzatti
efbf120492 Complete using the new cache 2013-03-19 03:57:42 -04:00
José Otávio Rizzatti
c0e99beb3a Update url references 2013-03-18 16:07:37 -04:00
Zeh Rizzatti
54bfea2f4b Fix tiny bug on :Dash 2013-03-18 04:07:19 -04:00
Zeh Rizzatti
02da0f31ed Consolidate get and set into DashDocsets command 2013-03-16 19:05:09 -04:00
Zeh Rizzatti
56d6589af0 Add DashGetDocsets command 2013-03-16 17:05:30 -04:00
Zeh Rizzatti
71bdd0dbbd Consider options from DashSetDocsets on search 2013-03-16 16:49:12 -04:00
Zeh Rizzatti
ed3749f87e Rename command DashDocsets to DashListDocsets 2013-03-16 03:47:00 -04:00
Zeh Rizzatti
9451b231da Add command DashSetDocsets 2013-03-16 03:45:43 -04:00
Zeh Rizzatti
3e7318eecf Code cleanup 2013-03-15 19:57:50 -04:00
Zeh Rizzatti
05d69ec39e Allow a count with the mappings 2013-03-15 18:18:46 -04:00
Zeh Rizzatti
0e6228c9c2 Allow user defined filetype to docset map 2013-03-15 14:41:25 -04:00
Zeh Rizzatti
40c249cba8 Search globally if filetype does not match keyword 2013-03-15 14:08:43 -04:00
Zeh Rizzatti
68f0f571d4 Add DashDocsets command 2013-03-15 12:06:38 -04:00
Zeh Rizzatti
85928a5a86 Change initialize 2013-03-15 11:26:44 -04:00
Zeh Rizzatti
e56f757931 Fix completion in case Dash is not installed 2013-03-15 11:25:22 -04:00
Zeh Rizzatti
49ef1df782 Fix redrawing on terminal vim 2013-03-15 03:30:28 -04:00
Zeh Rizzatti
0c0b724d34 Consider user defined keywords for completion
Also consider special cases for docsets with the same framework name,
but different versions, like Python 2 and 3, Qt 4 and 5.
2013-03-15 03:27:13 -04:00
Zeh Rizzatti
ac8a096140 Remove duplicate docsets 2013-03-15 02:18:07 -04:00