summaryrefslogtreecommitdiff
path: root/contrib/vim/ftplugin
Commit message (Collapse)AuthorAgeFilesLines
* vim. set commentstringJohann Klähn2012-04-221-1/+2
| | | | Fixes bug 528.
* vim. fix handling of automated/recurring xactsJohann Klähn2011-07-311-7/+12
|
* vim. improve completion and cache invalidationJohann Klähn2011-07-311-10/+41
| | | | | | The completion cache for account names will be updated if there were no exact matches and the file was changed since the cache has been generated.
* vim. allow cleared state for single postingsJohann Klähn2011-07-311-5/+10
| | | | | | | | | This should fix problems with account completion when using marks with single postings as in: 2000/01/01 Whatever * account 5$ some other account
* vim. add completion cache and payee completionJohann Klähn2011-05-091-32/+82
|
* vim. update documentation somewhatJohann Klähn2011-05-091-1/+0
|
* vim. correctly parse first lines of transactionsJohann Klähn2011-05-091-4/+14
| | | | | This fixes trailing comments being chopped of and later readded with too few spaces. (when calling format_head())
* vim. fix unset completion typeJohann Klähn2011-01-041-0/+1
|\
* | vim. parse comments at eol in parse_body()Johann Klähn2010-09-151-13/+18
| |
* | vim. fix off-by-one bug in ToggleTransactionStateJohann Klähn2010-09-151-1/+1
| |
* | vim. fix issue with description in from_lnum()Johann Klähn2010-09-151-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | Thanks to Chad Voegele, see mailing list ledger-cli@googlegroups.com: Whenever I had a transaction such as 2010/09/10 * castle bar, nyc (beer) the transaction.from_lnum function would recognize (beer) as the code for the transaction which is incorrect since it comes at the end of the line. Message ID: 73e397f4-234e-46fe-87e5-45f86f934bf1@k30g2000vbn.googlegroups.com
* | vim. remove tag completion for nowJohann Klähn2010-09-121-64/+5
| |
* | vim. avoid misinterpretion of 1 char wordsJohann Klähn2010-09-121-1/+1
| |
* | vim. check for most common case first (parse_body)Johann Klähn2010-09-081-7/+7
| |
* | vim. add LedgerToggleTransactionState()Johann Klähn2010-09-081-6/+31
| | | | | | | | | | | | | | | | | | | | | | By using call LedgerToggleTransactionState(line('.'), ' *?') the state of the transaction will toggle through: no state -> * -> ? -> no state -> … beginning at what ever state it currently has. Adjust to your liking. Thanks to Chad Voegele for the suggestion.
* | vim. make sure cursor/line is on a transactionJohann Klähn2010-09-081-0/+5
| | | | | | | | | | Thanks to Chad Voegele for reporting and fixing this in the first place.
* | vim. update s:get_columns()Johann Klähn2010-09-081-8/+16
| |
* | vim. get transactions in a range of linesJohann Klähn2010-09-081-0/+35
| |
* | vim. fix return type of s:transaction.from_lnum()Johann Klähn2010-09-081-2/+2
| |
* | vim. add function to parse postingsJohann Klähn2010-09-081-0/+75
| |
* | vim. add case of automatic transactionsJohann Klähn2010-09-081-2/+17
| |
* | vim. reimplement function to change stateJohann Klähn2010-09-081-1/+14
| | | | | | | | | | Note: You now have to provide the line number: call LedgerSetTransactionState(line('.', '*')
* | vim. allow use of 0 as timestampJohann Klähn2010-09-081-1/+1
| | | | | | | | | | To remove the effective date you would now call the function like this: call LedgerSetDate(line('.'), 'effective', -1)
* | vim. add function to modify actual/effective dateJohann Klähn2010-09-081-0/+35
| | | | | | | | | | | | | | This allows you to set the effective date in a convenient way. Maybe I will add date selection using calendar.vim by Yasuhiro Matsumoto. Until then, you can map this to use today's date: call LedgerSetDate(line('.'), 'effective')
* | vim. introduce basic transaction 'class'/conceptJohann Klähn2010-09-081-27/+54
| |
* | vim. add function to change item state ~ reconcileJohann Klähn2010-09-071-0/+35
| | | | | | | | | | | | | | | | | | | | | | To try this, map or call the following function: LedgerSetTransactionState('') – removes state LedgerSetTransactionState('*') – sets 'checked' state … The logic used to distinguish the different parts of the first line of a transaction is rather basic but proved to work so far.
* | vim. use ledger print as 'formatprg'Johann Klähn2010-09-071-1/+16
|/ | | | | You can now try to select some lines using V (visual mode) and have them automatically formatted using gq
* vim. remove old completion by keywordJohann Klähn2009-06-291-5/+1
|
* Fix account completion for virtual transactionsJohann Klähn2009-06-291-1/+6
|
* vim. list 'deeper' entries first (completion)Johann Klähn2009-06-291-0/+39
|
* vim. some refactoringJohann Klähn2009-06-291-11/+20
|
* vim. basic support for tag completionJohann Klähn2009-06-291-11/+44
|
* vim. add function to collect all tags in a fileJohann Klähn2009-06-291-0/+29
|
* vim. fix for accounts with spacesJohann Klähn2009-06-291-6/+6
|
* vim: add current text to completionJohann Klähn2009-06-291-2/+3
|
* vim: First try on omni completion for account namesJohann Klähn2009-06-291-1/+73
| | | | | | | | | | | | 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.
* vim: add READMEJohann Klähn2009-06-171-1/+1
|
* vim: fill text for "table" can be modifiedJohann Klähn2009-06-171-3/+16
|
* vim: complete account names with compl-keywordJohann Klähn2009-06-171-1/+5
| | | | | Basic support for keyword completion (<C-X> <C-N>) Will only work on account names with no spaces
* vim: highlight account namesJohann Klähn2009-06-171-1/+1
| | | | | | | | | 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.
* ledger.vim: split into multiple filesJohann Klähn2009-06-151-0/+101
for better extendability