Commit Graph
100 Commits
Author SHA1 Message Date
jdhao cad9f5a214 make inspect() global 2022-08-14 11:39:37 +08:00
jdhao ab88c112ff make dashboard-nvim an opt plugin 2022-08-13 23:03:42 +08:00
jdhao 4c96243a4c init.vim --> init.lua cleanup 2022-08-13 22:45:13 +08:00
jdhao fdc158272b init.vim --> init.lua follow 2022-08-13 22:43:33 +08:00
jdhaoandGitHub b331cddc73 Merge pull request #61 from jdhao/init.lua
Transition from init.vim to init.lua
2022-08-13 22:39:47 +08:00
jdhao b11c57e36f Transition from init.vim to init.lua 2022-08-13 22:37:49 +08:00
jdhao 84d73660fa add stylua conf 2022-08-13 17:12:08 +08:00
jdhaoandGitHub a9cc10b2ef Merge pull request #60 from jdhao/doc
update setup doc
2022-08-12 20:32:48 +08:00
jdhao cad6112cc2 update setup doc 2022-08-12 20:31:32 +08:00
jdhaoandGitHub 4d7fd6580a Merge pull request #58 from jdhao/mapping-doc
update readme about mappings
2022-08-11 01:29:33 +08:00
jdhao f492a94db6 update readme about mappings 2022-08-11 01:28:14 +08:00
jdhao 0c92d9a018 update mappings
1. add mapping for gJ
2. remove mappings for <C-H>, since I rarely use them
2022-08-10 21:24:14 +08:00
jdhao 369687b047 refactor: disable showing trailing space and mix indent for non-modifiable buffers 2022-08-07 00:25:08 +08:00
jdhao 54908dfe9f fix: dashboard map is not local 2022-08-07 00:24:37 +08:00
jdhao 2e5f5c5991 update demo image in README 2022-08-07 00:12:55 +08:00
jdhao 8291b15599 remove alpha-nvim, use dashboard-nvim 2022-08-07 00:01:23 +08:00
jdhao 3de31f7d0a disable language command in macOS for now
Due to packaging issue, nvim version 0.7.2 for macOS does not have
`:language` command built in, see also neovim/neovim#19127.
2022-08-06 22:36:49 +08:00
jdhaoandGitHub 6b59c268f9 Merge pull request #57 from jdhao/fix-trailing-space
fix: trailing white sapces do not show as expected
2022-08-06 17:22:32 +08:00
jdhao dd550dc3d0 fix: trailing white sapces do not show as expected
The plugin whitespace.nvim has changed its internal implementation.
It is not reliable to depend on external plugins.
2022-08-06 17:19:13 +08:00
jdhaoandGitHub 3aae07df56 Merge pull request #56 from jdhao/js-setup
add setup for javascript
2022-08-06 14:23:31 +08:00
jdhao ed5ddf60cc add setup for javascript 2022-08-06 14:20:28 +08:00
jdhao bcdc8d3f66 small fix 2022-08-01 20:57:37 +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 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