Le Tan
8d568e6e23
support Flash Page
...
Ctrl+Alt+L to edit Flash Page. Config flash_page gives the path of the
flash page.
2017-11-21 08:38:34 +08:00
Le Tan
c2973d9e23
vim-mode: add vim_exemption_keys config for Ctrl+C/V
...
Add vim_exemption_keys config to control the behaviors of Ctrl+C and
Ctrl+V in Vim mode.
2017-11-20 19:29:46 +08:00
Le Tan
e6ce66ec7d
support backup file
...
Add configs:
- backup_directory
- backup_extension
- enable_backup_file
2017-11-17 19:49:14 +08:00
Le Tan
0a97b2480d
snippet: support Ctrl+E S to insert snippets
2017-11-14 21:40:39 +08:00
Le Tan
6ac33d2bd0
support snippets
...
Shortcuts are not supported yet.
2017-11-11 08:09:22 +08:00
Le Tan
1e15b37a83
vim-mode: support Ctrl+O in Insert mode
...
- Support Ctrl+O in Insert mode to enter Normal mode temporarily;
- Use Ctrl+K instead of Ctrl+O to insert inline code;
2017-11-07 19:52:36 +08:00
Le Tan
93ba677116
magic-word: support overriding magic words
...
- Add %dt%, %note%, and %no%;
- Support overriding magic words with simple literal value;
2017-11-07 19:51:39 +08:00
Le Tan
78a86cddc0
support note template
...
VNote will scan files in the template folder in the config folder as
template.
Template supports magic word.
2017-11-06 21:47:38 +08:00
Le Tan
945d29f576
vim-mode: fix left/right/up/down key in macOS
2017-11-03 22:28:52 +08:00
Le Tan
cb4d32e95f
bug-fix: shortcuts for ActivateNextTab and ActivatePreviousTab
2017-10-26 21:08:24 +08:00
Le Tan
404b5329a1
replace VEdit and VMdEdit with VEditor and VMdEditor
2017-10-26 19:36:12 +08:00
Le Tan
a265aed035
bug-fix: insert code block inline if it is at the end of a space block
2017-10-23 21:49:53 +08:00
Le Tan
f01131caff
refine Chinese translations
2017-10-22 12:32:15 +08:00
Le Tan
83071e8501
bug-fix: fix auto heading sequence regular expression
2017-10-20 19:45:41 +08:00
Le Tan
30dfc24a28
support Insert Code Block tool bar button
...
Ctrl+M to insert a code block.
2017-10-19 22:21:25 +08:00
Le Tan
92bc044cac
metaword: support Ctrl+E M in editor to evaluate metawords
...
Add shortcut configuration MagicWord.
2017-10-19 19:41:57 +08:00
Le Tan
dcb6227d3b
vim-mode: share registers among all tabs
2017-10-18 19:55:25 +08:00
Le Tan
34aa9e0083
use empty title by default when inserting new image
2017-10-17 19:49:48 +08:00
Le Tan
787c61a5af
support meta word
...
- Add VLineEdit as a QLineEdit with meta data support;
- support custom magic words through [magic_words];
- add %help% for all magic words information;
2017-10-17 19:47:57 +08:00
Le Tan
ea05c268b3
remove obsolete title mark when inserting title mark
2017-10-13 19:40:35 +08:00
Le Tan
598e8144bb
support custom startup pages
...
- Support continuing where user left off on startup;
- Support recovering the edit/read mode and the anchor position;
- Support opening user-specified files on startup;
- Add config startup_page_type, startup_pages, and last_opened_files;
2017-10-11 10:44:18 +08:00
Le Tan
893c0b2823
bug-fix: use completeBaseName() when adding sequence to file name
...
- When adding attachments, if the name conflicts, we add sequence after
the base name. "abc.tar.gz" to "abc_001.tar.gz".
- When handling notes and folders, if the name conflicts, we add
sequence after the complete base name. "abc.5.9.1.md" to
"abc.5.9.1_001.md".
2017-10-09 21:25:30 +08:00
Le Tan
11537972f3
add V_FALLTHROUGH for explicit fallthrough
2017-10-09 21:25:30 +08:00
Le Tan
58e7cdca4b
refactor VFileList
...
- Refine note deletion logics;
- Refine note copy/paste logics;
- Refine note sorting logics;
2017-09-29 19:56:38 +08:00
Le Tan
ffd0cc8e6e
refine DocType
...
- Use *.html suffix for rich text file;
- For unknown DocType, open it using system's default app;
- Add "Open Via External Program" item in context menu of VFileList;
2017-09-26 19:28:11 +08:00
Le Tan
e5cd014762
support recycle bin folder for extern files
...
1. Add external_recycle_bin_folder config;
2. By default, each external file will use _v_recycle_bin in the same
directory as its recycle bin folder to hold deleted images;
2017-09-26 19:27:11 +08:00
Le Tan
6f1cab39ba
update highlight.js with more complete language support
2017-09-25 19:42:58 +08:00
Le Tan
04fa3654a4
bug-fix: do not cancel auto-indentation if cursor is not at block end
2017-09-24 12:04:35 +08:00
Le Tan
d955dedcb7
add config mathjax_javascript for Mathjax location and configuration
2017-09-24 10:18:55 +08:00
Le Tan
d20dc4a0b0
bug-fix: image links in reference format will cause crashes
2017-09-23 14:56:53 +08:00
Le Tan
b04a44f82d
vim-mode: bug-fix for s, d, c in visual mode
2017-09-23 10:38:50 +08:00
Le Tan
01788a5301
support attachments
...
Support attachments to internal note file.
- Add/Delete/Clear/Sort;
- Support custom attachment folder for each notebook (read-only);
- Support renaming attachment;
2017-09-22 23:30:49 +08:00
Le Tan
a64d01ea86
refactor VFile and VOrphanFile
...
1. Make VFile a real abstract class;
2. Use VNoteFile for internal note file;
3. Use VOrphanFile for external orphan file;
2017-09-21 19:33:37 +08:00
Le Tan
eb24360aa9
vim-mode: fix Y and D action in Visual mode
2017-09-17 16:39:50 +08:00
Le Tan
cdcab4884a
use HGMarkdownParser to fetch image links from Markdown file
2017-09-16 14:55:42 +08:00
Le Tan
35fa0a46f6
add recycle bin to each notebook
2017-09-16 14:55:42 +08:00
Le Tan
5c038e1f76
support Markdown-it option configs
2017-09-16 14:55:42 +08:00
Xianzhong Wang
1ae30b645e
Fix the serious bug of pressing Y in vim normal mode ( #42 )
2017-09-16 14:34:27 +08:00
Le Tan
7fd2273aad
support line number in code block in both read and edit mode
2017-09-12 20:28:40 +08:00
Le Tan
2eb6476c3d
support auto heading sequence by config enable_heading_sequence
2017-09-11 19:49:30 +08:00
Le Tan
d2ef9608fc
bug-fix: use platform-specific text of QKeySequence in context menu
2017-09-08 21:40:31 +08:00
Le Tan
4ad79e4d92
vim-mode: <leader>w to save note
2017-09-07 20:35:41 +08:00
Le Tan
59d0e82e66
refactor retrivePath to fetchPath
2017-09-07 20:33:38 +08:00
Le Tan
f33c7f86d3
minor-fix: Vim mode and VImagePreviewer
...
1. In Vim mode use the `undo()` and `redo()` slots of VMdEdit instead of
QTextDocument;
2. VImagePreviewer will clear the undo/redo stacks if it is empty
before;
3. Remove setLineDistanceHeight();
2017-09-06 19:23:14 +08:00
Le Tan
9523168fc3
vim-mode: support S, { and }
...
Thanks to xianzhon@github
2017-09-05 20:54:15 +08:00
Le Tan
c3408769b0
refactor VImagePreviewer
2017-09-05 20:54:15 +08:00
Le Tan
8b1d7e9841
bug-fix: Vim mode Paste action
...
Move cursor to the right position after paste.
2017-08-30 09:11:03 +08:00
Xianzhong Wang
78bb2d5c41
[bugfix] When paste from register, discard selected texts first ( #37 )
...
* [bugfix] When paste from register, discard selected texts first
* Additional fix for the paste command to follow vim spec
* Refactor the code for paste command to make it clear
2017-08-29 21:42:32 +08:00
Le Tan
73630448a6
move vconfig to a local variable
2017-08-29 09:40:28 +08:00
Le Tan
94b671f505
vim-mode: support J and gJ to join lines
2017-08-18 19:24:15 +08:00