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

153 Commits

Author SHA1 Message Date
jdhao
202a9a088d remove vim-json
rarely used and it changes the conceal settings
2022-10-16 10:24:53 +08:00
jdhao
d939cc75c6 refactor: make packer installation a function 2022-10-16 10:23:40 +08:00
jdhao
acb423984a remove vim-asterisk
The * can now search selected text by default. The cursor stay feature
can also be simulated.
2022-10-05 12:42:45 +08:00
jdhao
81663c8f3c update markdown-preview.nvim install method 2022-10-04 13:15:26 +08:00
jdhao
07dd60206b update repo link for transferred plugins 2022-09-28 23:57:36 +08:00
jdhao
4026baef19 update conf related to firenvim
1. Change autocmd for buffers started by firenivm, it seems that
   BufNewFile does not work as intended, in contrast, BufEnter, BufRead,
   BufWinEnter seem to work.
2. Disable several plugins if we are using firenvim, these plugins
   include dashboard-nvim, lualine, bufferline.nvim
2022-09-28 23:22:23 +08:00
jdhao
aaeb6a813a format with stylua 2022-09-10 23:55:22 +08:00
jdhao
b69320b4e2 remove unused plugins 2022-09-08 20:35:34 +08:00
jdhao
b504c932e6 use gitsigns instead of signify 2022-09-08 20:31:33 +08:00
jdhao
309c8ad636 update mapping 2022-09-08 13:19:34 +08:00
jdhao
46cbdc2d7f better-escape.vim is now under nvim-zh org 2022-09-05 01:00:42 +08:00
jdhao
43660dd540 add plugin gitlinkder.nvim 2022-09-05 00:48:10 +08:00
jdhao
b9616aeab0 update packer conf 2022-08-31 00:01:38 +08:00
jdhao
bc9b0a8cf8 fix parameter for vim.notify 2022-08-26 19:47:56 +08:00
jdhao
b279c0cd95 fix some typos 2022-08-23 21:12:04 +08:00
jdhao
cfe2e0611d feat: auto-install plugins for fresh install 2022-08-19 00:42:02 +08:00
jdhao
7e6dd23d37 add fidget-nvim for lsp-progress 2022-08-14 20:12:52 +08:00
jdhao
ab88c112ff make dashboard-nvim an opt plugin 2022-08-13 23:03:42 +08:00
jdhao
8291b15599 remove alpha-nvim, use dashboard-nvim 2022-08-07 00:01:23 +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
3af7dd51b8 update packer config 2022-07-28 01:22:10 +08:00
jdhao
58ed71f870 use emmylua-nvim instead of cmp-nvim-lua for better completion 2022-07-27 21:08:03 +08:00
jdhao
3ee785506c disable alpha-nvim
There are errors with nvim 0.7.
2022-05-29 11:01:36 +08:00
jdhao
4899a82b35 refactor: local fn = vim.fn 2022-05-15 21:16:02 +08:00
jdhao
424981683e change location of packer_compiled.lua 2022-05-15 17:58:47 +08:00
jdhao
6cea10fcc5 update nvim-cmp conf
The issue has been fixed by the maintainer.
2022-05-04 23:14:06 +08:00
jdhao
58102f182a fix nvim-cmp issue, see hrsh7th/nvim-cmp#964 2022-05-04 17:11:34 +08:00
jdhao
4f55f53958 chore: use ft for FileType lazyloading 2022-04-03 15:30:47 +08:00
jdhao
311768ce72 add cmp-omni for working with tex 2022-03-14 00:34:06 +08:00
jdhao
15dfccf81e [breaking change] remove direct reference to fastgit
fastgit may be blocked by GFW (see https://t.me/fastgitchannel/81), so
hard-coding its URL is not a good option. Using git URL rewrite feature
is a better choice: https://jdhao.github.io/2021/11/27/git_notes_s4/#use-a-git-mirror-site-for-cloning.

This is a breaking change, since previously I use hub.fastgit.org as the
url, now the url will be default github.com unless the user change it
using the above mentioned method to change the cloning URL.
2022-02-08 13:11:20 +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
590baf4ca9 add plugin nvim-tree.lua 2022-02-05 00:11:58 +08:00
jdhao
91b4d85592 change load condition of lspkind-nvim
If we use BufEnter, nvim-cmp autocompletion may not work sometimes,
which is really annoying
2022-01-23 16:47:52 +08:00
jdhao
6a2ded6ca8 add plugin vim-conflicted for merge conflict handling 2022-01-09 22:02:18 +08:00
jdhao
6cf31e2dcb add colorscheme kanagawa 2021-12-23 22:36:29 +08:00
jdhao
22c7c6ee05 update plugin.lua 2021-12-19 19:55:00 +08:00
jdhao
06910bac87 remove plugin vim-cool
nvim-hlslens can replace it if calm_down option is enabled.
2021-12-12 17:30:11 +08:00
jdhao
85427c6424 remove plugin semshi 2021-12-12 16:47:58 +08:00
jdhao
cf9761e9a3 update plugin load condition 2021-12-11 18:15:24 +08:00
jdhao
a466339092 update nvim-hlslens settings 2021-12-11 15:46:25 +08:00
jdhao
17a9488ba7 make impatient.nvim the first plugin 2021-12-06 21:23:59 +08:00
jdhao
9ee4f46240 lazyload lua plugins 2021-12-06 12:26:44 +08:00
jdhao
7735a33a59 remove plugin gutentags
I rarely use it.
2021-12-06 11:40:45 +08:00
jdhao
4d497ec8a7 update lualine conf 2021-12-05 14:59:08 +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
b9f1d92564 use main branch of nvim-hlslens 2021-12-04 12:06:10 +08:00
jdhao
dcde6bb47f reduce startup time using impatient.nvim 2021-12-03 22:42:32 +08:00
jdhao
1441601ddf remove plugin vim-searchlight
It can be replaced by nvim-hlslens
2021-11-23 22:43:12 +08:00
jdhao
e05c93aaeb use branch dev of nvim-hlslens
Master version has a bug where text is wrongly highlighted.
2021-11-22 23:16:25 +08:00