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: ecac148e19
2021-05-15 23:56:34 +08:00
jdhao
a53cd6766d
update indent-blankline settings
2021-04-21 22:35:45 +08:00
jdhao
7dc2656354
Remove cursorline
2021-04-14 22:02:44 +08:00
jdhao
20619c8c8e
Tweak lua stuff
2021-04-14 02:14:35 +08:00
jdhao
b8329b9698
update vim-fugitive settings
2021-04-13 22:53:31 +08:00
jdhao
b862a40337
Add more plugins
2021-04-13 00:28:16 +08:00
jdhao
2933d7da62
Move lua config to its own lua files
...
Embedding lua in vimscript using lua here doc is not ideal for
editing.
2021-04-12 00:00:10 +08:00
jdhao
1a16156bd6
Make nvim-compe setting all lua
...
For lua plugins, configuring them in lua instead of vim script is sensible.
2021-04-11 23:49:17 +08:00
jdhao
aeea5f18f5
update nvim-lsp config
2021-04-09 23:40:52 +08:00
jdhao
82a97710c8
Disable unused provider
2021-04-09 23:05:38 +08:00
jdhao
38e2b73408
update nvim-compe settings
2021-04-09 00:29:18 +08:00