jdhao
08d3768e40
Add more resources
2021-08-09 01:43:07 +08:00
jdhao
2b6e229ee1
Add plugin nvim-bqf
2021-08-08 23:27:37 +08:00
jdhao
6205a913b7
Neovim --> Nvim
2021-08-08 22:51:01 +08:00
jdhao
de7b35e0de
change plugin load condition
...
vim-searchlight needs to work when we press n or N or * etc, not just
after pressing / and ?.
2021-08-08 22:37:12 +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
1ead4f7824
Change plugin load condition
2021-08-08 22:04:56 +08:00
jdhao
ac4bb6c162
Change ultisnips load condition
...
Benefit of doing this:
+ No change of cursor line position after entering insert mode. Previous,
if we load ultisnips on InsertEnter, the cursor line will moved
automatically (e.g., if cursor line is on bottom of the screen, when
we enter insert mode, now we are at the middle of the screen, like
Ctrl-E is used before entering insert mode), which is really annoying!
+ We can see the snippets in nvim-compe auto-completion menu. Previously,
the snippets are not shown on the nvim-compe completion menu (snippet
expansion works though, it is just we can not see snippets in the
completion menu), possibly due to the loading order of ultisnips and
nvim-compe, because we load them both on event InsertEnter. After
changing ultisnips to a start plugin, this issue is gone.
2021-08-08 21:34:03 +08:00
jdhao
88b0b89510
Remove image folder
2021-08-07 21:50:11 +08:00
jdhao
f690cdbf1d
Better way to call lua function inside vim script
2021-08-07 21:48:28 +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
e348ca93b4
More demo
2021-08-07 14:35:02 +08:00
jdhao
953a7d431b
Update README
2021-08-07 14:30:16 +08:00
jdhao
c5444de853
Update README
2021-08-07 14:26:49 +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
0830dfcf90
Add installation script for Windows, update doc
2021-08-06 00:22:32 +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
7c8f3b1e21
Use Hack nerdfonts for GUI nvim
2021-08-05 22:56:59 +08:00
jdhao
a2c8abbbea
update README
2021-08-05 02:12:35 +08:00
jdhao
140509de29
update README
2021-08-05 02:10:01 +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
5acfa519df
update setup and install script
2021-08-02 00:32:44 +08:00
jdhao
36fa9f91e1
Add update script for macOS
2021-08-02 00:25:25 +08:00
jdhao
42c564019e
Rename setup script for Linux
2021-08-02 00:25:05 +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
55f0e34e3a
chore: update docs and code for markdown list function
2021-07-31 21:14:44 +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
e4cfefe76b
chore: remove trailing sapces
2021-07-30 01:50:20 +08:00
jdhao
3f0c6650f2
Update load condition for vim-fugitive
...
See https://stackoverflow.com/a/38088814/6064933 for how to check if we
are inside a Git repository.
2021-07-29 23:11:30 +08:00
jdhao
c8777db448
update nvim-lsp settings
...
We shouldn't let the diagnostic window perstist forever. Close the
diagnostic windows when certain events happen.
2021-07-29 22:31:36 +08:00
jdhao
13dc38343e
update packer settings for fugitive.vim
2021-07-29 00:10:04 +08:00
jdhao
84680878a2
use vim.cmd instead of vim.api.nvim_exec
2021-07-29 00:09:42 +08:00
jdhao
3cdb08c5f1
update flog setting (make it opt)
2021-07-27 00:02:06 +08:00
jdhao
7ff53d1b91
update fugitive settings
2021-07-27 00:01:45 +08:00
jdhao
69e9a6b872
Add plugin vim-flog for better git-log display
2021-07-26 23:54:25 +08:00
jdhao
22e17f77c1
update python snippets
2021-07-26 00:14:34 +08:00
jdhao
9a31a24a25
update readme
2021-07-25 16:44:16 +08:00
jdhao
89284cf903
update README
2021-07-24 23:19:06 +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
edd74337a9
Use vim.cmd instead of vim.api.nvim_exec
2021-07-24 12:45:54 +08:00
jdhao
4ff301a728
Add committia.vim for better git commit experience
...
It can show git diff in a separate split, which is better than git
commit --verbose.
2021-07-24 01:38:54 +08:00
jdhao
f7a84825ad
vim-tmux-focus-events is now obsolete
...
See also b1330e04ff
2021-07-24 01:31:09 +08:00