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
Le Tan
7c2f1a8927
vim-mode: scroll to center after Ctrl+O/I
2017-08-08 20:12:15 +08:00
Le Tan
c2fe857e3a
open an external file as internal note if it is a note within VNote
2017-08-07 20:04:18 +08:00
Le Tan
586f5c0994
support custom doc type suffixes
...
Add markdown_suffix config.
2017-08-06 15:26:50 +08:00
Le Tan
226263f77c
bug-fix: save wrong geometry state in single panel view
2017-07-21 22:09:40 +08:00
Le Tan
d0bcd7a2c6
vim-mode: make cursor block visible after actions
2017-07-19 20:25:28 +08:00
Le Tan
eb71c8eff1
vim-mode: support Ctrl+R to read a register
...
Support `Ctrl+R` to read a register both in Insert mode and command line.
2017-07-14 10:13:55 +08:00
Le Tan
cd2ac10509
vim-mode: refine command line mode
...
1. Support `/` and `?` to search. `N` and `Shift+N` to find next/previous
occurence.
2. `Ctrl+N` and `Ctrl+Shift+N` to navigate through the command history.
3. `:nohlsearch` or `<leader><space>` to clear search highlight.
4. `#` and `*` to search current word under cursor.
2017-07-13 18:26:38 +08:00
Le Tan
c53950fe77
refine find/replace logics
...
Do not select the found target. Use highlight instead.
2017-07-12 13:16:14 +08:00
Le Tan
71bcfe3019
vim-mode
...
- `Ctrl+Tab` and `Ctrl+Shift+Tab` in Normal mode to alternate tabs;
- Support `:<num>` command for line jump;
- Support `%`;
2017-07-05 19:42:40 +08:00
Le Tan
f9f7a365f8
add toolbar for text editing
...
Bold, italic, underline, strikethrough, inline code.
Underline and strikethrough are not implemented yet.
2017-07-04 14:07:48 +08:00
Le Tan
c4683dd232
vim-mode: support ~ to reverse case
2017-07-03 21:22:06 +08:00
Le Tan
a87048cac2
bug-fix: compare two paths with case convertion on Windows
...
On Windows, case difference in file name is ignored.
2017-07-03 19:09:50 +08:00
Le Tan
a802222b06
constrain the length of the inserted image file
2017-07-02 17:52:11 +08:00
Le Tan
c48d646a55
vim-mode: auto disable input method in non-Insert mode
...
Add config "enable_smart_im_in_vim_mode".
2017-07-02 13:59:07 +08:00
Le Tan
f911c60c79
support flowchart.js
...
VNote supports flowchart.js in all for renderers.
2017-07-01 10:19:47 +08:00
Le Tan
9278149941
vim-mode: support shorcuts to jump between titles
...
- `[[`: jump to previous title;
- `]]`: jump to next title;
- `[]`: jump to previous title at the same level;
- `][`: jump to next title at the same level;
- `[{`: jump to previous title at a higher level;
- `]}`: jump to next title at a higher level;
2017-06-30 20:31:46 +08:00
Le Tan
e1acd6e9a2
vim-mode: support r for replacement
2017-06-30 19:17:42 +08:00
Le Tan
6df4dbe12a
vim-mode: support more text objects for i and a
...
Now Vim supports word, WORD, '', "", ``, (), [], <>, {} as text object.
2017-06-29 19:36:50 +08:00
Le Tan
4b1e256308
vim-mode: going back to Normal mode from insert mode will clear auto indent and auto list
2017-06-28 22:04:54 +08:00
Le Tan
11f06bf617
vim-mode: bug fixes
...
1. Enable repeat in f/t/F/T movement;
2. Make cw/W behave like ce/E;
2017-06-27 22:03:41 +08:00
Le Tan
003ba7a1f2
bug-fix: some minor bug fixes
...
1. Refine VUpdater to compare versions with different sections, such as
1.2.3 or 1.2;
2. Update shortcuts help;
3. Fix bug with autoindent and autolist.
2017-06-26 18:51:54 +08:00
Le Tan
9f4ac1f260
bug-fix: add Q_OS_MAC for check
...
Qt 5.7 seems to use Q_OS_MAC instead of Q_OS_MACOS.
2017-06-25 18:36:05 +08:00
Le Tan
a9ad26b035
vim-mode: use MetaModifier rather than ControlModifier in Vim mode on macOS
2017-06-25 14:58:52 +08:00
Le Tan
34afc2731d
help-menu: add update check
2017-06-23 18:10:04 +08:00
Le Tan
707814909a
refactor logics about adding notebook
2017-06-22 19:07:01 +08:00
Le Tan
2734b8407c
vim-mode: support canceling autoindent after o/O
2017-06-21 22:00:11 +08:00
Le Tan
e305024a58
vim-mode: support simple marks(a-z)
...
Different behaviors from Vim: after deleting the line with a mark set,
VNote could not detect if this mark is set or not. VNote just simply
jumps to the same line.
2017-06-20 23:50:27 +08:00
Le Tan
878264b8fc
vim-mode: support location jump with Ctrl+O and Ctrl+I
2017-06-20 19:37:52 +08:00