Le Tan
94828a65ad
Vim: support specifying leader key via [editor]/vim_leader_key
2018-08-24 20:13:35 +08:00
Le Tan
4fbe2d87b7
MdEditOperations: support auto block quote
2018-08-09 20:00:42 +08:00
Le Tan
9b49de3ab5
MdEditOperations: Ctrl+U to delete till the space of block
2018-07-27 21:05:07 +08:00
Le Tan
d9c8051fa3
editor: Ctrl+; to insert inline code, Ctrl+J/K to scroll page
2018-07-07 17:57:00 +08:00
Le Tan
de678b5d6d
vim: Ctrl+C to enter Normal mode if vim_exemption_keys does not contain c
2018-05-02 20:02:06 +08:00
Le Tan
06cac36412
support Vim command mode in read mode
2018-01-21 14:27:49 +08:00
Le Tan
2bdad19253
vim-mode: fix % behovior in d/c command
2018-01-04 21:15:13 +08:00
Le Tan
2f1971476d
VMdEditor: support copy selected text as HTML
2018-01-04 13:27:42 +08:00
Le Tan
c5afe0bef0
disable cursor line block if cursor line highlight is disabled
2018-01-02 20:42:22 +08:00
Le Tan
d46917d6a9
vim-mode: fix movement with block cursor
2017-12-21 21:02:56 +08:00
Le Tan
2373a0326e
vim-mode: amend cursor position after mouse release
2017-12-21 21:02:56 +08:00
Le Tan
2c1e8e33fe
vim-mode: support g0 (start of visual line)
2017-12-14 21:14:45 +08:00
Le Tan
70eb04ebd2
vim-mode: fix w/W/e/E/b/B/ge/gE movement with block cursor
2017-12-14 18:22:40 +08:00
Le Tan
49811cabc0
VTextDocumentLayout: support cursor line block background
2017-12-08 19:31:19 +08:00
Le Tan
d14f4697b4
replace palette in clss VNote with VPalette
2017-12-05 19:45:04 +08:00
Le Tan
19323496d1
vim-mode: bug fix
2017-12-04 20:48:16 +08:00
Le Tan
7f230312df
vim-mode: bug fix in block cursor mode
2017-12-03 16:21:00 +08:00
Le Tan
6fea8bf7dc
vim-mode: fix cursor position after changing from Insert to Normal mode
2017-12-02 21:31:54 +08:00
Le Tan
cfbda92f67
vim-mode: amend the cursor position after executing a command
2017-12-02 21:27:20 +08:00
Le Tan
f429ffe3e5
vim-mode: support Visual mode with block cursor
2017-12-02 14:35:51 +08:00
Le Tan
0d6ed84228
bug-fix: vim mode cursor width
2017-12-01 23:24:21 +08:00
Le Tan
87af770612
vim-mode: support cursor block
...
Support cursor block in Normal and Insert mode.
TODO: need more fine-grain tuning of the behaviors.
2017-11-30 22:09:16 +08:00
Le Tan
d3ff787153
vim-mode: support = to auto indent selected blocks as previous block
2017-11-24 20:18:59 +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
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
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
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
11537972f3
add V_FALLTHROUGH for explicit fallthrough
2017-10-09 21:25:30 +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
b04a44f82d
vim-mode: bug-fix for s, d, c in visual mode
2017-09-23 10:38:50 +08:00
Le Tan
eb24360aa9
vim-mode: fix Y and D action in Visual mode
2017-09-17 16:39:50 +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
4ad79e4d92
vim-mode: <leader>w to save note
2017-09-07 20:35:41 +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
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
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