Commit graph

53 commits

Author SHA1 Message Date
esm7
1df6432804
Merge pull request #103 from twio142/patch-1
Add `selection` argument to `jsfile`
2022-06-02 06:21:58 +03:00
twio142
d5b28c550a
Add selection argument to jsfile
It was only given to `jscommand`.
2022-06-02 03:47:36 +02:00
Erez Shermer
637676d3ab Fixes 2022-06-01 20:41:30 +03:00
Erez Shermer
9f9898abac Fixed surround with backward selection 2022-04-10 20:37:02 +03:00
Erez Shermer
4d1a76cb3f Merge branch 'master' of https://github.com/esm7/obsidian-vimrc-support 2022-04-03 21:28:54 +03:00
Erez Shermer
50e18decbd Version 0.6.0 2022-04-03 21:28:17 +03:00
esm7
5177ef7645
Update README.md 2022-03-09 10:03:00 +02:00
esm7
43a61c6f5b
Update README.md 2022-03-06 10:29:01 +02:00
Erez Shermer
9937ecf51b Fixes 2022-01-02 12:56:40 +02:00
Erez Shermer
8b21afd672 Fixed a possible exception 2021-12-23 21:06:23 +02:00
Erez Shermer
92c6a1bbeb readme fix 2021-12-22 09:49:07 +02:00
Erez Shermer
c7253f1706 CM6 support 2021-12-22 09:47:57 +02:00
Erez Shermer
8ab389c73e Another fix to the previous commit 2021-10-21 13:08:53 +03:00
Erez Shermer
24044b3bf7 Fix to an error displayed on the console 2021-10-20 13:26:59 +03:00
Erez Shermer
5a23b758a3 Readme update 2021-10-19 14:23:08 +03:00
Andr3wD
5b908f54aa
Added escape character backslash to surround command (#54)
* Added indicators for vim mode and current vim command chord

* Added settings page. Fixed custom keybind problems. Desktop only.

Added the settings page toggles for the chord and vim mode display.
Fixed the custom keybinds not resetting when completing. The
"vim-command-done" event seems to be not registering them. Maybe a
problem with initialization of the keys?
Changed the plugin to be desktop only. It's unlikely that someone could
use this on mobile, and cmEditor is deprecated and will only work on
desktop for now.

* Added command for surrounding current selection with strings

* Hotfix: cleanup forgotten code

* Added surround command and cleaned up

* Added surround action

* Cleaned up, changed var to let, added pasteinto ex command

* Attempt to fix surround bug

* Fixed bad merge

* Attempt fix for surround desync

* Fixed pasteinto

* Fixed README

Moved `Mapping Obsidian Commands Within Vim` back to where it belongs.

* Actually fixed README this time.

* Added escape character '\' to surround
2021-10-19 14:17:40 +03:00
Erez Shermer
6c493b804b Another fix to fixed keyboard layout 2021-10-19 14:13:49 +03:00
Erez Shermer
8f14b0cc96 Various fixes 2021-10-13 14:14:54 +03:00
Andr3wD
e231d938ac
Fixed my README mistake from #37 (#50)
* Added indicators for vim mode and current vim command chord

* Added settings page. Fixed custom keybind problems. Desktop only.

Added the settings page toggles for the chord and vim mode display.
Fixed the custom keybinds not resetting when completing. The
"vim-command-done" event seems to be not registering them. Maybe a
problem with initialization of the keys?
Changed the plugin to be desktop only. It's unlikely that someone could
use this on mobile, and cmEditor is deprecated and will only work on
desktop for now.

* Added command for surrounding current selection with strings

* Hotfix: cleanup forgotten code

* Added surround command and cleaned up

* Added surround action

* Cleaned up, changed var to let, added pasteinto ex command

* Attempt to fix surround bug

* Fixed bad merge

* Attempt fix for surround desync

* Fixed pasteinto

* Fixed README

Moved `Mapping Obsidian Commands Within Vim` back to where it belongs.

* Actually fixed README this time.
2021-09-29 08:43:58 +03:00
Andr3wD
856b34f3f3
Attempt surround desync fix (#41)
* Added indicators for vim mode and current vim command chord

* Added settings page. Fixed custom keybind problems. Desktop only.

Added the settings page toggles for the chord and vim mode display.
Fixed the custom keybinds not resetting when completing. The
"vim-command-done" event seems to be not registering them. Maybe a
problem with initialization of the keys?
Changed the plugin to be desktop only. It's unlikely that someone could
use this on mobile, and cmEditor is deprecated and will only work on
desktop for now.

* Added command for surrounding current selection with strings

* Hotfix: cleanup forgotten code

* Added surround command and cleaned up

* Added surround action

* Cleaned up, changed var to let, added pasteinto ex command

* Attempt to fix surround bug

* Fixed bad merge

* Attempt fix for surround desync

* Fixed pasteinto
2021-09-09 18:41:38 +03:00
Erez Shermer
4b1b5f7a72 A small fix to surroud 2021-07-29 21:46:06 +03:00
Erez Shermer
84f8ccafa5 Many iprovements and fixes 2021-07-29 21:35:31 +03:00
Erez Shermer
1699e93b60 Refactoring and bug fixes 2021-07-28 15:59:32 +03:00
Andr3wD
907c8fe59d
Vim mode and chord display, cleanup, surround, pasteinto (#37)
* Added indicators for vim mode and current vim command chord

* Added settings page. Fixed custom keybind problems. Desktop only.

Added the settings page toggles for the chord and vim mode display.
Fixed the custom keybinds not resetting when completing. The
"vim-command-done" event seems to be not registering them. Maybe a
problem with initialization of the keys?
Changed the plugin to be desktop only. It's unlikely that someone could
use this on mobile, and cmEditor is deprecated and will only work on
desktop for now.

* Added command for surrounding current selection with strings

* Hotfix: cleanup forgotten code

* Added surround command and cleaned up

* Added surround action

* Cleaned up, changed var to let, added pasteinto ex command
2021-07-28 13:20:18 +03:00
Erez Shermer
00861b6544 Fixed some commands not working through obcommand 2021-06-21 10:46:40 +03:00
Erez Shermer
adc96f117e Readme fixes 2021-05-19 21:49:19 +03:00
Erez Shermer
acf73336fa exmap and obcommand commands 2021-05-19 21:44:20 +03:00
esm7
06d4016524
Merge pull request #25 from SalmanAlSaigal/master
Add settings and option to change file name
2021-05-19 09:40:52 +03:00
Salman AlSaigal
4116fe9fbe Add setting to change file name closes #15
File can only be inside the vault for some reason.
2021-04-14 06:53:09 +03:00
Salman AlSaigal
8f8b163615 Add settings tab 2021-04-14 06:08:04 +03:00
Erez Shermer
760953695e Fixed a race condition in yank & paste 2021-01-21 10:22:41 +02:00
Erez Shermer
5819c69532 Version bump 2021-01-03 10:43:00 +02:00
esm7
26e3493e4a
Merge pull request #13 from nadavspi/master
Add noremap
2021-01-03 10:38:08 +02:00
Nadav Spiegelman
0da1cd76c1 Add noremap
Adds Code Mirror's noremap command as an ExCommand to enable its use in vimrc
2021-01-02 13:50:56 -05:00
Erez Shermer
e171a1ed56 A tiny fix to a PR + documentation and a version bump 2020-12-30 10:33:39 +02:00
esm7
7a93cf5b2e
Merge pull request #10 from hnsol/feature/#8_add_iunmap_command
add ex command called 'iunmap'
2020-12-30 10:27:53 +02:00
hann-solo
9ac5f69647 Merge branch 'feature/#8_add_iunmap_command' of github.com:hnsol/obsidian-vimrc-support into feature/#8_add_iunmap_command 2020-12-27 20:32:21 +09:00
hann-solo
6dd225c89c added iunmap ex command, using defineEx() method 2020-12-27 20:26:20 +09:00
hann-solo
1a8268a39b added iunmap ex command, using defineEx() method 2020-12-27 20:11:43 +09:00
hann-solo
1dfa40b503 add ex command called 'iunmap' 2020-12-26 10:18:42 +09:00
Erez Shermer
f8f9a07f87 Merge branch 'master' of https://github.com/esm7/obsidian-vimrc-support 2020-12-20 13:45:24 +02:00
Erez Shermer
b701827d74 Small fixes 2020-12-20 13:45:20 +02:00
esm7
f3ae0e2eb6
Update README.md 2020-12-08 10:25:03 +02:00
esm7
90b36f6308
Update README.md 2020-12-02 12:57:28 +02:00
Erez Shermer
da3b85d317 Merge branch 'master' of https://github.com/esm7/obsidian-vimrc-support 2020-11-17 15:20:05 +02:00
Erez Shermer
b06ff5ba84 Added yanking to system clipboard, Vimrc comments and blank lines 2020-11-17 15:19:22 +02:00
esm7
c31b832674
Update README.md 2020-11-11 09:56:57 +02:00
Erez Shermer
4a1bcfe3e9 Merge branch 'master' of https://github.com/esm7/obsidian-vimrc-support 2020-11-11 09:55:42 +02:00
Erez Shermer
ec26c32d4e Fixed bug #2 2020-11-11 09:55:12 +02:00
esm7
1e6a6492e1
Update README.md 2020-11-05 22:04:24 +02:00