Commit Graph
48 Commits
Author SHA1 Message Date
Tinmarino c9ba53e204 Refractor: Path Add utility unixify #478
Basically unixify all before workingm then transofom in function os os

Util: Add function sort_len that a list of string according to the lenght of its content
Fix: VimwikiRenameLink doesn't update links in diary #90
Test: VimwikiRenameLink with nested directories
Prettify comments in autoload/path + remove antipattern
Define osxify function helper to solve windows Vs Unix : see #478
Path: remove useless temporary fix convertion before calling relpath (redundant) : see #478
Test: Fix typo
Path corrected (Thanks to test)
2020-07-25 03:51:02 -04:00
Tinmarino 81c67f97e4 Test: 1/Fix some interdependencies 2/replace -o -> -f
1/ Fix interdependencies: any test can run alone
2/ Replace command line -o by -f
3/ As usual makesome formating, don't hate me if merge conflicting ..
2020-07-25 02:05:59 -04:00
Tinmarino ac38bb2f09 Refactor: normalize_link_v, creating u#get_selection (Fix #382)
* Less hacky selection handling: nomal command hack -> vimscript code
* Some prettifying, antipattern removal
2020-07-24 17:59:54 -04:00
Tinmarino edf562fab0 Test: VimwikiTableMoveColumnLeft and some friends
Test: VimwikiTableMoveColumnLeft (Note:cannot test <M-Left> map : not triggered)
Test: issue #949 <Enter> create link bug with Chinese characters
Test: VimwikiGoto with ,wn
Test: Table left align
Prettify: modeline of contributing
2020-07-24 00:16:09 -04:00
Tinmarino 446776e00b Fix: Table imap <Tab> (error from new tipo on configurable mapping) 2020-07-24 00:16:02 -04:00
Tinmarino f21245a843 Fix: html conversion error from markdown (#951)
From last html conversion refactoring
2020-07-24 00:14:28 -04:00
Tinmarino 8cf2789840 Prettify 2020-07-21 19:37:05 -04:00
Tinmarino 068a26acec Fix link extension removed 2020-07-21 19:36:14 -04:00
Tinmarino 667929d3f9 Prettify tbl.vim 2020-07-21 15:15:56 -04:00
Tinmarino dfc5344d0c Fix: #891 Table Pressing <Enter> autosets tw<-0
Issue: Pressing <Enter> in insert mode in table breaks line wrapping #891
2020-07-21 15:13:58 -04:00
Tinmarino 19bfe93ef3 Test: Table should not change tw 2020-07-21 15:10:27 -04:00
Tinmarino 1072f2a14e Lint, diary from last PR: ==? and '' 2020-07-21 13:24:42 -04:00
Tinmarino 45b7515b88 Fix: VimwikiGenerateDiary with unreplaced __FileExtention__ 2020-07-21 13:12:18 -04:00
Tinmarino 75a9232fd5 Fix: #913: VimwikiGoto completion aafter <CR> [in input() prompt]
Issue #913:
        :VimwikiGoto tab completion only works when written in-line, not when called from \wn #913
        PR #785 adds completion to :VimwikiGoto, however it works only when you try to type the filename after the command, e.g.
2020-07-21 10:20:06 -04:00
TinmarinoandGitHub 2f20c617d6 Update Contributing.md
WIth github interace, enfasis on the non regression tests
2020-07-21 09:06:44 -04:00
Tinmarino e1826702b7 Fix: Link substitution of __FileExtension__ #914 2020-06-16 17:47:40 -04:00
Tinmarino 865b402c06 Travis: Fix vint error propagation 2020-06-16 14:48:15 -04:00
Tinmarino 43951e5851 Clean & Fix: cycle_bullets bug not defined key in dic: #911 2020-06-16 13:46:56 -04:00
Tinmarino 1617d4b654 Test: add issue non-regession and todo list 2020-06-04 17:29:47 -04:00
Tinmarino 5e564bb10d Comment: code and robustify 2020-06-04 17:29:26 -04:00
Tinmarino d8e7e40fcd Update vimwiki.txt
REmove the star at flex
2020-06-01 11:24:15 -04:00
Tinmarino 285f1628c2 Test: Fix: exit status (was always 0) 2020-05-30 18:08:23 -04:00
Tinmarino 36fa81c059 Fix: get_wikilinks arguments: add pattern 2020-05-26 14:06:17 -04:00
Tinmarino f54b94a38f Lint tipo 2020-05-20 14:43:56 -04:00
Tinmarino e83173c7c8 Test remove commented nvim from Dockerfile 2020-05-20 14:41:07 -04:00
Tinmarino 972594829e Lazy: Link with only '-' do not work 2020-05-18 21:23:38 -04:00
Tinmarino f49a91501b Fix: Command [count]o can't repeat in vimwiki
Issue #776
2020-05-17 14:07:43 -04:00
Tinmarino 077467877d Util: count_exe 2020-05-17 14:06:41 -04:00
Tinmarino f4c983b6b5 Feature: VimwikiGenerateLink take pattern optional argument
Issue #803
2020-05-17 13:14:08 -04:00
Tinmarino 3b5537f15a Fix: Link containing only '-'
Issue #835 #876
2020-05-17 12:31:32 -04:00
Tinmarino c6564119b0 Doc: g:vimwiki_auto_chdir, emphasis __root__ wiki path
and not current file path as Issue #802
2020-05-14 00:17:31 -04:00
Tinmarino ee38764480 Add: ShowVersion: os and vim version for easyer issue debug 2020-05-13 22:43:41 -04:00
Tinmarino e850cb8562 Add travis tests 2020-05-13 11:35:22 -04:00
Tinmarino 0850ce13ad Fix: retrocompatibility and Vint 2020-05-13 11:35:22 -04:00
Tinmarino d86685f350 Test: comment non working -> All tests green 2020-05-13 11:35:22 -04:00
Tinmarino 1852c6c542 Fix: clean_url removing Chinese character
Issue: <Enter> create link bug with Chinese characters #849
Thank: @BSDxxxx
2020-05-13 11:35:22 -04:00
Tinmarino 39812e5c96 Fix: renaming tipo: s:get_diary_file -> vimwiki#diary#get_diary_files() 2020-05-13 11:35:22 -04:00
Tinmarino 1020ac51bf Prettify: Special case in diary not so special
Same as generic case within this PR
2020-04-22 11:22:53 -04:00
Tinmarino f9b9b5a768 Test: plaintext html magic 2020-04-18 14:10:05 -04:00
Tinmarino 614287a42b Comment: tipo 2020-04-17 19:01:03 -04:00
TinmarinoandRane Brown d9412218e3 Fix relative paths for VimwikiRenameLink. Merge PR #787.
Fixes #90 

__Problem__: VimwikiRenameLink does not rename dir1/toto url in dir2/tata
because the dirs (dir2 and .) were well crossed but badly inspected.
__Solution__: `blob(.ext*)` -> `glob(**/*.ext)` + find the relative URL

* Fasten: VimwikiRenameLink goes faster with cache
More: To compute old_url regex, use a cache dict because it is the same
for files in the same directories

* Util DeleteHiddenBuffer -> do not delete Vader buffer

* Test: Prettify: Util: teardown delete defined function

* Remove unnecessary trailing spaces
Note: list_VimwikiReturn.vader has some necessary trailing spaces
2020-01-04 21:21:52 -07:00
tinmarino 8db9d4b387 VimwikiGoto: Enable VimwikiGoBackLink after 2019-12-15 19:23:50 -03:00
tinmarino 80013f457d Feature: VimwikiGoto completion works with only part of filename
Problem: Could not complete when the user argument was not the begining
of the filepath
Solution: use custom smartcase filter and customlist instead of custom
2019-12-15 02:27:11 -03:00
tinmarino 64eea36b1e Feature: VimwikiGoto completion get also link of files nested in directories
Before: VimwikiGoto <Tab> -> completed only files in current dir
After: complete also files in nested dirs
Changes: glob(*) -> glob(**/*)
2019-12-15 02:27:11 -03:00
tinmarino ce4074aeb9 Test: Add vader tests for fixing going back links on same file 2019-10-28 19:14:50 +01:00
tinmarino c4a40e7fc7 Fix: VimwikiGoBackLink does not go back to links on the same page #691 2019-10-24 23:24:17 +02:00
tinmarino 53ba047a18 Clean code: : mutualise bash: is_wiki_link: command not found in a script function 2019-10-24 23:24:17 +02:00
tinmarino dfccfb1951 Add option : g:vimwiki_table_reduce_last_col. Used to not expand table last cells in order to avoid large, useless wraps 2019-03-23 11:23:58 -03:00