1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

31 Commits

Author SHA1 Message Date
jdhao
e3b15da059 add lua map module and more mappings 2022-05-29 12:27:26 +08:00
jdhao
9e284f58cb add new map 2022-05-03 19:15:33 +08:00
jdhao
7d3647ac61 remove oo and OO normal mode mapping 2021-12-11 15:47:15 +08:00
jdhao
0ad051b394 [v0.6] Y is mapped to y$ by default 2021-12-01 22:07:51 +08:00
jdhao
49fc7f3dbc add mapping: keep cursor position after yanking 2021-11-03 22:55:40 +08:00
jdhao
573f9277cb change mapping to insert semicolon in insert mode 2021-11-03 22:55:22 +08:00
jdhao
f55b0022b3 more mapping 2021-11-03 08:46:09 +08:00
jdhao
8ebbec29d6 move whitespace utility into separate plugins 2021-11-01 23:38:44 +08:00
jdhao
5ae2c7d1e0 remove redundant fold marks 2021-10-31 15:42:38 +08:00
jdhao
c02dd8669e clean mappings 2021-10-19 01:09:51 +08:00
jdhao
6464539399 nvim-notify update 2021-10-18 22:32:38 +08:00
jdhao
a603ce3e4d remove unused mapping 2021-10-18 21:56:16 +08:00
jdhao
34111c669a fix error caused by removal of vim-auto-save 2021-10-16 22:40:02 +08:00
jdhao
64bcc85193 update mapping 2021-10-11 23:21:08 +08:00
jdhao
441d5965a2 do not shadow default keys in normal mode
It causes delay (we have to wait timeoutlen milliseconds) when we want
to use the key's original command.
2021-10-11 00:06:20 +08:00
jdhao
42a0663184 Reduce timeout for nvim-notify 2021-08-20 01:12:35 +08:00
jdhao
c4d050e99d Use nvim-notify for showing messages 2021-08-05 01:57:35 +08:00
jdhao
be8c917beb Add more mappings
Credit: https://www.youtube.com/watch?v=hSHATqh8svM
2021-08-02 23:46:00 +08:00
jdhao
ea733e6086 clean mappings 2021-06-26 11:25:56 +08:00
jdhao
7c9c152368
Update mappings.vim 2021-06-19 11:05:35 +08:00
jdhao
e4ef4fa6ea Fix bug for text object for the entire buffer 2021-01-12 23:01:49 +08:00
jdhao
eb0c63c175 Make a plugin for leaving insert mode 2020-12-16 01:33:03 +08:00
jdhao
9a7ac4c9d1 Using jk to escape insert mode without lagging.
See https://jdhao.github.io/2020/11/23/neovim_better_mapping_for_leaving_insert_mode/.
2020-11-24 22:55:39 +08:00
jdhao
647a2616f0 add text objects for entire buffer 2020-11-21 23:26:09 +08:00
jdhao
2ad432088f move function to autoload dir 2020-11-14 14:29:37 +08:00
jdhao
f68fa62e86 Move text object to autoload directory 2020-11-12 21:45:55 +08:00
jdhao
6322fed221 update xmap for visual mode mappings 2020-11-12 21:31:48 +08:00
jdhao
1856ee39e6 handle multiple URL text objects in the same line. 2020-11-12 21:24:39 +08:00
jdhao
49f533b153 Fall back to defaul URL detection if highlighturl not available. 2020-11-12 00:39:24 +08:00
jdhao
b361fc4053 feat: add iu text object for URL (no au provided)
Usage:
select current URL: viu
yank current URL: yiu
delete/change current URL: diu/ciu
2020-11-12 00:22:51 +08:00
jdhao
d0827ae776 move custom settings to core/ directory 2020-10-31 01:13:09 +08:00