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

901 Commits

Author SHA1 Message Date
jdhao
092ea88703 bump minimum supported nvim version to 0.6.1 v0.6.1 2022-01-02 11:26:32 +08:00
jdhao
67d59bfc2c docs: add section on custom commands 2021-12-31 12:30:23 +08:00
jdhao
77a5dfacd6 fix: broken link in README 2021-12-31 12:17:51 +08:00
jdhao
1373c418b9 restore reg content after using it 2021-12-30 23:39:42 +08:00
jdhao
e82b450464 split command output to list of string and set the buffer 2021-12-30 23:39:03 +08:00
jdhao
08818dbf01 remove logging 2021-12-30 23:38:49 +08:00
jdhao
0ed8814aef fix: command output captured by a register not formatted properly
Newline is converted to NUL character, which is nasty, see also https://vi.stackexchange.com/q/6697/15292.
2021-12-30 22:33:39 +08:00
jdhao
a86f1d2f31 refactor: capture command output silently 2021-12-30 22:33:06 +08:00
jdhao
c1b27ee818 fix url link in README 2021-12-29 23:34:59 +08:00
jdhao
7eb7b4450f update README 2021-12-29 23:33:07 +08:00
jdhao
5443078805 g:mapleader 2021-12-29 00:42:00 +08:00
jdhao
dcffbf9a71 fix: lsp reference highlight isn't correctly linked
! is need to overwrite possible existing highlight group of the same
name.
2021-12-28 23:49:43 +08:00
jdhao
85de00f374 refactor: resume edit position --> resume cursor position 2021-12-28 00:11:10 +08:00
jdhao
9adc3fdf16 remove double quotes for snippet trigger 2021-12-23 22:41:16 +08:00
jdhao
6cf31e2dcb add colorscheme kanagawa 2021-12-23 22:36:29 +08:00
jdhao
08d3d7ec08 fix bug in go to last edit position
If a go-to-line command is given, do not go to last edit position for
the file.
2021-12-20 22:15:34 +08:00
jdhao
ed52ca5914 add ref for checking IME state 2021-12-19 20:54:13 +08:00
jdhao
1d0609f753 change SPELL location on statusline 2021-12-19 20:53:09 +08:00
jdhao
56a43e4009 show IME on statusline on macOS 2021-12-19 20:52:23 +08:00
jdhao
22c7c6ee05 update plugin.lua 2021-12-19 19:55:00 +08:00
jdhao
3d0f00e7e4 update README 2021-12-16 23:31:13 +08:00
jdhao
bbd642af1a renaming variables 2021-12-15 00:21:34 +08:00
jdhao
5215a601b9 update fold conf for vim script
When setting foldlevel to 0 and load some plugin via InsertEnter event
using packer.nvim, if we press i to go to insert mode, the fold for vim
script file will be automatically closed. It is really annoying.

I have pinpoint the issue to the combination of packer.nvim and setting
foldlevel to 0 in after/ftplugin/vim.vim. What is interesting is that
default value for foldlevel is also 0. However, if we do not set it in
vim.vim, the above issue won't occur, which is strange.
2021-12-14 21:48:58 +08:00
jdhao
9bac7fa4f7 refactor: remove folding for init.vim 2021-12-14 21:47:59 +08:00
jdhao
06910bac87 remove plugin vim-cool
nvim-hlslens can replace it if calm_down option is enabled.
2021-12-12 17:30:11 +08:00
jdhao
85427c6424 remove plugin semshi 2021-12-12 16:47:58 +08:00
jdhao
cf9761e9a3 update plugin load condition 2021-12-11 18:15:24 +08:00
jdhao
7d3647ac61 remove oo and OO normal mode mapping 2021-12-11 15:47:15 +08:00
jdhao
a466339092 update nvim-hlslens settings 2021-12-11 15:46:25 +08:00
jdhao
6fb30f0cf2 use en_US.utf-8 as default 2021-12-10 22:52:03 +08:00
jdhao
9b41825c2c update lualine conf
diagnostic interface change
2021-12-10 22:51:06 +08:00
jdhao
e9319b0460 update README 2021-12-10 00:48:19 +08:00
jdhao
49596fb5ab update README 2021-12-09 21:41:59 +08:00
jdhao
1d3552860b update nvim setup script for Linux, closes #31 v0.6 2021-12-08 23:24:46 +08:00
jdhao
17a9488ba7 make impatient.nvim the first plugin 2021-12-06 21:23:59 +08:00
jdhao
683008dac0 update indent-blankline conf 2021-12-06 12:27:00 +08:00
jdhao
9ee4f46240 lazyload lua plugins 2021-12-06 12:26:44 +08:00
jdhao
7735a33a59 remove plugin gutentags
I rarely use it.
2021-12-06 11:40:45 +08:00
jdhao
aacbf56ee5 tweak lualine conf 2021-12-06 11:11:27 +08:00
jdhao
a7be6a58a4 update spell file 2021-12-05 19:51:36 +08:00
jdhao
3432dbbb63 update lualine conf 2021-12-05 16:54:29 +08:00
jdhao
c652796da1 add mixed indent detection for lualine 2021-12-05 16:18:10 +08:00
jdhao
8e46441a36 update lualine conf 2021-12-05 16:09:21 +08:00
jdhao
4d497ec8a7 update lualine conf 2021-12-05 14:59:08 +08:00
jdhao
752dbcbe2d remove mentioning of vim-airline 2021-12-05 14:33:59 +08:00
jdhao
0be331b28e replace vim-airline with lualine
Lualine is now feature-rich and faster than vim-airline.
2021-12-05 14:25:37 +08:00
jdhao
fcfd1e4437 update hop.nvim conf 2021-12-05 14:08:39 +08:00
jdhao
b9efd2b40f update fugitive conf 2021-12-05 11:21:57 +08:00
jdhao
dd61f1da8c more fugitive shortcut 2021-12-05 11:20:34 +08:00
jdhao
9e6a71c32d update cpp snippet 2021-12-04 23:47:50 +08:00