Commit Graph
100 Commits
Author SHA1 Message Date
jdhao 3d5301d0c3 make sure snippets's filetype is correct
The filetype of xxx.snippets is not decided until we enter Insert mode,
since ultisnips is lazy-loaded in Insert mode.
2021-10-30 23:07:47 +08:00
jdhao 80893e7e4a update cpp snippets 2021-10-30 22:53:39 +08:00
jdhao 5bf969e327 update doc 2021-10-30 01:29:03 +08:00
jdhao cdccb404b5 Merge branch 'master' of https://github.com/jdhao/nvim-config 2021-10-30 01:27:04 +08:00
jdhao e2efea79ba more cpp snippets 2021-10-30 01:26:38 +08:00
jdhao b6df22ee89 more cpp snippets 2021-10-30 01:24:08 +08:00
jdhao 49482b8ea0 change hop.nvim highlight 2021-10-29 23:33:57 +08:00
jdhao 317089d5aa update README 2021-10-29 23:33:43 +08:00
jdhao eef7718395 update leaderf settings 2021-10-29 01:48:25 +08:00
jdhao e56595c138 add plugin alpha-nvim 2021-10-29 01:48:10 +08:00
jdhao 0aa98524d3 add cmp-cmdline for consideration 2021-10-28 00:22:44 +08:00
jdhaoandGitHub 331a640585 Create FUNDING.yml 2021-10-28 00:18:36 +08:00
jdhao 0240925496 update cpp snippet 2021-10-27 23:49:07 +08:00
jdhao 7762916bc4 remove defer 2021-10-25 00:06:01 +08:00
jdhao e8d91b43ce show redir output in scratch buffer 2021-10-24 17:03:44 +08:00
jdhao ae98924048 update diff option 2021-10-24 16:15:06 +08:00
jdhao 4f752ab2c5 change airline conf 2021-10-24 01:37:40 +08:00
jdhao 51a004e865 add notification for Redir command 2021-10-23 20:57:00 +08:00
jdhao 841429da33 rename 2021-10-23 20:36:16 +08:00
jdhao f1ab285f11 update diffopt
Use historgram diff algorithm, which semes better at showing code
changes.
2021-10-23 20:32:33 +08:00
jdhao f56e267030 reformat 2021-10-23 17:42:27 +08:00
jdhao 9a5318c0e1 add plugin cmp-buffer 2021-10-23 17:40:38 +08:00
jdhao 9d40dce70e remove solarized color theme
It sucks for viewing diff.
2021-10-23 17:14:04 +08:00
jdhao 455ae8a8b9 change default logging level 2021-10-23 01:29:58 +08:00
jdhao e5d640daec simplify code 2021-10-23 01:29:39 +08:00
jdhao 2e69db6551 add global variable logging_level 2021-10-23 01:24:32 +08:00
jdhao e2a8687e48 update markdown snippets 2021-10-23 01:14:09 +08:00
jdhao 613e2fa489 add lspkind.nvim 2021-10-23 01:13:41 +08:00
jdhao 29c8e97338 reformat 2021-10-22 23:10:09 +08:00
jdhao 647cc833cc rename ui.vim --> themes.vim 2021-10-22 23:04:58 +08:00
jdhao 9a2e1b8475 reduce updatetime 2021-10-22 22:53:40 +08:00
jdhao 553ff50303 change vim-airline and vim-airlinethemes load condition
vim-airline needs to be loaded after vim-signify, otherwise the git
signs won't show on the statusline.
2021-10-22 22:52:33 +08:00
jdhao a0a4db076e update spell file 2021-10-22 22:07:38 +08:00
jdhao f528aa216c change how lua conf is invoked 2021-10-22 22:06:53 +08:00
jdhao 8ff1e683aa remove vim-auto-save settings 2021-10-22 22:06:13 +08:00
jdhao 8325286097 vimtex conf update 2021-10-22 22:05:58 +08:00
jdhao c873572872 firenvim conf update 2021-10-22 22:05:29 +08:00
jdhao 247bb91e67 update wilder.nvim conf 2021-10-22 22:05:00 +08:00
jdhao d421ed2703 remove some plugins 2021-10-22 21:26:18 +08:00
jdhao 8986ace1b2 fix doc 2021-10-22 21:23:38 +08:00
jdhao ed08fe1cb4 update plugin load conf 2021-10-21 23:04:48 +08:00
jdhao 9400ab1330 update vim-airline and vim-airline-themes load condition 2021-10-21 23:04:08 +08:00
jdhao 2b7e88b706 only use cmp-emoji on macOS 2021-10-21 23:03:35 +08:00
jdhao 9d234efbd4 disable autosave for plugins.lua 2021-10-21 23:03:15 +08:00
jdhao c8963f2daf update vim-airline conf 2021-10-21 23:03:01 +08:00
jdhao 94f0c903e5 add option winblend 2021-10-21 23:02:40 +08:00
jdhao 6e273e4a34 update bufferline conf 2021-10-21 01:34:44 +08:00
jdhao 899721b332 update plugin load condition 2021-10-20 21:58:33 +08:00
jdhao 976081c453 update wilder.nvim conf
1. use popup menu instead of statusline
2. use autocmd to activate
2021-10-20 21:57:35 +08:00
jdhao 43944fabdc doc: fix packer.nvim install instruction 2021-10-20 21:55:20 +08:00
jdhao d13aae9b19 disable auto-preview of bqf 2021-10-20 21:54:52 +08:00
jdhao 82212af82e fix package root directory issue
Expose a new global variable package_home.
2021-10-20 21:53:28 +08:00
jdhao 0477364023 Only use indent-blankline on normal mode
In insert mode, it is distracting for editing.
2021-10-20 00:49:18 +08:00
jdhao 3ce1d8cc82 update theme list
Colorscheme vim-deus and solarized8 works badly for indent-blankline, so
remove them.
2021-10-20 00:48:18 +08:00
jdhao 498dcaef94 update cmp lazy load condition
If we use InsertEnter, cmp may not be activated the first time we go to
insert mode. I have to go to insert mode a second time to activate
auto-completion, which is annoying.
2021-10-19 01:14:21 +08:00
jdhao 7750a43e55 update cmp settings 2021-10-19 01:14:09 +08:00
jdhao c02dd8669e clean mappings 2021-10-19 01:09:51 +08:00
jdhao d1d0efe9e7 doc update 2021-10-18 23:46:20 +08:00
jdhao 244bd41ff0 move ASCII art to README 2021-10-18 23:18:43 +08:00
jdhao 3decef7e5c update spell 2021-10-18 22:53:57 +08:00
jdhao 71040c76c6 replace vim-sneak with hop.nvim 2021-10-18 22:53:22 +08:00
jdhao 66be7b9379 use local variable 2021-10-18 22:32:58 +08:00
jdhao 6464539399 nvim-notify update 2021-10-18 22:32:38 +08:00
jdhao 30ca579ee9 Remove license info in init.vim itself 2021-10-18 22:01:10 +08:00
jdhao e2bcb7d8f4 transition from nvim-compe to nvim-cmp 2021-10-18 21:57:06 +08:00
jdhao a603ce3e4d remove unused mapping 2021-10-18 21:56:16 +08:00
jdhao 00bbe351de add hop.nvim 2021-10-18 02:02:25 +08:00
jdhao 302681126f add Telescope and its extensions 2021-10-18 01:25:50 +08:00
jdhao b6488d44c1 which-key conf 2021-10-17 07:50:38 +08:00
jdhao 083e9ba5d7 update README 2021-10-17 07:42:44 +08:00
jdhao 237a2c3f4a update leaderf conf 2021-10-17 07:42:30 +08:00
jdhao 6c14d23707 update which-key.nvim conf 2021-10-17 03:08:05 +08:00
jdhao 6cc198010a remove registers.nvim
Which-key.nvim can show register content too, with much more features.
I found this info on https://toroid.org/modern-neovim.
2021-10-17 02:52:40 +08:00
jdhao a85bebdf02 remove some dead mappings
I am not really sure what they do anyway.
2021-10-17 02:12:45 +08:00
jdhao 10bf22d8d4 Update README 2021-10-17 01:10:36 +08:00
jdhao 25756bbb12 Set theme jekyll-theme-dinky 2021-10-16 23:43:01 +08:00
jdhao a40a698d24 Set theme jekyll-theme-tactile 2021-10-16 23:41:54 +08:00
jdhao 6ebae371c2 Set theme jekyll-theme-modernist 2021-10-16 23:40:15 +08:00
jdhao c13d170935 Set theme jekyll-theme-architect 2021-10-16 23:36:51 +08:00
jdhao 92361ed4f9 update README 2021-10-16 23:30:00 +08:00
jdhao a8ae1c7fbe Add warning for deprecated mappings 2021-10-16 23:05:01 +08:00
jdhao 28a61a6bc7 re-add number to spellsuggest
Adding number to spellsuggest slows down neovim/vim dramatically
previously, see jdhao/nvim-config@84ddd0c5f, and this issue is fix in
neovim/neovim@94cb3b4b35.
2021-10-16 22:40:35 +08:00
jdhao 34111c669a fix error caused by removal of vim-auto-save 2021-10-16 22:40:02 +08:00
jdhao 481a4e5c0e change LeaderF mappings
Make the mapping consistent
2021-10-16 21:17:58 +08:00
jdhao 768d02b040 update indentBlankline conf 2021-10-16 21:10:57 +08:00
jdhao 3a32e04af1 replace vim-auto-save with AutoSave.nvim 2021-10-16 00:08:36 +08:00
jdhao 97138dc6bf fix nightfox colorscheme path 2021-10-16 00:01:33 +08:00
jdhao 421111f474 refactor: load colorschemes randomly
In Emacs, there is `seq-random-elt` which randomly selects an element from
a sequence. We mimic it here in Neovim.

