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
jdhao
36711d4a46
update registers.nvim settings
2021-09-09 15:55:25 +08:00
jdhao
113eaa46f8
vim-toml use main branch as default
2021-09-07 23:14:46 +08:00
jdhao
efe1a48dce
update cpp snippet
2021-09-07 00:13:32 +08:00
jdhao
a78fc16c2d
update wildignore and backupskip settings
2021-09-06 23:47:55 +08:00
jdhao
4694d80974
update Linux install script
2021-09-04 02:29:07 +08:00
jdhao
f9e9411ee5
update delimitMate setting for Python
2021-09-03 00:10:05 +08:00
jdhao
b4d320ccd3
update cpp snippets
2021-09-02 23:29:41 +08:00
jdhao
83719b7827
update zen-mode.nvim settings
...
FileType autocmd may be triggered unexpectedly so that ZenMode command
is called at the wrong time.
2021-09-01 01:32:46 +08:00
jdhao
f74ed11034
Make more plugins as opt plugins
2021-08-31 23:06:37 +08:00
jdhao
69ab27e076
update README
2021-08-30 01:08:31 +08:00
jdhao
4f07f06e31
Add plugin zen-mode.nvim
2021-08-30 00:47:58 +08:00
jdhao
fcfada7a89
Move vimSum to opt
2021-08-28 00:59:43 +08:00
jdhao
abc40fc42f
only use treesitter for macOS
2021-08-28 00:36:41 +08:00
jdhao
3c047c8674
update bufferline.nvim settings
2021-08-27 23:08:57 +08:00
jdhao
65731b60b4
Make more plugins opt
2021-08-27 00:51:56 +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
470e35439a
Remove chadTree
...
I rarely use it and it is updated everyday with a meaningless bot, which
is really annoying for me.
2021-08-25 22:41:38 +08:00
jdhao
9b888f0f1a
Revert "fix: loading order not correct for committia and vim-fugitive"
...
This reverts commit 236462864f .
committia does not depends on vim-fugitive.
2021-08-25 22:27:04 +08:00
jdhao
673603e01b
No need to use packadd for packer
...
It is a start plugin that will be loaded automatically.
2021-08-25 22:22:56 +08:00
jdhao
6093b77cd0
update spell file
2021-08-25 21:53:43 +08:00
jdhao
236462864f
fix: loading order not correct for committia and vim-fugitive
2021-08-25 21:52:27 +08:00
jdhao
4c76932e56
fix typo: require --> requires
2021-08-25 21:48:08 +08:00
jdhao
9f2b846011
Add treesitter parser for vim script again
2021-08-23 22:50:30 +08:00
jdhao
06ad26ce44
update macOS update script
2021-08-22 15:29:55 +08:00
jdhao
3ae5e1e354
Remove vim parser for treesitter
...
It is not yet usable: the highlighting is not good compared to regex
based highlighting.
2021-08-22 15:29:00 +08:00
jdhao
81b6a5e207
Enable treesitter highlight for Vim script, closes #17
2021-08-22 02:08:33 +08:00
jdhao
008831e5c2
update cpp snippets
2021-08-22 01:12:44 +08:00
jdhao
13cc96c00b
chore: nvim-bufferline.lua has been renamed to bufferline.nvim
2021-08-21 20:43:25 +08:00
jdhao
1ed5220ae9
Do not auto-pair <> for C++
2021-08-21 01:02:19 +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
bac94b47a0
Format with stylua
2021-08-18 01:43:08 +08:00
jdhao
61d6045e67
Try chadtree :) fast as fuck?
2021-08-17 22:55:53 +08:00
jdhao
7fc6af04ee
update neoscroll config
2021-08-17 22:50:06 +08:00
jdhao
0a78be783b
update vim-airline settings
2021-08-16 00:16:01 +08:00
jdhao
d7b89e92fe
Update README
2021-08-15 01:32:53 +08:00
jdhao
c2968eeda4
Use neoscroll instead of vim-smoothie
2021-08-15 01:32:23 +08:00
jdhao
9f0fe39727
Change bufferline plugin to nvim-bufferline
...
It looks better than barbar.nvim, IMO.
2021-08-15 00:41:05 +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
4f9fbc6092
update barbar.nvim settings
2021-08-14 00:15:56 +08:00
jdhao
4f25c7323e
update treesitter settings
...
TS highlighting for bash is not so good.
2021-08-14 00:01:09 +08:00
jdhao
fd354680c0
update barbar.nvim settings
2021-08-13 23:27:52 +08:00
jdhao
fa203cf3b8
feat: make :edit command supports file glob patterns
2021-08-13 23:27:17 +08:00
jdhao
f9feafa5bb
Use barbar.nvim for tabline
2021-08-13 02:05:13 +08:00
jdhao
6e1ae51474
Fix: remove logging
2021-08-13 01:19:47 +08:00
jdhao
70d7f3aea5
Add Redir command to capture command output easily
2021-08-13 01:17:57 +08:00
jdhao
37e9487076
Use delimitMate instead of auto-pairs
2021-08-12 00:51:44 +08:00
jdhao
082a8ab6b5
refactor: rename on_attach to custom_attach
2021-08-12 00:30:07 +08:00
jdhao
9c9e1d639c
Add sumneko_lua LSP
2021-08-12 00:12:07 +08:00
jdhao
65d7d88009
update spell file
2021-08-09 23:16:38 +08:00
jdhao
0aa6117ffc
Move ftplugin to after/ftplugin
...
Make my own settings have the final say on how a filetype should behave,
instead of some 3rd party plugins.
2021-08-09 23:04:27 +08:00
jdhao
69c22793e1
update nvim-bqf settings
2021-08-09 23:01:21 +08:00
jdhao
8e33deac23
update vim-airline settings
2021-08-09 22:57:40 +08:00
jdhao
e0c4b9d8d9
update vim-anzu and vim-cool settings
...
We shouldn't set them as opt, otherwise *, and n , N etc. do not work in
normal mode, unless we activate them on CmdlineEnter events.
2021-08-09 22:53:53 +08:00
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