Commit graph

73 commits

Author SHA1 Message Date
Pomroka
2eedc65a31 fix: not working in new pane
fix: make sure register once per CM editor
2022-08-06 12:21:29 +02:00
Pomroka
ccbaaefc23 fix: selection stop working on next file opened
issues: #104, #129
2022-08-05 01:56:54 +02:00
Pomroka
361c2686da fix: empty selection in jsfile command 2022-08-04 01:40:13 +02:00
Erez Shermer
f2417c0193 README 2022-07-29 14:54:06 +03:00
Erez Shermer
f25a54a0c8 Fix to the plugin breaking in new Obsidian versions, and some optimizations 2022-07-29 14:53:29 +03:00
Erez Shermer
f4814f065d Merge branch 'master' of https://github.com/esm7/obsidian-vimrc-support 2022-07-20 09:00:06 +03:00
Erez Shermer
bcc1e56935 Fixed jscommand and jsfile broken 2022-07-20 08:59:40 +03:00
esm7
1518987ab3
Update issue templates 2022-07-17 21:23:03 +03:00
esm7
ba70ed0558
Update issue templates 2022-07-17 21:19:44 +03:00
Erez Shermer
08b0c5461a README 2022-07-17 20:59:40 +03:00
Erez Shermer
9a0376745e Removal of CM5 support and some cleanups 2022-07-17 11:55:53 +03:00
Erez Shermer
ab34da73f5 Merge remote-tracking branch 'origin/master' 2022-07-17 11:48:10 +03:00
esm7
13a893372d
Merge pull request #100 from chrisgrieser/patch-1
Info how to add Folding & Tab Switching Commands
2022-07-17 11:47:51 +03:00
Erez Shermer
ccfbe55ebc Merge remote-tracking branch 'origin/master' 2022-07-17 11:43:15 +03:00
Erez Shermer
79c6b60519 Removed CM5 support 2022-07-17 11:43:06 +03:00
esm7
d79de28400
Merge pull request #110 from tadashi-aikawa/master
Support multi windows (yank <--> clipboard sync)
2022-07-17 11:42:26 +03:00
tadashi-aikawa
8c95b4c703 Fix a bug that doesn't put from clipboard when Obsidian just starts 2022-07-09 14:50:22 +09:00
tadashi-aikawa
0e90edaa18 Fix a bug that lost a line break from yanked value 2022-07-05 16:32:16 +09:00
tadashi-aikawa
f613efe7ae Support multi windows (required Obsidian v0.15.3 and upper) 2022-07-03 23:47:06 +09:00
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
pseudometa
d3ab0568cf
Info how to add Folding & Tab Switching Commands
`gt`, `zo`, etc.
2022-05-17 13:46:01 +02: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