Ref: https://www.gnu.org/software/emacs/manual/html_node/elisp/Sequence-Functions.html.
2021-10-15 23:20:35 +08:00
jdhao b4f58504a7 add colorscheme nightfox 2021-10-15 23:19:51 +08:00
jdhao 40c7fc552a update README 2021-10-11 23:26:36 +08:00
jdhao 64bcc85193 update mapping 2021-10-11 23:21:08 +08:00
jdhao e09bfca274 update spell file 2021-10-11 00:07:50 +08:00
jdhao 441d5965a2 do not shadow default keys in normal mode
It causes delay (we have to wait timeoutlen milliseconds) when we want
to use the key's original command.
2021-10-11 00:06:20 +08:00
jdhao b7fcd4e32e timeout 2021-10-11 00:05:55 +08:00
jdhao 5366c0644e update ignore files 2021-10-11 00:05:39 +08:00
jdhao 3557b7fb09 update which-key conf 2021-10-10 23:51:05 +08:00
jdhao b828d69a9a update README 2021-10-07 23:38:38 +08:00
jdhao 96898255a0 add which-key.nvim 2021-10-07 23:37:35 +08:00
jdhao c0f59bde8d update theme doom-one settings 2021-10-06 13:55:41 +08:00
jdhao fefc56d1e2 show border for diagnostics floating window 2021-09-23 23:12:47 +08:00