Commit Graph

23 Commits

Author SHA1 Message Date
hrsh7th
1797f9e1ac fmt&lint 2022-01-20 17:26:05 +09:00
hrsh7th
682818b211 evacuate -> fallback 2022-01-18 19:14:38 +09:00
hrsh7th
c23d810a66 Fix #746 2022-01-17 19:20:09 +09:00
hrsh7th
703e915b7f Improve keymapping handling 2022-01-16 00:37:28 +09:00
hrsh7th
2ed0cdab36 Revert expr mapping handling 2022-01-15 20:45:21 +09:00
hrsh7th
008de7eb8a Avoid expr mapping message (#738)
* Avoid display message by register mapping

* Escape to json

* Improve tests

* fmt

* lint

* Fix evacuate condition

* Default silent

* fallback mapping should be silent by default

* Support legacy nvim
2022-01-15 19:18:04 +09:00
hrsh7th
5ddf3732c5 Fix #721 2022-01-11 18:47:21 +09:00
hrsh7th
96c392dee3 Improve tests 2022-01-11 12:24:44 +09:00
hrsh7th
d6aaea47f4 Improve keymap handling (#720)
* Improve keymap handling

* Simplify

* Fix tests

* Fix callback no expr mapping

* Rename functions

* Use manual key conversion logic

* fmt
2022-01-11 02:18:09 +09:00
hrsh7th
1774ff0f84 Fix cmdline confirmation 2021-11-05 22:44:43 +09:00
hrsh7th
017d3abc57 Organize keymap implementation (#454)
* Organize keymap implementation

* Pass tests

* Improve

* Restore tests
2021-11-02 11:59:26 +09:00
hrsh7th
674d2b1389 Rewrite keymap.lua (#452)
* Move feedkeys related codes to `cmp.utils.feedkeys`

* Improve mapping handling

* Fix test

* fmt
2021-11-01 22:15:28 +09:00
hrsh7th
cae2e8f48b RFC: cmdline completion (#362)
* manual support dot-repeat

* cmdwin and terminal

* cmdline only

* Fix

* fix

* Improve

* Fix test

* Support macro

* disable cmdline for now

* Simplify

* fmt

* consume once

* Ignore = type

* cmdline

* fmt

* Improve

* update

* fmt

* Support incsearch

* fix

* Add api

* Avoid cmdline completion if the native_menu enabled

* fix for macro

* Improve

* fmt

* Insert-mode only by default

* Update

* avoid conflict

* Improve default mapping

* Fix

* fix

* similar to native

* Update

* Fix README.md

* Improve

* Use <afile>
2021-10-27 12:38:46 +09:00
hrsh7th
b5899f05c5 Fix #414 2021-10-26 23:37:11 +09:00
hrsh7th
ea6dde8081 Add tests for #226 2021-10-25 23:11:59 +09:00
hrsh7th
289d0929be Remove meaningless code 2021-10-19 00:22:25 +09:00
hrsh7th
0f28030aef Improve macro & dot-repeat support (#363)
* manual support dot-repeat

* cmdwin and terminal

* cmdline only

* Fix

* fix

* Improve

* Fix test

* Support macro

* disable cmdline for now

* Simplify

* fmt

* consume once

* Ignore = type

* cmdline

* Remove cmdline features
2021-10-16 23:37:32 +09:00
hrsh7th
fdd3809893 Fix expr recursive mapping 2021-09-21 10:51:32 +09:00
hrsh7th
f7b4277c99 Format 2021-09-13 16:45:17 +09:00
hrsh7th
f3af9e2ee6 Refactor keymap 2021-09-13 16:43:23 +09:00
hrsh7th
e46ae3b62e Add keymap tests 2021-09-13 12:49:58 +09:00
hrsh7th
a11ddccb33 Support documentation window scrolling 2021-08-09 19:34:45 +09:00
hrsh7th
d23d3533cf dev (#1)
* dev

* Improve sync design

* Support buffer local mapping

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* stylua

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* integration

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* update

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp
2021-08-04 01:07:12 +09:00