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

200 Commits

Author SHA1 Message Date
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
8986ace1b2 fix doc 2021-10-22 21:23:38 +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
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
82212af82e fix package root directory issue
Expose a new global variable package_home.
2021-10-20 21:53:28 +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
c02dd8669e clean mappings 2021-10-19 01:09:51 +08:00
jdhao
71040c76c6 replace vim-sneak with hop.nvim 2021-10-18 22:53:22 +08:00
jdhao
6464539399 nvim-notify update 2021-10-18 22:32:38 +08:00
jdhao
a603ce3e4d remove unused mapping 2021-10-18 21:56:16 +08:00
jdhao
237a2c3f4a update leaderf conf 2021-10-17 07:42:30 +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
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
64bcc85193 update mapping 2021-10-11 23:21:08 +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
c0f59bde8d update theme doom-one settings 2021-10-06 13:55:41 +08:00
jdhao
36711d4a46 update registers.nvim settings 2021-09-09 15:55:25 +08:00
jdhao
a78fc16c2d update wildignore and backupskip settings 2021-09-06 23:47:55 +08:00
jdhao
aa6af21a15 Colorscheme plugins as opt plugins 2021-08-27 00:02:45 +08:00
jdhao
10ad680328 update leaderf settings 2021-08-26 01:58:00 +08:00
jdhao
42a0663184 Reduce timeout for nvim-notify 2021-08-20 01:12:35 +08:00
jdhao
30774cac5b Use nvim-hlslens instead of vim-anzu 2021-08-18 23:21:51 +08:00
jdhao
72bf99a15f update option 2021-08-18 01:53:39 +08:00
jdhao
5817b1c207 Add colorscheme everforest 2021-08-18 01:53:27 +08:00
jdhao
0a78be783b update vim-airline settings 2021-08-16 00:16:01 +08:00
jdhao
07c80f948d Use proper true or false value for boolean variables
In lua, 0 and empty string is true, which is counter-intuitive and
different from vim script. So we need to use proper boolean type for vim
script global variables, instead of numbers.
2021-08-14 01:23:43 +08:00
jdhao
42d3c49fea refactor: change file name 2021-08-14 00:17:50 +08:00
jdhao
f9feafa5bb Use barbar.nvim for tabline 2021-08-13 02:05:13 +08:00
jdhao
8e33deac23 update vim-airline settings 2021-08-09 22:57:40 +08:00
jdhao
6205a913b7 Neovim --> Nvim 2021-08-08 22:51:01 +08:00
jdhao
fe26dfa9c1 Use custom git branch name for vim-airline
Airline relies on fugitive to get the branch name, but fugitive is
conditionally loaded. So the branch name is not shown. We need to
provide our own function to get the branch name.
2021-08-08 22:06:47 +08:00
jdhao
7ecfdda8ff Move packer compile autocmd to new place 2021-08-07 21:47:37 +08:00
jdhao
644e8af39f refactor: set all custom highlight in one function 2021-08-07 21:33:00 +08:00
jdhao
8dffa8bd23 chore: formatting and fix spell errors 2021-08-07 03:15:22 +08:00
jdhao
d434627738 Fix: the loading condition for fugitive is wrong
We should load fugitive in the following two situations:

+ When we open nvim in a Git repository
+ When we are inside nvim and change the working directory to a Git
  reposity
2021-08-07 02:32:12 +08:00
jdhao
0283382f6e update airlinethemes
+ Remove jellybeans and luna (they look terrible for ZOC terminal)
+ Add more themes
2021-08-05 23:01:51 +08:00
jdhao
c4d050e99d Use nvim-notify for showing messages 2021-08-05 01:57:35 +08:00
jdhao
4d3c038cb5 Remove neodark theme
It does not have good highlight for Markdown links.
2021-08-04 01:57:51 +08:00
jdhao
9f8e36399a update vista settings
Remove double click mapping since it is added natively by vista
2021-08-04 00:34:44 +08:00