jdhao
bbb8545403
update lualine config
...
- rearrange a few components
- add and remove a few components
2024-08-02 06:23:21 +08:00
jdhao
9efadac8fb
update lazy.nvim config
2024-08-01 04:14:34 +08:00
jdhao
6e137fe9a3
make firenvim work again
...
1. fix build issue
2. fix PATH env issue
2024-07-31 07:09:50 +08:00
jdhao
719fbfc1ab
update lua_ls settings
2024-07-31 05:42:33 +08:00
jdhao
e815de294f
update plugin for markdown preview
2024-07-27 03:25:36 +08:00
jdhao
ca7430056c
update to neovim version 0.10.1
2024-07-26 03:32:54 +08:00
jdhao
cb8c9208e1
update which-key conf and some mappings
2024-07-25 04:00:17 +08:00
jdhao
ce1e13e2c9
use plugin nvim-autopairs for autopair
...
delimitMate is not updated for a long time.
2024-07-14 05:17:49 +08:00
jdhao
2af616bb0d
Update hop.nvim conf to support Chinese
2024-06-26 03:33:24 +08:00
jdhao
3694d3c237
Update config for GitSigns
2024-06-26 03:25:01 +08:00
jdhao
69d8543495
remove emmylua since neovim has builtin annotation
...
Seee also this https://github.com/neovim/neovim/pull/24493
2024-05-20 22:09:07 +02:00
jdhao
be3d134c37
use vim.uv instead of vim.loop
2024-05-20 21:52:52 +02:00
jdhao
601396f700
upgrade neovim to latest stable
...
The way to compare versions are changed due to a bug in comparing
versions in the neovim core: https://github.com/neovim/neovim/issues/28782
2024-05-20 21:33:38 +02:00
jdhao
e462ebcbcc
Enable treesitter folding for Python and Lua
2024-05-08 03:46:45 +08:00
jdhao
2f8482639d
update some mappings
...
1. fix a typo in gJ mapping when setting the mark, the correct syntax is
`mz` (set mark `z`), not `zm`
2. fix bug with `iB` text object: previously `viB` does not work as
expected, because it does not select the entire buffer as expected.
After much investigation, I found it is because the `<cmd>` mapping
argument. If we use `<cmd>` argument for mapping, the mode does not
change. So if we use `viB`, inititally we are still in visual mode.
Later in the implementation, when we use `` normal! `<V`> `` to
select the entire buffer, it interferes with original visual mode. As
a result, the entire buffer is not selected. In the text obj
implementation, we can use `exe "normal! \<Esc>"` to clear the visual
mode and make `viB`, but this is not ideal. I think it is eaiser to
just not use the `<cmd>` argument and use `:<C-U>` instead.
2024-02-28 06:36:05 +08:00
jdhao
050eacaee2
Stop showing percent location
...
The percent location is useless and just noise.
2024-02-23 06:11:21 +08:00
jdhao
01bc4b40d3
update used plugins
2024-02-02 03:52:26 +08:00
jdhao
c06d46e84d
remove lazylock
...
I don't use this feature at all.
2024-02-02 03:43:55 +08:00
jdhao
7cf70f31af
Update colorscheme conf
...
1. remove some colorscheme that doesn't work well with Markdown
2. change how the colorscheme conf is organized.
2024-02-02 03:40:11 +08:00
jdhao
8416508686
Enable nvim-tree to open dir during startup
...
Now when you open a directory when starting nvim, nvim-tree will be
opened to handle the directory correctly, see also issue #257 .
2024-01-07 15:24:47 +01:00
jdhao
df9491b05b
bump neovim version to 0.9.5
2024-01-07 14:45:29 +01:00
jdhao
17d2e3ab3e
Deal with other variant of unix timestamp
2023-10-21 00:53:15 +02:00
jdhao
2c9948300d
Add diffview.nvim for viewing diffs
2023-10-18 22:10:11 +02:00
jdhao
dfaa3d97a5
update plugin spec
2023-10-12 23:26:43 +02:00
jdhao
8d74fcb75c
Remove obsolete options for nvim-tree
2023-10-11 20:43:24 +02:00
jdhao
b1f0ef63ef
Rename vimscript conf directory
2023-10-11 20:41:25 +02:00
jdhao
54ca6d4191
update to nvim 0.9.4
2023-10-11 20:35:50 +02:00
jdhao
97af59e670
remove obsolete option for indent-blankline
2023-10-03 15:14:34 +02:00
jdhao
4d8ef868ad
upgrade indent-blankline to v3
2023-09-28 23:41:42 +02:00
jdhao
3137850db6
Show Py virtual env on statusline
2023-09-28 09:42:27 +02:00
jdhao
eccdc62f38
remove colorschemes rose-pine
2023-09-22 19:38:28 +02:00
jdhao
ad483a7dc0
Use the matained fork of hop.nvim
2023-09-16 14:47:43 +02:00
jdhao
6df27d1c22
upgrade to neovim 0.9.2
2023-09-16 14:26:38 +02:00
jdhao
7f6627cfa1
update plugin conf for Lazy.nvim
2023-09-10 22:16:16 +02:00
jdhao
7ff11a9760
update plugin lazy loading events
2023-09-05 00:22:02 +02:00
jdhao
cc4688d089
Loosen the version check condition
...
Other version of nvim can still run this config, but should use with
care.
2023-09-01 21:39:08 +02:00
jdhao
8a1b3193a4
fix bufferline loading issue
2023-09-01 21:27:13 +02:00
jdhao
e92362041c
fix hlslens issue when no pattern is found
...
The captured error message is not correct before.
2023-09-01 21:22:22 +02:00
jdhao
63ff776758
fix loading order of nvim-cmp and nvim-lsp
2023-09-01 20:52:46 +02:00
jdhao
41c8c81f21
update spell
2023-09-01 01:08:41 +02:00
jdhao
997c6286df
Optimize plugin loading speed
2023-09-01 01:07:16 +02:00
jdhao
359621b126
fix multi visual line delete issue
...
For TextYankPost event, it includes both yank and delete, we should only
restore cursor position for yank, not for delete. Otherwise, it messes
up with text deletion when you visually select multiple lines and delete
them. See also issue reported here: https://github.com/jdhao/nvim-config/pull/222#issuecomment-1698634645
2023-09-01 00:26:08 +02:00
jdhao
4dc2d9575b
disable horizontal scroll by mouse
2023-08-29 23:44:07 +02:00
jdhao
fc1c447319
fix multi-line yank issue, close #220
...
The previous way of keep the cursor while yanking is not perfect.
It will break multi-line yank (`{count}yy`).
2023-08-28 21:11:32 +02:00
jdhao
1391ca7ff1
feat: switch from packer.nvim to lazy.nvim
2023-08-27 23:14:31 +02:00
jdhao
6a6f8ff597
Update condition for installing vim-xkbswitch
2023-08-23 00:48:21 +02:00
jdhao
946e65662b
fix nvimtree conf, close #215
2023-08-14 23:55:17 +02:00
jdhao
4a6379ca5d
update git-linker conf
...
1. Add configuration for azure devops
2. change the mappings slightly
2023-08-09 19:52:58 +02:00
jdhao
855a88b532
fix: user lua conf reloading fails
...
The cache should be invalidated. This fix does not work 100%, because, e.g.,
there are other configs hiding deeper under lua/config/ directory.
A restart is the best way to reload the config.
2023-07-29 14:34:42 +02:00
jdhao
892cd49f06
doc: update doc and install guide for pylsp
2023-07-29 13:09:37 +02:00
jdhao
e53ee104ec
feat: move lua conf under lua directory
2023-07-28 22:28:36 +02:00
jdhao and GitHub
671c78df9b
feat: more ignore files for LeaderF ( #209 )
2023-07-29 04:09:50 +08:00
jdhao
1608a36dd3
fix: conf is not local
2023-07-25 23:00:25 +02:00
jdhao
450f058da5
feat: support venv in Mypy
...
Specify the correct python executable path for mypy to work well.
2023-07-25 22:59:06 +02:00
jdhao
e2f348cb37
fix: missing nerdfonts
...
Since wezterm upgrade its support for Nerd Fonts 3.0, we should update
the codepoints used for some of the Unicode Icons. Their code points are
changed due to breaking changes in Nerd Fonts.
2023-07-25 22:53:20 +02:00
jdhao
fc8175d32d
feat: update diagnostic mappings
...
Use separate key mappings to show diagnostics for the current buffer and
all opened files.
2023-07-22 15:01:41 +02:00
jdhao
4034b6b673
feat: update pylsp conf
...
1. support using black as formatter
2. replace obsolete pyls-isort with maintained ones
2023-07-22 14:51:27 +02:00
jdhao
67a4b6e6d0
feat: add treesitter toml
2023-07-22 14:46:10 +02:00
jdhao
bb27d93433
fix: move location indication to the right of statusline
2023-07-20 23:00:06 +02:00
jdhao
9d9c3ef32f
feat: update diagnostic position in statusline
...
Do not show it in far right, move it to the left side for easier
visibility.
2023-07-20 22:52:55 +02:00
jdhao
00e8c77b23
Fix LeaderF bug
...
It will add files to buffer list even if we have not confirmed the
selection. This behavior is really annoying.
See also https://github.com/Yggdroot/LeaderF/commit/27bd938a422fc6fcfc453fa88fe2ad453a012074 .
2023-06-27 20:39:26 +02:00
jdhao
7bb3ccc275
use legacy version of fidget for now
2023-06-17 00:08:02 +02:00
jdhao
ee38046ebc
Add folding support for JSON files
2023-06-13 22:25:25 +02:00
jdhao
6c873a32da
update to nvim 0.9.1
2023-06-03 21:37:14 +02:00
jdhao
9ca65fd942
update conf for nvim-dashboard
2023-05-22 20:50:15 +02:00
jdhao
cc3a7d6ebd
remove impatient.nvim
...
It is not needed since nvim 0.9.0
2023-05-07 20:10:52 +02:00
jdhao
f3a359a2fa
conf for nvim 0.9.0
2023-04-20 22:36:48 +02:00
jdhao
9a4d71db88
update nvim-tree conf
2023-04-17 22:05:36 +02:00
jdhao and GitHub
dc597004df
Merge pull request #187 from mr-cal/nvim-tree-update
...
nvim-tree: fix shortcut and repo
2023-04-17 21:59:43 +02:00
jdhao and GitHub
644993a89e
bump to nvim version 0.9.0 ( #188 )
2023-04-08 04:42:24 +08:00
jdhao and GitHub
8746c7eb11
fix: omit the clangd missing message, close #180 ( #186 )
...
It is not necessary to install clangd if the user does not use neovim with CPP/C.
2023-03-13 19:55:00 +08:00
jdhao and GitHub
7c44997289
refactor: lua language server rename ( #185 )
...
The lua language server from sumneko had changed its repo and created a
new organizational repo. See also https://github.com/neovim/nvim-lspconfig/pull/2439 .
2023-02-16 17:39:23 +08:00
jdhao and GitHub
bfdb3f5a26
bump supported nvim version ( #184 )
2023-02-11 11:42:57 +08:00
jdhao
76ced0e265
update contact info
2023-01-18 13:27:55 +08:00
jdhao and GitHub
e84d18a204
update license year ( #175 )
2023-01-04 01:01:59 +08:00
jdhao and GitHub
6429e8364c
update nvim to version 0.8.2 ( #173 )
2022-12-31 10:13:39 +08:00
jdhao and GitHub
f2c6900a8d
update setting for onedarkpro ( #172 )
2022-12-28 22:29:49 +08:00
jdhao
116aaa0675
update spell
2022-12-14 12:55:41 +08:00
jdhao and GitHub
12f3ca9d1f
more abbr ( #169 )
2022-12-14 12:54:54 +08:00
jdhao and GitHub
7e7944a30c
use yanky.nvim to replace vim-yoink ( #168 )
2022-12-14 12:52:40 +08:00
jdhao
43c1615822
fix: cmp-omni messes with the lsp completion
...
If we use cmp-omni and lsp together, it seems that it will mess the
autocompletion. So we only use it with tex file, where lsp in not used.
2022-11-22 21:19:53 +08:00
jdhao
509a8bce8c
upgrade to latest stable 0.8.1
2022-11-22 21:16:17 +08:00
jdhao
8b10be60d4
update colorscheme list
...
- remove other gruvbox variant
- remove doom-one casue it has bugs
- add more colorschemes
2022-11-16 02:26:28 +08:00
jdhao
074d2bbdfd
make filetype mapping local
...
Otherwise, the mapping will be global and leak to unrelated to files.
2022-11-15 01:10:26 +08:00
jdhao
7f9af87185
Merge branch 'master' of https://github.com/jdhao/nvim-config
2022-11-15 01:07:29 +08:00
jdhao
bb0b0c5e25
chore: relax vimtex install condition
2022-11-15 01:06:59 +08:00
jdhao
7bb12e4b70
chore: relax vimtex install condition
2022-11-15 01:04:31 +08:00
jdhao
41da56b823
Add my own abbreivations for some spell mistakes
2022-11-13 19:53:14 +08:00
jdhao
82f2332281
chore: update gitsigns highlight
2022-11-10 00:43:15 +08:00
jdhao
075326ee2e
fix: make xkbswitch work on mac M1 CPU
...
For the details, see https://jdhao.github.io/2021/02/25/nvim_ime_mode_auto_switch/ .
2022-11-07 00:47:04 +08:00
jdhao
baa8f26bc2
update spell
2022-11-01 22:27:35 +08:00
jdhao
e9760ae9b8
remove smooth scroll
...
I do not really need it.
2022-11-01 22:19:03 +08:00
jdhao
0d50eb723f
chore: add notification for packer compile
...
Also move the autocmd location.
2022-11-01 22:02:45 +08:00
jdhao
2073f72e67
refactor: use local diagnostic module
2022-10-23 15:18:03 +08:00
jdhao
364be4b5dc
fix links
2022-10-20 13:23:38 +08:00
jdhao
d30d402128
update option
2022-10-19 20:52:51 +08:00
jdhao
fc144e0895
update badge
2022-10-19 12:13:13 +08:00
jdhao
18abfa7754
feat: add a mapping to blink cursor
2022-10-17 00:07:34 +08:00
jdhao
6c1dbdf8fc
update spell
2022-10-16 10:26:41 +08:00
jdhao
202a9a088d
remove vim-json
...
rarely used and it changes the conceal settings
2022-10-16 10:24:53 +08:00