Commit Graph
100 Commits
Author SHA1 Message Date
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
jdhao 50fafcffdb update default value of option 'wrap' 2021-12-04 23:41:56 +08:00
jdhao b9f1d92564 use main branch of nvim-hlslens 2021-12-04 12:06:10 +08:00
jdhao dcde6bb47f reduce startup time using impatient.nvim 2021-12-03 22:42:32 +08:00
jdhao d04fce7bbc update Leaderf rg conf
Suppress permission denied error messages when grepping using ripgrep.
2021-12-02 22:57:41 +08:00
jdhao 39e5e1913f Add command :Datetime to show current time or translate a Unix timestamp 2021-12-02 22:06:40 +08:00
jdhao 80ceacbb02 fix vim.diagnostic.config() option name typo 2021-12-01 23:25:45 +08:00
jdhao 23e98aab6f [v0.6] update doc 2021-12-01 22:19:51 +08:00
jdhao 6069bd8922 [v0.6] update install script to use nvim v0.6 2021-12-01 22:19:03 +08:00
jdhao 402d4012d1 [v0.6] change LSP and diagnostic according to latest API 2021-12-01 22:10:24 +08:00
jdhao 22f16ee325 [v0.6] default value for option inccommand and joinspaces changed 2021-12-01 22:09:43 +08:00
jdhao ac69b61c03 [v0.6] backupdir will be created by default
No need to create the backupdir manually.
2021-12-01 22:08:45 +08:00
jdhao 0ad051b394 [v0.6] Y is mapped to y$ by default 2021-12-01 22:07:51 +08:00
jdhao 103e051d96 use man for command :Man 2021-11-28 15:17:36 +08:00
jdhao 17995b95a4 refactor: renaming function 2021-11-23 22:55:10 +08:00
jdhao 19cf6cca3c refactor theme loading 2021-11-23 22:43:12 +08:00
jdhao f996edf016 update LeaderF conf 2021-11-23 22:43:12 +08:00
jdhao 72d8cd07bc update nvim-notify conf 2021-11-23 22:43:12 +08:00
jdhao 1441601ddf remove plugin vim-searchlight
It can be replaced by nvim-hlslens
2021-11-23 22:43:12 +08:00
jdhao 7fe37ffd24 update linux setup script, closes #30 2021-11-23 22:42:17 +08:00
jdhao e05c93aaeb use branch dev of nvim-hlslens
Master version has a bug where text is wrongly highlighted.
2021-11-22 23:16:25 +08:00
jdhao 5ed4e3610a update linux setup 2021-11-22 21:47:04 +08:00
jdhao b96a3ce762 update snippets 2021-11-21 23:26:45 +08:00
jdhao b46a1e7055 reword warning msg 2021-11-21 15:57:41 +08:00
jdhao 927a57452c update packer-related instructions 2021-11-21 15:45:34 +08:00
jdhao af17364730 update hop.nvim conf 2021-11-17 23:19:36 +08:00
jdhao 46a465508a update snippets 2021-11-10 22:23:51 +08:00
jdhao e0c406a344 add cpp snippets 2021-11-08 21:57:21 +08:00
jdhao db3b0024a6 drop auto-remove trailing whitespaces
When working with legacy code which is not well formatted, it will cause
large undesirable diffs.
2021-11-07 13:32:06 +08:00
jdhao c9535a0feb make alpah-nvim opt 2021-11-07 13:30:47 +08:00
jdhao 2a0a92f134 change location of packer_compiled.lua
Putting this file under ~/.config/nvim/plugin may cause problems since
script under plugin/ will be loaded automatically.
2021-11-07 00:26:18 +08:00
jdhao 62b6226520 fix indent-blankline activation bug
When InsertLeave is triggered, we should check if we need to start
indent-blankline before enabling it.
2021-11-06 23:10:24 +08:00
jdhao bd92419bf9 remove lsp omnifunc conf
I never used it.
2021-11-06 20:05:54 +08:00
jdhao 6281322fce simplify lsp config 2021-11-06 20:03:21 +08:00
jdhao 538afe2fc6 update indent-blankline conf 2021-11-06 13:09:50 +08:00
jdhao bec5f11753 update doc 2021-11-06 13:02:29 +08:00
jdhao ffe588870d [breaking change] make it work for nvim 0.5.1
In nvim 0.5.1, the lsp handler signature has changed, see https://github.com/neovim/neovim/pull/15504
and LunarVim/LunarVim#1484.
2021-11-06 12:56:54 +08:00
jdhao 002ebf2f71 update hop.nvim conf 2021-11-05 20:53:09 +08:00
jdhao fee6b127e5 update indent-blankline conf 2021-11-05 20:52:57 +08:00
jdhao efd86f4467 change matchparen highlight 2021-11-05 20:52:39 +08:00
jdhao aad372caf0 more snippets 2021-11-04 00:05:09 +08:00
jdhao 49fc7f3dbc add mapping: keep cursor position after yanking 2021-11-03 22:55:40 +08:00
jdhao 573f9277cb change mapping to insert semicolon in insert mode 2021-11-03 22:55:22 +08:00
jdhao 4c59f8cb4a less timeout 2021-11-03 08:46:38 +08:00
jdhao f55b0022b3 more mapping 2021-11-03 08:46:09 +08:00
jdhao b96799f400 fix typo in snippets 2021-11-02 23:00:50 +08:00
jdhao 9b9bd9dd46 remove trailing whitespace on save 2021-11-02 22:49:02 +08:00
jdhao 8ebbec29d6 move whitespace utility into separate plugins 2021-11-01 23:38:44 +08:00
jdhao 2d27a699dc add iso time utils function 2021-11-01 22:39:36 +08:00
jdhao 51c19507b7 update LeaderF settings 2021-11-01 22:16:49 +08:00
jdhao 5ae2c7d1e0 remove redundant fold marks 2021-10-31 15:42:38 +08:00
jdhao 05c0ef1d60 update indent-blankline indent char 2021-10-31 15:42:09 +08:00
jdhao 199e003cf1 update README 2021-10-31 15:41:38 +08:00
jdhao b0e38bedd1 change matchup higlight 2021-10-31 02:09:47 +08:00
jdhao 59615a539c remove redundant snippets 2021-10-30 23:55:29 +08:00
jdhao 601a13acb1 update snippets 2021-10-30 23:10:40 +08:00
jdhao ff54203995 update Indent-blankline conf 2021-10-30 23:09:37 +08:00
jdhao 3d5301d0c3 make sure snippets's filetype is correct
The filetype of xxx.snippets is not decided until we enter Insert mode,
since ultisnips is lazy-loaded in Insert mode.
2021-10-30 23:07:47 +08:00
jdhao 80893e7e4a update cpp snippets 2021-10-30 22:53:39 +08:00
jdhao 5bf969e327 update doc 2021-10-30 01:29:03 +08:00
jdhao cdccb404b5 Merge branch 'master' of https://github.com/jdhao/nvim-config 2021-10-30 01:27:04 +08:00
jdhao e2efea79ba more cpp snippets 2021-10-30 01:26:38 +08:00
jdhao b6df22ee89 more cpp snippets 2021-10-30 01:24:08 +08:00
jdhao 49482b8ea0 change hop.nvim highlight 2021-10-29 23:33:57 +08:00
jdhao 317089d5aa update README 2021-10-29 23:33:43 +08:00
jdhao eef7718395 update leaderf settings 2021-10-29 01:48:25 +08:00
jdhao e56595c138 add plugin alpha-nvim 2021-10-29 01:48:10 +08:00
jdhao 0aa98524d3 add cmp-cmdline for consideration 2021-10-28 00:22:44 +08:00
jdhaoandGitHub 331a640585 Create FUNDING.yml 2021-10-28 00:18:36 +08:00
jdhao 0240925496 update cpp snippet 2021-10-27 23:49:07 +08:00
jdhao 7762916bc4 remove defer 2021-10-25 00:06:01 +08:00
jdhao e8d91b43ce show redir output in scratch buffer 2021-10-24 17:03:44 +08:00
jdhao ae98924048 update diff option 2021-10-24 16:15:06 +08:00
jdhao 4f752ab2c5 change airline conf 2021-10-24 01:37:40 +08:00
jdhao 51a004e865 add notification for Redir command 2021-10-23 20:57:00 +08:00
jdhao 841429da33 rename 2021-10-23 20:36:16 +08:00
jdhao f1ab285f11 update diffopt
Use historgram diff algorithm, which semes better at showing code
changes.
2021-10-23 20:32:33 +08:00
jdhao f56e267030 reformat 2021-10-23 17:42:27 +08:00
jdhao 9a5318c0e1 add plugin cmp-buffer 2021-10-23 17:40:38 +08:00
jdhao 9d40dce70e remove solarized color theme
It sucks for viewing diff.
2021-10-23 17:14:04 +08:00
jdhao 455ae8a8b9 change default logging level 2021-10-23 01:29:58 +08:00
jdhao e5d640daec simplify code 2021-10-23 01:29:39 +08:00
jdhao 2e69db6551 add global variable logging_level 2021-10-23 01:24:32 +08:00
jdhao e2a8687e48 update markdown snippets 2021-10-23 01:14:09 +08:00
jdhao 613e2fa489 add lspkind.nvim 2021-10-23 01:13:41 +08:00
jdhao 29c8e97338 reformat 2021-10-22 23:10:09 +08:00
jdhao 647cc833cc rename ui.vim --> themes.vim 2021-10-22 23:04:58 +08:00