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
7ecfdda8ff
Move packer compile autocmd to new place
2021-08-07 21:47:37 +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
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
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
116be0f851
Add doom-one colorscheme
2021-07-30 01:58:47 +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
13dc38343e
update packer settings for fugitive.vim
2021-07-29 00:10:04 +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
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
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
ba490516e7
Fix fugitive git index related error for packer.nvim
2021-07-18 18:00:40 +08:00
jdhao
6ed7a50ac8
Remove usage of VimEnter event for packer.nvim
...
VimEnter can not really decrease the Nvim startup time.
2021-07-18 18:00:25 +08:00
jdhao
d7ad230e01
change onedark theme to onedark.nvim
2021-07-17 01:49:15 +08:00
jdhao
4689c4b22f
Use lua to configure lua plugins
2021-07-14 00:51:30 +08:00
jdhao
9c434b472e
update packer.nvim settings
...
Change matching pattern so that we do not confuse this plugins.lua with
files of the same name in other path.
2021-07-13 01:34:18 +08:00
jdhao
9004e09b76
update semshi settings
...
Only use it on Windows. Treesitter highlighting may be enough.
2021-07-13 01:06:06 +08:00
jdhao
bc0a08394b
Add treesitter
2021-07-12 23:47:11 +08:00
jdhao
a489b67cdd
update onedark install settings for packer
...
Onedark decides to change its master branch to main (I don't know why?)
2021-07-12 23:20:06 +08:00
jdhao
3dce4506eb
update packer and plugin settings
2021-07-09 23:31:44 +08:00
jdhao
a694d00820
update packer.nvim settings
...
Ref: https://github.com/wbthomason/packer.nvim/issues/455 .
2021-07-09 22:41:41 +08:00
jdhao
6b3e41419a
Ppdate packer settings for Semshi
...
If Semshi is set to opt plugin, when we run PackerUpdate, the command `:
UpdateRemotePlugins` will be run. At this time, Semshi is not in the
runtimepath, so its manifest will not be generated in rplugin.vim
(located under ~/.local/share/nvim/rplugin.vim). So when we open a
Python file afterwards, although Semshi is in runtimepath, but its
manifest is missing, so we see error that command `Semshi enable` is not
found.
So after loading this plugin, i.e., when we open a Python source file,
we need to run UpdateRemotePlugins so that semshi can work correctly.
2021-07-09 01:49:17 +08:00
jdhao
51264eab77
Correct order of vim-airline and vim-airline-themes.
...
No need to use event for vim-airline if we want to load it after
vim-airline-themes. See also https://github.com/wbthomason/packer.nvim/issues/461 .
2021-07-09 00:41:36 +08:00
jdhao
11644a3603
Change order of vim-airline and vim-airline-themes
...
It seems the order matters if we want to load vim-airline after
vim-airlinethemes. See also packer.nvim#461.
2021-07-08 23:51:16 +08:00
jdhao
3b25260be0
Update packer.nvim settings
2021-07-08 22:47:12 +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
9ddffc1c6b
update packer plugin settings
2021-07-06 22:44:05 +08:00
jdhao
02987f401d
Change auto-pairs activation event
...
It seems that BufReadPost does not work sometimes.
2021-07-05 23:16:38 +08:00
jdhao
f47d8dc55e
Add plugin register.nvim
2021-07-05 01:13:09 +08:00
jdhao
03f600d580
update packer settings
2021-07-04 17:54:47 +08:00
jdhao
896e13291c
update packer.nvim settings
2021-07-04 17:51:25 +08:00
jdhao
1f461dcf91
Add colorscheme nord
2021-07-04 17:18:54 +08:00
jdhao
2a01d3b59f
Revert "Add nvim-lspsignature"
...
This reverts commit ff9f9dcc162276bc59fdec29f78d244a6aca2cb1.
2021-07-04 14:50:34 +08:00
jdhao
ff9f9dcc16
Add nvim-lspsignature
2021-07-04 14:44:48 +08:00
jdhao
c1ba7af97e
Fix typo
2021-07-04 14:16:46 +08:00
jdhao
e75a0b31d8
update packer plugin settings
2021-07-04 04:23:16 +08:00
jdhao
82e2b1078d
Use master branch of indentblankline
2021-07-04 00:08:40 +08:00
jdhao
cbf682f234
More tweak on packer.nvim
2021-07-02 01:37:28 +08:00
jdhao
83ef151e36
switch to packer for plugin management
2021-07-02 01:30:47 +08:00