Commit Graph
100 Commits
Author SHA1 Message Date
jdhao 36bdde7fc9 update C++ snippets 2022-03-19 14:48:46 +08:00
jdhao 4dd1350f25 working config for cmp-omni and vimtex 2022-03-15 20:25:30 +08:00
jdhao 311768ce72 add cmp-omni for working with tex 2022-03-14 00:34:06 +08:00
jdhao a1942e6142 update spell 2022-03-08 13:15:38 +08:00
jdhao e528acd799 update hop.nvim conf 2022-03-07 22:42:32 +08:00
jdhao 3c7b40bc15 add snip for ultisnips snippets files 2022-03-05 22:15:35 +08:00
jdhao a0179d01c1 add new markdown snippet 2022-03-05 22:15:02 +08:00
jdhao 377c54c88c update tex conf 2022-02-28 23:31:01 +08:00
jdhao 3f78429c81 update spell 2022-02-27 15:52:09 +08:00
jdhao 414a4593ce update config doc 2022-02-14 20:43:00 +08:00
jdhao aa891f7acd spell update 2022-02-12 22:46:46 +08:00
jdhao a522cf7c5e update issue template 2022-02-12 14:31:15 +08:00
jdhao 5b7944031e update doc 2022-02-12 14:31:00 +08:00
jdhao 1efec8bc8f update issue template 2022-02-11 21:23:07 +08:00
jdhao ec6549948a update Markdown snippet 2022-02-11 21:11:27 +08:00
jdhao 528aa2f19a update nvim-cmp conf 2022-02-11 20:15:07 +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 8ce677a50f update spell 2022-02-10 13:17:33 +08:00
jdhao 6322c7c212 chore: update theme hint message 2022-02-09 01:17:50 +08:00
jdhao aa0cf40591 update Markdown snippets 2022-02-08 23:13:10 +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 0aed2b42ac add nvim-tree.lua to readme 2022-02-08 00:11:28 +08:00
jdhao 1e84dd6248 update spell 2022-02-08 00:10:34 +08:00
jdhao 1b937d80af chore: update setup script for Linux 2022-02-06 12:41:23 +08:00
jdhao 78a8804f77 chore: update links for Anaconda/miniconda package 2022-02-06 12:19:04 +08:00
jdhao 6759171794 update ignore setting 2022-02-05 13:44:28 +08:00
jdhao f357b0bee8 nvim-tree: auto-close when it is the only win 2022-02-05 13:42:53 +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 f10f688374 update nvim-tree conf 2022-02-05 12:27:17 +08:00
jdhao d6b83710c4 enable lualine's support for nvim-tree
See also https://github.com/nvim-lualine/lualine.nvim#extensions.
2022-02-05 12:26:27 +08:00
jdhao 590baf4ca9 add plugin nvim-tree.lua 2022-02-05 00:11:58 +08:00
jdhao dc4ff3d499 change param for plugin lspkind-nvim
See also https://github.com/onsails/lspkind-nvim/commit/06872e887e7e4579765cc51fa6b0e7643b4284fa.
2022-02-04 23:18:31 +08:00
jdhao 6b76b7781c add comment for ginit.vim 2022-02-04 11:06:38 +08:00
jdhao 21127b3170 update README 2022-02-04 11:02:40 +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 61ae7acc14 refactor: rename 2022-02-03 12:52:30 +08:00
jdhao d533859af9 update LeaderF conf 2022-02-02 17:08:45 +08:00
jdhao 74e8aed170 update README 2022-01-30 14:11:01 +08:00
jdhao 532e457ad4 update README 2022-01-30 14:04:32 +08:00
jdhao 9555052f94 use debug mode 2022-01-30 11:58:50 +08:00
jdhao b84d57ccec update README 2022-01-30 02:23:30 +08:00
jdhao 4741291176 update spell 2022-01-29 13:11:24 +08:00
jdhao 38883b3fc5 fix: check if language server exists before using 2022-01-28 13:13:24 +08:00
jdhao 597b11638f chore: use local variable lspconfig 2022-01-28 13:13:01 +08:00
jdhao 694f4d0ca1 add bash-language-server 2022-01-26 22:54:49 +08:00
jdhao e5c506aae3 update ignore files 2022-01-26 19:12:31 +08:00
jdhao 22eead5d0f update matchparen highlight 2022-01-26 19:10:15 +08:00
jdhao a6ded3a154 add log-autocmd 2022-01-24 00:16:00 +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 a19a91397f update spell 2022-01-23 16:14:18 +08:00
jdhao 3928935402 update lsp setting 2022-01-23 16:13:34 +08:00
jdhao 3604449b6a doc: update description for init.vim 2022-01-16 17:22:23 +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 665250fe58 new year 2022-01-11 23:59:27 +08:00
jdhao 6a2ded6ca8 add plugin vim-conflicted for merge conflict handling 2022-01-09 22:02:18 +08:00
jdhao 41db6639d6 add issue template for easier debugging 2022-01-09 00:43:01 +08:00
jdhao 1b9b208653 update README 2022-01-09 00:14:37 +08:00
jdhao 97fcc581e6 chore: remove semshi settings
That plugin has been deleted before
2022-01-09 00:08:36 +08:00
jdhao 2e9f5fedfa more startup screen menu item 2022-01-08 15:02:20 +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 148dabd7ad docs: use latest stable version of nvim 2022-01-04 23:31:03 +08:00
jdhao b9d1f2ee92 remove two mappings that warn of mapping deprecation 2022-01-04 00:40:11 +08:00
jdhao b2959e8acf docs: update mappings 2022-01-04 00:38:34 +08:00
jdhao b5ec8d2a91 Update README 2022-01-02 22:50:49 +08:00
jdhao 092ea88703 bump minimum supported nvim version to 0.6.1 2022-01-02 11:26:32 +08:00
jdhao 67d59bfc2c docs: add section on custom commands 2021-12-31 12:30:23 +08:00
jdhao 77a5dfacd6 fix: broken link in README 2021-12-31 12:17:51 +08:00
jdhao 1373c418b9 restore reg content after using it 2021-12-30 23:39:42 +08:00
jdhao e82b450464 split command output to list of string and set the buffer 2021-12-30 23:39:03 +08:00
jdhao 08818dbf01 remove logging 2021-12-30 23:38:49 +08:00
jdhao 0ed8814aef fix: command output captured by a register not formatted properly
Newline is converted to NUL character, which is nasty, see also https://vi.stackexchange.com/q/6697/15292.
2021-12-30 22:33:39 +08:00
jdhao a86f1d2f31 refactor: capture command output silently 2021-12-30 22:33:06 +08:00
jdhao c1b27ee818 fix url link in README 2021-12-29 23:34:59 +08:00
jdhao 7eb7b4450f update README 2021-12-29 23:33:07 +08:00
jdhao 5443078805 g:mapleader 2021-12-29 00:42:00 +08:00
jdhao dcffbf9a71 fix: lsp reference highlight isn't correctly linked
! is need to overwrite possible existing highlight group of the same
name.
2021-12-28 23:49:43 +08:00
jdhao 85de00f374 refactor: resume edit position --> resume cursor position 2021-12-28 00:11:10 +08:00
jdhao 9adc3fdf16 remove double quotes for snippet trigger 2021-12-23 22:41:16 +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 ed52ca5914 add ref for checking IME state 2021-12-19 20:54:13 +08:00
jdhao 1d0609f753 change SPELL location on statusline 2021-12-19 20:53:09 +08:00
jdhao 56a43e4009 show IME on statusline on macOS 2021-12-19 20:52:23 +08:00
jdhao 22c7c6ee05 update plugin.lua 2021-12-19 19:55:00 +08:00
jdhao 3d0f00e7e4 update README 2021-12-16 23:31:13 +08:00
jdhao bbd642af1a renaming variables 2021-12-15 00:21:34 +08:00
jdhao 5215a601b9 update fold conf for vim script
When setting foldlevel to 0 and load some plugin via InsertEnter event
using packer.nvim, if we press i to go to insert mode, the fold for vim
script file will be automatically closed. It is really annoying.

I have pinpoint the issue to the combination of packer.nvim and setting
foldlevel to 0 in after/ftplugin/vim.vim. What is interesting is that
default value for foldlevel is also 0. However, if we do not set it in
vim.vim, the above issue won't occur, which is strange.
2021-12-14 21:48:58 +08:00
jdhao 9bac7fa4f7 refactor: remove folding for init.vim 2021-12-14 21:47:59 +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 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 9b41825c2c update lualine conf
diagnostic interface change
2021-12-10 22:51:06 +08:00