Commit Graph
100 Commits
Author SHA1 Message Date
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 e0fc068f2e update nvim-cmp conf since cmp-nvim-lua is removed 2022-07-28 00:51:48 +08:00
jdhao 58ed71f870 use emmylua-nvim instead of cmp-nvim-lua for better completion 2022-07-27 21:08:03 +08:00
jdhao aae9a7b7a7 update winblend 2022-07-27 13:17:22 +08:00
jdhao 33270f3257 add command ToPDF 2022-07-19 01:18:26 +08:00
jdhao 99d5a0343b update title str format 2022-07-11 23:14:16 +08:00
jdhao 3678da1b3c update titlestring 2022-07-02 16:47:58 +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 6dfaf2c521 minor tweak: version checking 2022-06-28 00:23:53 +08:00
jdhao ae759477c7 bump version to 0.7.2 2022-06-28 00:09:42 +08:00
jdhao 921fd17221 update macos install script 2022-06-27 23:34:23 +08:00
jdhao 81696c9e13 update python snippet 2022-06-14 22:02:26 +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 934ef7fb13 update spell 2022-05-29 11:03:18 +08:00
jdhao 3ee785506c disable alpha-nvim
There are errors with nvim 0.7.
2022-05-29 11:01:36 +08:00
jdhao 428f612bb3 update linux setup script 2022-05-21 10:43:15 +08:00
jdhao 95b7ee5bc8 lsp: only show diagnostic once for each line if cursor is not moved
This will help use to check signature help without it being overwritten
by diagnostic popups.
2022-05-18 13:32:35 +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 c3253a5731 use vim.pretty_print for checking lua objects 2022-05-14 00:59:00 +08:00
jdhao a9be0d0b20 add mapping to run vim script file 2022-05-09 22:10:35 +08:00
jdhao 13111596b8 check if nvim version is correct, see also #51 2022-05-09 22:06:17 +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 9e284f58cb add new map 2022-05-03 19:15:33 +08:00
jdhao a5dc045acc update issue template 2022-05-03 17:00:49 +08:00
jdhao dd3e9dd2f4 add map to run lua file 2022-05-03 00:59:32 +08:00
jdhao 6784a87e26 update vimtex conf, close #50
Fix deprecated options
2022-05-02 09:48:43 +08:00
jdhao 99637c86f9 update doc 2022-05-01 23:25:15 +08:00
jdhao 3817525441 update hlslens conf 2022-04-29 22:00:10 +08:00
jdhao 4b4331d394 refactor: simplify hlslens conf 2022-04-29 21:51:23 +08:00
jdhao aaafaf58d6 fix: error when pressing n/N if pattern not present in buffer 2022-04-29 02:21:05 +08:00
jdhao 1b9bd9ceef use vim.keymap for key mappings in lua 2022-04-27 23:38:09 +08:00
jdhao e043f07b71 update nvim-tree conf 2022-04-27 22:08:25 +08:00
jdhao b20b21b5dd update LeaderF conf 2022-04-20 01:29:19 +08:00
jdhao c3ced68bea spell 2022-04-19 13:06:28 +08:00
jdhao 905efeb53f update README 2022-04-17 23:20:30 +08:00
jdhao a3795cd043 [nvim 0.7] use native lua autocmd for cleaner code 2022-04-16 12:07:48 +08:00
jdhao b4c55edb44 doc: bump supported version to nvim 0.7.0 2022-04-16 01:04:42 +08:00
jdhao 58b1e0aa9f [nvim 0.7] use filetype.lua for detecting ft 2022-04-16 01:00:36 +08:00
jdhao f7bb7caba6 [nvim 0.7] vim.keymap.set opts update 2022-04-16 01:00:21 +08:00
jdhao 617fb733d7 [nvim 0.7] use the new vim.keymap interface 2022-04-16 00:17:10 +08:00
jdhao 9082e124a5 [nvim 0.7] no more py2 support 2022-04-16 00:16:23 +08:00
jdhaoandGitHub 2ffba14a6c Merge pull request #48 from soda92/patch-1
fix small typo
2022-04-14 19:20:33 +08:00
jdhao 4ab3d0414f fix nvim-cmp error
check https://github.com/hrsh7th/nvim-cmp/issues/231#issuecomment-1098175017
2022-04-14 00:14:25 +08:00
jdhao 8059940caa update spell file 2022-04-10 13:27:24 +08:00
jdhao 081c2717b3 update doc 2022-04-10 13:26:49 +08:00
jdhao 1d3bfc5c5f update issue template 2022-04-10 13:26:24 +08:00
jdhao 3c5d7bf0e5 update wilder.nvim conf 2022-04-10 13:23:18 +08:00
jdhao 3134f088cd update nvim-cmp conf, fix hrsh7th/nvim-cmp#880 2022-04-10 13:07:02 +08:00
jdhao 639b3d6067 update tex snippets 2022-04-05 00:43:01 +08:00
jdhao 4f55f53958 chore: use ft for FileType lazyloading 2022-04-03 15:30:47 +08:00
jdhao 085f0eb7e3 update nvim-tree conf: stay focus 2022-04-02 19:48:41 +08:00
jdhaoandGitHub 9f41333378 Merge pull request #46 from jdhao/fix-quit-condition
[fix] quit does not work for 2 windows
2022-03-29 21:46:27 +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 988cf54f26 update nvim-tree conf 2022-03-29 12:58:52 +08:00
jdhao 9dbeb67de5 [feat] add mapping to add hard linebreak for Markdown 2022-03-27 00:04:39 +08:00
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