Commit graph

18 commits

Author SHA1 Message Date
Johann Klähn
3b1898f3e8 vim: add current text to completion 2009-06-29 16:41:33 +02:00
Johann Klähn
4621f1117e vim: First try on omni completion for account names
That is a completion which is aware of what it should complete.
Currently only account names are supported.
When you insert an account name like this:
  Asse<C-X><C-O>
You will get a list of top-level accounts that start like this.
Go ahead and try something like:
  As:Ban:Che<C-X><C-O>
When you have an account like this, 'Assets:Bank:Checking'
should show up.
2009-06-29 16:41:33 +02:00
Johann Klähn
1d8111b43c Fix small 'bug' on accounts with spaces 2009-06-23 01:20:20 +02:00
Johann Klähn
8e8d9e5c85 vim: add README 2009-06-17 23:27:33 +02:00
Johann Klähn
360025ac2f vim: fill text for "table" can be modified 2009-06-17 23:24:01 +02:00
Johann Klähn
7654ecc102 vim: complete account names with compl-keyword
Basic support for keyword completion (<C-X> <C-N>)
Will only work on account names with no spaces
2009-06-17 21:48:11 +02:00
Johann Klähn
9701548f7e vim: highlight account names
This helps to avoid confusion when an account is not
seperated from the amount by two spaces or a tab but only by one space.
In these cases the amount will now be highlighted
as if it belongs to the account name.

Thanks to user 'plaindocs' for reporting this.
2009-06-17 12:40:50 +02:00
Johann Klähn
b96df34d75 ledger.vim: split into multiple files
for better extendability
2009-06-15 23:37:57 +02:00
Johann Klähn
7c67866b22 ledger.vim: use full width, not only 80 chars
Also add option g:ledger_maxwidth to provide old behaviour
by putting a line like this in .vimrc:
let g:ledger_maxwidth = 80

I think that it would make sense to put all the functions and
everything that has to do with foldtext in ftplugin/ledger.vim
2009-06-12 23:09:55 +02:00
John Wiegley
e282d55d63 Johann Klähn: Updated ledger.vim to 0.0.5 2009-03-26 16:38:41 -04:00
John Wiegley
ca42f2b9a7 Johann Klähn: Added metadata support for ledger.vim 2009-03-24 18:07:56 -04:00
John Wiegley
944c63e6f2 The Great Renaming, Part II
The last commit did not contain the majority of changes because of a
slight mishap.  This contains the real changeset.
2009-02-23 19:07:30 -04:00
Mark Carter
6e4581690d Added new contrib/getquote-uk.py script 2009-02-23 14:35:04 -04:00
John Wiegley
08559bff34 Moved scripts from contrib/scripts/ into contrib/ 2009-02-23 14:04:50 -04:00
John Wiegley
066aef6090 Added a repl.sh sample script to the contrib/ directory. 2009-02-04 20:52:40 -04:00
John Wiegley
024e10cbfa Updated ledger.vim to the latest version. 2009-01-28 17:16:20 -04:00
John Wiegley
8cebce5676 Added code for the csv2ledger parser that I use personally. 2008-08-08 19:21:55 -04:00
John Wiegley
f6f4a46cf5 Moved around most of the files so that source code is in src/, documentation
is in doc/, etc.
2008-08-05 18:05:49 -04:00