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

279 Commits

Author SHA1 Message Date
jdhao
e7e4892c22 handle large file better 2022-08-15 00:06:52 +08:00
jdhao
fdc158272b init.vim --> init.lua follow 2022-08-13 22:43:33 +08:00
jdhao
0c92d9a018 update mappings
1. add mapping for gJ
2. remove mappings for <C-H>, since I rarely use them
2022-08-10 21:24:14 +08:00
jdhao
3de31f7d0a disable language command in macOS for now
Due to packaging issue, nvim version 0.7.2 for macOS does not have
`:language` command built in, see also neovim/neovim#19127.
2022-08-06 22:36:49 +08:00
jdhao
bcdc8d3f66 small fix 2022-08-01 20:57:37 +08:00
jdhao
5498a05bf7 revert to vim-auto-save
auto-save.nvim is erroring out
2022-08-01 01:14:09 +08:00
jdhao
644f8b6e2d add theme catppuccin 2022-07-28 01:32:41 +08:00
jdhao
aae9a7b7a7 update winblend 2022-07-27 13:17:22 +08:00
jdhao
a8fdbf3573 disable showing current theme used 2022-06-28 00:36:37 +08:00
jdhao
351ba5fc63 update option shortmess 2022-06-28 00:36:19 +08:00
jdhao
32b1d3ac16 disable sql omni completion 2022-06-05 21:10:04 +08:00
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
6784a87e26 update vimtex conf, close #50
Fix deprecated options
2022-05-02 09:48:43 +08:00
jdhao
b20b21b5dd update LeaderF conf 2022-04-20 01:29:19 +08:00
jdhao
58b1e0aa9f [nvim 0.7] use filetype.lua for detecting ft 2022-04-16 01:00:36 +08:00
jdhao
9082e124a5 [nvim 0.7] no more py2 support 2022-04-16 00:16:23 +08:00
jdhao
3c5d7bf0e5 update wilder.nvim conf 2022-04-10 13:23:18 +08:00
jdhao
e9ffd6c39d [fix] quit does not work for 2 windows
If current buf in remaning two or more windows are filetypes in the quit
list, we should also quit nvim also.
2022-03-29 21:41:44 +08:00
jdhao
295f47b1fb fix: wilder.nvim auto-start improvement
Using CursorHold to start wilder.nvim is not ideal, since it depends on
the value of option 'updatetime'. Using a timer may be a better idea.
2022-02-11 19:19:23 +08:00
jdhao
6322c7c212 chore: update theme hint message 2022-02-09 01:17:50 +08:00
jdhao
2b24d0794e Use nvim-tree as file explorer when we open a folder
netrw plugin needs to be disabled, and nvim-tree needs to be start
package. Otherwise, the hijacking won't work, and when we open a folder,
it just open a new file with the same name.
2022-02-05 13:40:54 +08:00
jdhao
b542bec561 update logging conf 2022-02-03 17:27:45 +08:00
jdhao
7ce35a0a5f chore: add comment 2022-02-03 12:59:07 +08:00
jdhao
d533859af9 update LeaderF conf 2022-02-02 17:08:45 +08:00
jdhao
9555052f94 use debug mode 2022-01-30 11:58:50 +08:00
jdhao
22eead5d0f update matchparen highlight 2022-01-26 19:10:15 +08:00
jdhao
146ef5d0b8 use lua for may_create_dir 2022-01-13 20:27:48 +08:00
jdhao
6fd7155787 feat: create parent dir of current file if it does not exist 2022-01-13 01:51:19 +08:00
jdhao
97fcc581e6 chore: remove semshi settings
That plugin has been deleted before
2022-01-09 00:08:36 +08:00
jdhao
1280c98314 add icon and scrollbar for wilder.nvim 2022-01-07 00:41:14 +08:00
jdhao
9cd43dcba9 simplify wilder.nvim settings 2022-01-07 00:40:48 +08:00
jdhao
d02fd0a69d fix: link is broken for wilder.nvim 2022-01-07 00:40:14 +08:00
jdhao
980fd531a8 wilder.nvim popup menu now respects pumblend
See also https://github.com/gelguy/wilder.nvim/pull/115.
2022-01-06 23:42:23 +08:00
jdhao
b9d1f2ee92 remove two mappings that warn of mapping deprecation 2022-01-04 00:40:11 +08:00
jdhao
5443078805 g:mapleader 2021-12-29 00:42:00 +08:00
jdhao
85de00f374 refactor: resume edit position --> resume cursor position 2021-12-28 00:11:10 +08:00
jdhao
6cf31e2dcb add colorscheme kanagawa 2021-12-23 22:36:29 +08:00
jdhao
08d3d7ec08 fix bug in go to last edit position
If a go-to-line command is given, do not go to last edit position for
the file.
2021-12-20 22:15:34 +08:00
jdhao
bbd642af1a renaming variables 2021-12-15 00:21:34 +08:00
jdhao
7d3647ac61 remove oo and OO normal mode mapping 2021-12-11 15:47:15 +08:00
jdhao
a466339092 update nvim-hlslens settings 2021-12-11 15:46:25 +08:00
jdhao
6fb30f0cf2 use en_US.utf-8 as default 2021-12-10 22:52:03 +08:00
jdhao
7735a33a59 remove plugin gutentags
I rarely use it.
2021-12-06 11:40:45 +08:00
jdhao
752dbcbe2d remove mentioning of vim-airline 2021-12-05 14:33:59 +08:00
jdhao
0be331b28e replace vim-airline with lualine
Lualine is now feature-rich and faster than vim-airline.
2021-12-05 14:25:37 +08:00
jdhao
b9efd2b40f update fugitive conf 2021-12-05 11:21:57 +08:00
jdhao
dd61f1da8c more fugitive shortcut 2021-12-05 11:20:34 +08:00
jdhao
50fafcffdb update default value of option 'wrap' 2021-12-04 23:41:56 +08:00
jdhao
d04fce7bbc update Leaderf rg conf
Suppress permission denied error messages when grepping using ripgrep.
2021-12-02 22:57:41 +08:00