From ab92a1d4f58131c2e172a006279f2ae50e302008 Mon Sep 17 00:00:00 2001 From: Amir Date: Wed, 4 Aug 2021 15:51:30 +0200 Subject: [PATCH] Revert back to peaksea MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not ready to change yet 😅 --- sources_non_forked/tlib/README | 84 +++++++++------------------------- vimrcs/extended.vim | 2 +- 2 files changed, 23 insertions(+), 63 deletions(-) diff --git a/sources_non_forked/tlib/README b/sources_non_forked/tlib/README index f5a6792e..98a20bb6 100644 --- a/sources_non_forked/tlib/README +++ b/sources_non_forked/tlib/README @@ -1,72 +1,32 @@ -This is a mirror of http://www.vim.org/scripts/script.php?script_id=1863 - This library provides some utility functions. There isn't much need to install it unless another plugin requires you to do so. -The most useful functions provided by this library probably are: +Most of the library is included in autoload files. No autocommands are +created. With the exception of loading ../plugin/02tlib.vim at startup +the library has no impact on startup time or anything else. -tlib#input#List(), tlib#input#ListW() - - Display a list - - Dynamically filter items matching a pattern (somethat like google) - - E.g. you filter for "foo -bar": show all entries containing foo but not bar. - - Select items from a list - - Do stuff - - Developers can define keys that trigger some action with the - selected items - - Demo: http://vimsomnia.blogspot.com/2010/11/selecting-items-from-list-with-tlibs.html +The change-log is included at the bottom of ../plugin/02tlib.vim +(move the cursor over the file name and type gfG) -tlib#input#EditList - + Edit a list (copy, cut, paste, delete, edit ...) - -:TLet VAR = VALUE - Set a variable only if it doesn't already exist. - -:TScratch - Open a scratch buffer (a buffer without a file). - -:TVarArg VAR1, [VAR2, DEFAULT2] ... - Handle "rest" (variable) arguments in functions. - EXAMPLES: - function! Foo(...) - TVarArg ['a', 1], 'b' - echo 'a='. a - echo 'b='. b - endf - -TBrowseOutput COMMAND - Every wondered how to effciently browse the output of a command - without redirecting it to a file? This command takes a command as - argument and presents the output via |tlib#input#List()| so that you - can easily search for a keyword (e.g. the name of a variable or - function) and the like. - - If you press enter, the selected line will be copied to the command - line. Press ESC to cancel browsing. - - EXAMPLES: - TBrowseOutput 20verb TeaseTheCulprit - TBrowseOutput let - TBrowseOutput map +Demo of |tlib#input#List()|: +http://vimsomnia.blogspot.com/2010/11/selecting-items-from-list-with-tlibs.html -Related (small) plugins that utilize tlib and thus provide some degree of uniform user experience: - tbibtools (vimscript #1915): bibtex-related utilities (sort, reformat, list contents ...) - tmarks (vimscript #2594): Browse, place, & delete marks - tmboxbrowser (vimscript #1906): A mbox browser -- Read your e-mails with vim - tmru (vimscript #1864): Most Recently Used Files - trag (vimscript #2033): A slightly language-aware alternative to grep - tregisters (vimscript #2017): List, edit, and run/execute registers/clipboards - tselectbuffer (vimscript #1866): A quick buffer selector/switcher - tselectfiles (vimscript #1865): A quick file selector/browser/explorer (sort of) - ttagecho (vimscript #2055): Show current tag information - ttagcomplete (vimscript #2069): Context-sensitive tags-based completion and code skeletons - ttags (vimscript #2018): Tag list browser (List, filter, preview, jump to tags) - ttoc (vimscript #2014): A regexp-based table of contents of the current buffer - vikitasks (vimscript #2894): Search viki files for tasks and display them in a list +----------------------------------------------------------------------- +Install~ + +Edit the vba file and type: > + + :so % + +See :help vimball for details. If you have difficulties, please make +sure, you have the current version of vimball (vimscript #1502) +installed. -For full details, please see: -http://github.com/tomtom/tlib_vim/blob/master/doc/tlib.txt -Also available via git -http://github.com/tomtom/tlib_vim + + +License: GPLv3 or later + + diff --git a/vimrcs/extended.vim b/vimrcs/extended.vim index 590b86c2..e07045aa 100644 --- a/vimrcs/extended.vim +++ b/vimrcs/extended.vim @@ -29,7 +29,7 @@ set guioptions-=L " Colorscheme set background=dark -colorscheme dracula +colorscheme peaksea """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""