Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Commits on May 20, 2013
@xolox Add xolox#misc#timer#force() function c4997a1
@xolox Remove line continuation from xolox#misc#os script 5812878
@xolox Add xolox#misc#os#find_vim() function d3f9a89
@xolox Update documentation in README 8b60a41
@xolox Updated miscellaneous scripts 2956ee9
Commits on May 21, 2013
@xolox Remove compatibility checking of miscellaneous scripts fdbb8b2
@xolox Cleaned up old miscellaneous scripts fb59e17
@xolox Release 0.21.4 32019ec
Commits on May 22, 2013
@vladimiroff vladimiroff Add misc/notes/recent.txt to .gitignore 9d31dac
@xolox Merge pull request #39 from Vladimiroff/master
Add misc/notes/recent.txt to .gitignore
Commits on May 25, 2013
@xolox Merge branch 'master' into dev af22fad
@xolox Document vim-misc as external dependency 061c030
@xolox Bug fix for xolox#notes#select() 825b30e
@xolox Merge branch 'master' of af8756f
@xolox Update 036f98b
@xolox Improve the readme d3e8b67
@xolox Rephrase readme 96024ad
Commits on Jun 23, 2013
@xolox Started working on a proper parser for note taking syntax 907c2a2
@xolox Parsing of code blocks 275f5b7
@xolox Note to Markdown converter based on parser (far from finished) a2d0e25
@xolox Note to HTML converter based on parser & Markdown converter ae7c019
@xolox Pimp HTML output, start working on support for list items 1ad706c
@xolox :NoteToMarkdown command, support for horizontal rulers 7fa8ff6
@xolox Support for nested list items! 2d8de91
@xolox Work around a bug in the Markdown specification... 3b11454
@xolox Automatically mark URLs in Markdown output dd823a1
@xolox Use Twitter Bootstrap for HTML template (plus minor assorted improvem…
@xolox Support for block quotes c9646eb
@xolox Clean things up a bit 4220fa8
@xolox Dead easy Markdown/HTML conversion! (using new note parser)
Last week I wrote a simple note to Markdown converter so I could easily
convert some notes to HTML (which I then copy/pasted to Google Docs :-).
This weekend I wrote the same thing again but now more or less properly,
using the following three stages:

  1. Parse the note's syntax for easy manipulation;
  2. Convert the note to Markdown;
  3. Convert the Markdown to HTML.

I'm not exactly proud of the parser yet. My first few attempts used Vim
regular expressions but that was just awful. What I have now is awfully
slow but it works and it's very portable. Also I haven't really been
bothered by the performance so far :-)
Commits on Jul 07, 2013
@GeorgeSG GeorgeSG Added 'In Progress' state
You can now add the INPROGRESS, CURRENT or STARTED keyword to indicate
work on a given task has been started.
Commits on Jul 16, 2013
@xolox Merge pull request #42: Added 'In Progress' state
See pull request #42 on GitHub:
Commits on Jul 18, 2013
@xolox Bug fix for note to Markdown conversion of list items (issue #44)
See issue #44 on GitHub:
Commits on Aug 19, 2013
@xolox Make sure vim-misc is installed, politely complain if it isn't 378dd12
Commits on Sep 02, 2013
@xolox Improvements to
 - Bug fix: Output encoding of listed keywords
 - Bug fix: Don't print empty line when there's no matches
   (related to issue #47 but not a complete solution ... yet)
 - Move index version to variable

See also issue #47 on GitHub:
@xolox Bug fix for communication between notes.vim and*
The problem was that there was no way to distinguish the two cases:

  1. The script successfully reported no matches.
  2. The script failed with an error (or couldn't even be executed).

Now the two cases are properly disambiguated.

See issue #47 on GitHub:
@xolox Translate Vim's awkward E480 stack trace into a clean error message
See issue #47 on GitHub:
Commits on Oct 13, 2013
@jcrussell jcrussell Added option to disable unicode in vimrc.
Unicode is enabled by default if the file encoding is UTF-8. Added
option to override this behavior by setting the following flag in the
user's vimrc:

g:notes_unicode_enabled = 0
Commits on Jun 16, 2014
@xolox Option to highlight note names on word boundaries (pull request #67) e91ed34
@xolox Try to resolve issue #62: Apostrophes are turned into curly quotes cb5c3cc
@xolox Resolve pull request #56 (clarified intention of code) c6c76db
Commits on Jun 17, 2014
@xolox Bug fix for issue #68 (silence E403)
See issue #68 on GitHub:
@xolox Change ASCII style bidirectional arrows to Unicode 2e416bd
Commits on Jun 20, 2014
@xolox Add logging to :SearchNotes in order to debug issue #53 on GitHub
See issue 53 on GitHub:
Commits on Jun 25, 2014
@abhinav abhinav Don't sync title for shadow notes.
See #55
Commits on Jun 29, 2014
@xolox Merge pull request #69: Don't sync title for shadow notes
This also resolves issue #55.
Commits on Jul 06, 2014
@xolox First attempt* at support for notes in nested directories (issue #71)
* This might be a little rough around the edges, but it seems to work
  pretty well, so I currently don't see any reason not to make this the
  default. Some details I will have to think through a bit more, but
  they will no doubt become apparent once the feature is released.

  This change requires the latest version of vim-misc.
@xolox Merge pull request #49: Add option to disable Unicode e88a8d1
@xolox Add word boundary to Vim command highlighting (issue #59) a09f683
@xolox Add dash to 'iskeyword' so it can be used in tags (issue #61) 9c8e701
@xolox Highlight inline code fragments (issue #60) 7de3c95
Commits on Jul 07, 2014
@xolox Clarify intent of notes_title_sync option in readme (issue #23) e900224
Commits on Aug 04, 2014
@xolox Bug fix for issue #77: Error when deleting note when there are no buf…
Commits on Sep 14, 2014
@xolox Disable special key mappings inside {{{ snippets }}}
This is my first serious attempt to resolve issue #79 and issue #83.
I was originally worried that this might have serious impact on typing
speed because the <expr> mappings now have to search back through the
current buffer to determine their context.

In practice the slowness isn't that bad and it *is* really nice to type
regular quotes inside code blocks. No doubt this will become a performance
problem for someone editing 10.000 line notes, but we'll cross that bridge
when the get there ;-)
Commits on Oct 20, 2014
@xolox Trigger BufWritePre/BufWritePost autocmd events in xolox#notes#save()
It's hard to estimate the consequences of this change, but there's really
only one way to find out, hence I'm committing the change. The previous
behavior was a bug anyway, it's just that it could have been hiding a lot
of other bugs and incompatibilities until now... I'm keeping my fingers
crossed ;-)

See also issue #88 on GitHub:
Commits on Nov 03, 2014
@xolox Start using 'syntax sync fromstart' until we find a better way ...
See also issue #2 on GitHub:
Commits on Nov 11, 2014
@xolox Document usage of multiple platforms (issue #85)
See also issue #85 on GitHub:
Commits on Nov 21, 2014
@m42e m42e Accept ``` as inline code marker (md/html) eecabb9
@m42e m42e Fixed parsing for Inline Code marker 8fc4b12
Commits on Nov 23, 2014
@m42e m42e Removed additional space b146c40
Commits on Nov 27, 2014
@xolox Emit proper Markdown horizontal rulers in conversion to Markdown format 5ddf420
@xolox Merge pull request 98: Accept ``` code markers (similar to GFM*)
* GFM -> GitHub Flavored Markdown
Commits on Dec 15, 2014
@naddeoa naddeoa Added ability to open html in a new split.
The html feature is very convenient, but I find myself wanting to view
the source code at times. Without this option, I would have to open
thefile in a browser, right click and view page source.
@naddeoa naddeoa Added support for converting to Mediawiki syntax.
My job uses Mediawiki based wikis. This allows me to continuing using
vim-notes and share my notes when my coworkers need to see them.
Commits on Dec 18, 2014
@naddeoa naddeoa Updated documentation to contain :NoteToMediawiki
Also updated the documentation to contain the `:NoteToHtml split`
Commits on Dec 22, 2014
Anthony Naddeo Added coloring to TODO, XXX, and strikethrough to DONE 2a996a9
Anthony Naddeo Fixed case matching.
The TODO and DONE should only be colored if they are exact case
sensitive matches. Also, only the first match should be colored.
Commits on Dec 29, 2014
@xolox Merge pull request #103: Open HTML in split & Mediawiki converter
In this merge commit I'm making a couple of minor changes:

 - The `---` sequence is now used as a horizontal divider in the
   Mediawiki syntax converter.

 - The changes to xolox#notes#html#view() created a temporary file even
   when the HTML was shown in a Vim split window, now the temporary file
   is only created when it needs to be passed to a web browser.

 - I changed some wrong indentation, removed some unused code (the
   counter variable) and renamed some private variables
   (s/hilight/highlight/g) and added word boundaries to the
   TODO/DONE/XXX matching in the file mediawiki.vim.

 - No trailing empty lines are added when a note is converted to
   Mediawiki syntax (there were in the pull request, but without context
   or explanation so I'd rather keep the Markdown, HTML and Mediawiki
   converters consistent).
@xolox Easy customization of new note template (also from command line)
This was added to enable simple integration with
tools like sup (
Commits on Feb 06, 2015
Anthony Naddeo Made concealing configurable.
Users can now add options to configure whether or not the conceal
feature isused to shorten urls and hide quotes/underscores for
formatting. To disable all concealing:

        let g:notes_coneal_code = 0
        let g:notes_coneal_italics = 0
        let g:notes_coneal_bold = 0
        let g:notes_coneal_url = 0

 This was added because some plugins don't play nicely with concealing.
 In particular, the indentLines plugin is conflicting with coneal on OSX
 (at least).
Anthony Naddeo Added documentation for conceal options. 76e0042
Commits on Mar 04, 2015
@xolox Fix issue #102: Code block detection seems somewhat broken
See issue 102 on GitHub:

Thanks to @gstewart for the analysis.
Commits on Mar 10, 2015
@xolox Document text folding of headers (issue #106)
NB: I've decided to start including screen shots in version
control because there isn't a better place to keep them...
Commits on Mar 15, 2015
@xolox Merge pull request #104: Make concealing configurable
I made a few changes while merging this pull request:

1. I changed the logic inside syntax/notes.vim to use the function
   xolox#misc#option#get() with a default option value of true (1). In
   my mind this makes a lot more sense than checking for the existence
   of variables without checking their actual values.

2. I renamed notes_conceal_italics to notes_conceal_italic to be
   consistent with the other options (IMHO).

3. I rewrote the documentation additions because A) doc/notes.txt is
   generated from so the changes by @naddeoa would have gone
   lost and B) because there were typos in the additions

4. The documentation for notes_conceal_code was incorrect because
   the code changes by @naddeoa only apply to the markers for inline
   code fragments, not the markers for multi line code blocks. I kept
   the implementation as is and updated the documentation to match the

See also pull request 104 on GitHub:
Commits on Apr 01, 2015
@xolox Update installation instructions 1c652cd
@xolox Enable showing code block markers
Fixes #107
Commits on Jun 08, 2015
@xolox Document how to use notes file type for git commit messages 070439c
Commits on Sep 25, 2015
@xolox Improve getting started instructions b7c26af
@xolox Bug fix for git commit message trick in documentation 6c55c66
Commits on Nov 01, 2015
@xolox Make PEP-8 compliant*
* I've learned a whole lot about Python programming since I wrote this
  script and accordingly my tastes and preferences have changed
  significantly, for example my Vim now complains when it finds
  PEP-8 violations, forcing me to clean those up as I encounter them.
@xolox Fix superficial Python 3 incompatibilities in*
* I'm not saying this works yet, because in my testing it doesn't,
  however these changes don't make the Python 2 version any worse
  (or at least are not intended to do so) so I might as well
  commit them.
@xolox Only enable logging when connected to interactive terminal (issue #53) 65f5455
@xolox Use null handler to avoid noise on stderr (issue #53) d7c5055
@xolox Release changes to as vim-notes 0.33.1 (issue #53) 0992b1d
@xolox Revert changes from eaf2d44*
* Yes I actually committed a change in the wrong repository and noticed
  about a year later ... :-s. Oh well, better late than never! :-)
@xolox Document issue #53 in the README
As suggested by @canpolat:
#53 (comment)
@xolox Add lots of debug logging (related to issue #53) 08b9747
Commits on Nov 04, 2015
@xolox Make :SearchNotes work properly without vim-shell (fixes #53)
This follows the initial suggestion of removing the try/catch construct.
I still haven't a clue what the hell is going on here, but I'm done
fighting Vim (script) and just want this to work now! :-)