aboutsummaryrefslogtreecommitdiff
path: root/lua
AgeCommit message (Collapse)Author
2024-02-28update some mappingsjdhao
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-23Stop showing percent locationjdhao
The percent location is useless and just noise.
2024-02-02update used pluginsjdhao
2024-02-02Update colorscheme confjdhao
1. remove some colorscheme that doesn't work well with Markdown 2. change how the colorscheme conf is organized.
2024-01-07Enable nvim-tree to open dir during startupjdhao
Now when you open a directory when starting nvim, nvim-tree will be opened to handle the directory correctly, see also issue #257.
2023-10-18Add diffview.nvim for viewing diffsjdhao
2023-10-12update plugin specjdhao
2023-10-11Remove obsolete options for nvim-treejdhao
2023-10-11update to nvim 0.9.4jdhao
2023-10-03remove obsolete option for indent-blanklinejdhao
2023-09-28upgrade indent-blankline to v3jdhao
2023-09-28Show Py virtual env on statuslinejdhao
2023-09-22remove colorschemes rose-pinejdhao
2023-09-16Use the matained fork of hop.nvimjdhao
2023-09-10update plugin conf for Lazy.nvimjdhao
2023-09-05update plugin lazy loading eventsjdhao
2023-09-01fix bufferline loading issuejdhao
2023-09-01fix hlslens issue when no pattern is foundjdhao
The captured error message is not correct before.
2023-09-01fix loading order of nvim-cmp and nvim-lspjdhao
2023-09-01Optimize plugin loading speedjdhao
2023-09-01fix multi visual line delete issuejdhao
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-08-28fix multi-line yank issue, close #220jdhao
The previous way of keep the cursor while yanking is not perfect. It will break multi-line yank (`{count}yy`).
2023-08-27feat: switch from packer.nvim to lazy.nvimjdhao
2023-08-23Update condition for installing vim-xkbswitchjdhao
2023-08-14fix nvimtree conf, close #215jdhao
2023-08-09update git-linker confjdhao
1. Add configuration for azure devops 2. change the mappings slightly
2023-07-28feat: move lua conf under lua directoryjdhao
2023-07-25fix: conf is not localjdhao
2023-07-25feat: support venv in Mypyjdhao
Specify the correct python executable path for mypy to work well.
2023-07-25fix: missing nerdfontsjdhao
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-22feat: update diagnostic mappingsjdhao
Use separate key mappings to show diagnostics for the current buffer and all opened files.
2023-07-22feat: update pylsp confjdhao
1. support using black as formatter 2. replace obsolete pyls-isort with maintained ones
2023-07-22feat: add treesitter tomljdhao
2023-07-20fix: move location indication to the right of statuslinejdhao
2023-07-20feat: update diagnostic position in statuslinejdhao
Do not show it in far right, move it to the left side for easier visibility.
2023-06-17use legacy version of fidget for nowjdhao
2023-06-13Add folding support for JSON filesjdhao
2023-05-22update conf for nvim-dashboardjdhao
2023-05-07remove impatient.nvimjdhao
It is not needed since nvim 0.9.0
2023-04-17update nvim-tree confjdhao
2023-04-17Merge pull request #187 from mr-cal/nvim-tree-updatejdhao
nvim-tree: fix shortcut and repo
2023-04-08bump to nvim version 0.9.0 (#188)jdhao
2023-04-05nvim-tree: update other referencesCallahan Kovacs
Signed-off-by: Callahan Kovacs <callahankovacs@gmail.com>
2023-03-30nvim-tree: use api and new repository urlCallahan Kovacs
Signed-off-by: Callahan Kovacs <callahankovacs@gmail.com>
2023-03-13fix: omit the clangd missing message, close #180 (#186)jdhao
It is not necessary to install clangd if the user does not use neovim with CPP/C.
2023-02-16refactor: lua language server rename (#185)jdhao
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.
2022-12-14use yanky.nvim to replace vim-yoink (#168)jdhao
2022-11-28Add ltex-ls support to lsp. (#166)bldur
* Add ltex-ls support to lsp. Co-authored-by: bldur (https://github.com/bldur)
2022-11-22fix: cmp-omni messes with the lsp completionjdhao
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-16update colorscheme listjdhao
- remove other gruvbox variant - remove doom-one casue it has bugs - add more colorschemes