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

220 Commits

Author SHA1 Message Date
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
jdhao be8c917beb Add more mappings
Credit: https://www.youtube.com/watch?v=hSHATqh8svM
2021-08-02 23:46:00 +08:00
jdhao 000e3a6f23 update wilder.nvim settings 2021-08-01 15:55:15 +08:00
jdhao 6996b6b24f ALE is not needed (use nvim-lsp instead) 2021-08-01 00:46:00 +08:00
jdhao 9a1066b4e9 Add wilder.nvim for cmdline auto-completion 2021-08-01 00:43:24 +08:00
jdhao ce5710be00 update airline themes 2021-07-30 01:59:03 +08:00
jdhao 116be0f851 Add doom-one colorscheme 2021-07-30 01:58:47 +08:00
jdhao 7ff53d1b91 update fugitive settings 2021-07-27 00:01:45 +08:00
jdhao f7475f3e4f Refactor: use a unified log function 2021-07-24 14:53:48 +08:00
jdhao b0eb7c4508 Simplify file reload logic 2021-07-24 13:11:24 +08:00
jdhao fae45c5dc8 Clean the code 2021-07-24 01:18:15 +08:00
jdhao 081763697b Remove plugin vim-titlecase
I cann't even remember when I used it last time.
2021-07-24 01:12:18 +08:00
jdhao d8d1401a78 Move options to one place 2021-07-19 22:52:59 +08:00
jdhao d7ad230e01 change onedark theme to onedark.nvim 2021-07-17 01:49:15 +08:00
jdhao dc6a510526 Update nvim-lspconfig settings
1. Customize document hover window border color.
2. Show also the source that generates a certain diagnostic message.
2021-07-17 00:22:33 +08:00
jdhao 4689c4b22f Use lua to configure lua plugins 2021-07-14 00:51:30 +08:00
jdhao 3dce4506eb update packer and plugin settings 2021-07-09 23:31:44 +08:00
jdhao 00f49a2667 Add backup for files 2021-07-09 22:29:30 +08:00
jdhao 2115591394 No need for nvim-miniyank
Block paste issue fixed in https://github.com/neovim/neovim/pull/14848.
2021-07-07 00:28:56 +08:00
jdhao 0de6932a7b Change vim-airline settings
When init.vim is sourced, runtimepath has been changed yet. So we can
not find vim-airlinethemes under runtimepath.
2021-07-06 23:07:33 +08:00
jdhao cfd23901a9 Update firenvim-related settings 2021-07-06 22:43:36 +08:00
jdhao 84a2efbc10 update register.nvim settings 2021-07-06 21:54:56 +08:00
jdhao 4a74cd499d update register.nvim settings
See also https://github.com/tversteeg/registers.nvim/issues/30.
2021-07-05 23:25:35 +08:00
jdhao f47d8dc55e Add plugin register.nvim 2021-07-05 01:13:09 +08:00
jdhao 1f461dcf91 Add colorscheme nord 2021-07-04 17:18:54 +08:00
jdhao 83ef151e36 switch to packer for plugin management 2021-07-02 01:30:47 +08:00
jdhao 7d2afbaa60 update better-escape.vim settings 2021-06-26 16:36:10 +08:00
jdhao ea733e6086 clean mappings 2021-06-26 11:25:56 +08:00
jdhao 753a4ce77c Switch to clangd for nvim-lsp
ccls has some false positive warnings, and it is hard to install on
Linux server without roor rights.
2021-06-26 11:06:43 +08:00
jdhao 7c9c152368 Update mappings.vim 2021-06-19 11:05:35 +08:00
jdhao 1869ffe4d3 Update vim-airline settings
Disable the scrollbar feature. It is distracting.
Ref: https://github.com/vim-airline/vim-airline/commit/ecac148e19fe28d0f13af5f99d9500c2eadefe4c
2021-05-15 23:56:34 +08:00