Commit Graph
100 Commits
Author SHA1 Message Date
jdhao 84ddd0c5f6 Remove number from spell suggestion
It seems that adding number to the default spell suggestion (fast) will
make Neovim super slow when we press z= for spell suggestions. Without
that number, Neovim will be super responsive. See also vim/vim#4087.
2021-01-17 23:46:34 +08:00
jdhao c81d148627 Update markdown snippets 2021-01-13 22:55:20 +08:00
jdhao 4c348b6eb6 update 2021-01-12 23:10:56 +08:00
jdhao e4ef4fa6ea Fix bug for text object for the entire buffer 2021-01-12 23:01:49 +08:00
jdhao 61d42ed550 update spell files 2021-01-10 11:05:04 +08:00
jdhao 17caa00b6e Remove gv.vim
Its feature may be replaced by Glog command provided by vim-fugitive
2021-01-09 18:31:49 +08:00
jdhao edac49ab62 Add blamer.nvim 2021-01-09 18:30:11 +08:00
jdhao b7ce7eed4a update resource doc 2021-01-09 14:14:56 +08:00
jdhao 02b15f057f Update nvim setup script 2021-01-08 22:53:21 +08:00
jdhao 6b11495412 Update mappings 2021-01-06 23:08:08 +08:00
jdhao a789afde98 update 2021-01-05 22:47:55 +08:00
jdhao 9c88f3e34e Add OSC 52 terminal sequence support via plugin 2021-01-05 22:43:37 +08:00
jdhao b2a16e5780 update vim-lsp settings
Some vim-lsp config options are renamed.
2021-01-05 22:42:54 +08:00
jdhao d8e99e51f0 Remove tools directory
I use vista now. No need to use this for showing Markdown TOC since it
is for use with tagbar.
2021-01-02 15:22:58 +08:00
jdhao 0cac1585dd Add colorscheme gruvbox-material 2021-01-02 15:22:15 +08:00
jdhao 6a5620c254 update 2020-12-31 10:23:29 +08:00
jdhao 9dc65fe118 update doc 2020-12-29 23:01:07 +08:00
jdhao f2df367d61 Remove git-messenger.vim
It does not work for git version below 1.8.5 (which is what CentOS 7.4
has by default), since it requires -C option. See also
rhysd/git-messenger.vim#67.
2020-12-26 22:42:52 +08:00
jdhao cc312a55bc Update airline settings 2020-12-25 22:05:46 +08:00
jdhao 2c89db8c4b Update gruvbox8 colorscheme settings 2020-12-24 22:39:31 +08:00
jdhao cfebb79637 Add tokyonight colorscheme 2020-12-24 22:38:06 +08:00
jdhao fa28ef1b90 Remove toast colorscheme
Too dark to fit my taste.
2020-12-23 23:09:32 +08:00
jdhao 7ed2607371 Remove srcery colorscheme
Does not work well for zoc terminal.
2020-12-21 23:27:03 +08:00
jdhao 21cff3e527 Remove humanoid colorscheme
Signify signs are barely readable.
2020-12-20 23:12:58 +08:00
jdhao 8be2d18ac0 Add edge and sonokai colorscheme 2020-12-20 00:18:57 +08:00
jdhao eb0c63c175 Make a plugin for leaving insert mode 2020-12-16 01:33:03 +08:00
jdhao c3cdad554b remove sublimemonokai colorscheme
Does not work well for markdown inline links.
2020-12-10 23:33:29 +08:00
jdhao 9ff833e1ef add plugin vimSum 2020-12-09 23:22:48 +08:00
jdhao b65846a454 remove material.vim colorscheme
Visual selection is barely visible.
2020-12-07 23:20:07 +08:00
jdhao bfc33716c7 update 2020-12-03 22:21:48 +08:00
jdhao 34de7711aa add humanoid color scheme 2020-12-03 22:20:14 +08:00
jdhao c8582e2ac1 remove prosession settings 2020-12-03 22:15:27 +08:00
jdhao 57e12dc4cb add more resources 2020-12-02 22:37:34 +08:00
jdhao 1f0f1820e2 add humanoid colorscheme 2020-12-02 22:28:50 +08:00
jdhao fd684db78f Remove vim-prosession (does not work well for me) 2020-12-02 22:24:13 +08:00
jdhao 25ed627870 add plugins to manage session files 2020-12-02 00:23:11 +08:00
jdhao 1f9eb8b0d7 No need to set background to dark (it is the default)
It also increases the Neovim startup time.
2020-11-30 22:07:18 +08:00
jdhao ee97e2e4dd update colorscheme sublimemonokai 2020-11-28 23:24:10 +08:00
jdhao 7af18765b3 remove some color schemes 2020-11-28 22:35:07 +08:00
jdhao fcd4ae3210 remove some plugins, they do not work well for markdown 2020-11-28 18:35:41 +08:00
jdhao e79f55fd9b update commentstring for cpp 2020-11-27 23:55:18 +08:00
jdhao 42751cb1dd make mapping buffer local 2020-11-26 21:13:07 +08:00
jdhao 113996452c update 2020-11-25 22:24:56 +08:00
jdhao d592c661bc update 2020-11-25 22:23:24 +08:00
jdhao e5bde8462a only use vim-lsp-cxx-highlight if we have ccls 2020-11-25 22:20:48 +08:00
jdhao 4a4c85f903 format 2020-11-25 21:37:23 +08:00
jdhao 2b77a8b9de update ALE and Neoformat settings
Disable ALE for C++/C linting since we use ccls.
2020-11-25 21:34:34 +08:00
jdhao 283356ee52 Initial support for C++ 2020-11-25 01:07:50 +08:00
jdhao 9a7ac4c9d1 Using jk to escape insert mode without lagging.
See https://jdhao.github.io/2020/11/23/neovim_better_mapping_for_leaving_insert_mode/.
2020-11-24 22:55:39 +08:00
jdhao 3e25d9283e update doc 2020-11-24 22:54:54 +08:00
jdhao 647a2616f0 add text objects for entire buffer 2020-11-21 23:26:09 +08:00
jdhao 6b192cecbd update vista config 2020-11-19 22:45:47 +08:00
jdhao 4c6c3e5e68 enable fuzzy completion for pyls 2020-11-16 22:35:10 +08:00
jdhao 04ede68669 update markdown snippets 2020-11-15 20:19:10 +08:00
jdhao 2ad432088f move function to autoload dir 2020-11-14 14:29:37 +08:00
jdhao b5087e3665 update deoplete settings 2020-11-13 22:13:24 +08:00
jdhao 283d3a8b7b update vim-markdownfootnote settings 2020-11-12 22:40:09 +08:00
jdhao 92bf71ac77 Add text objects for Markdown fenced code blocks. 2020-11-12 21:56:44 +08:00
jdhao f68fa62e86 Move text object to autoload directory 2020-11-12 21:45:55 +08:00
jdhao 6322fed221 update xmap for visual mode mappings 2020-11-12 21:31:48 +08:00
jdhao 1856ee39e6 handle multiple URL text objects in the same line. 2020-11-12 21:24:39 +08:00
jdhao 49f533b153 Fall back to defaul URL detection if highlighturl not available. 2020-11-12 00:39:24 +08:00
jdhao b361fc4053 feat: add iu text object for URL (no au provided)
Usage:
select current URL: viu
yank current URL: yiu
delete/change current URL: diu/ciu
2020-11-12 00:22:51 +08:00
jdhao 3178f89c2f update signcolumn option
For git project, diagnostics and git gutter sign may fight each other if
sign column is not wide enough.
2020-11-10 23:14:58 +08:00
jdhao bcdb988dc1 ignore font files in leaderf 2020-11-09 23:04:59 +08:00
jdhao c1203e5f25 more ignore files 2020-11-09 23:03:23 +08:00
jdhao 2502d17b8f update 2020-11-09 00:21:12 +08:00
jdhao ba3254bd65 refactor: move titlestring method to autoload dir 2020-11-08 22:20:40 +08:00
jdhao 99cedb6c94 Do no show file time for not listed buffers. 2020-11-08 20:02:30 +08:00
jdhao badaed84ca change capital case variable to lower case 2020-11-08 19:34:14 +08:00
jdhao 61a816e7ce Add Vlime settings 2020-11-08 19:33:23 +08:00
jdhao 0dcf946883 update doc 2020-11-07 00:00:23 +08:00
jdhao 7dc6ea159b update documentation and install script for Linux 2020-11-06 23:54:26 +08:00
jdhao 0b80636fe3 update vim-lsp settings 2020-11-06 22:41:27 +08:00
jdhao 94561247a9 Fix the issue that inccommand breaks one-line if-else statement
See also https://github.com/neovim/neovim/issues/8796
2020-11-06 22:33:41 +08:00
jdhao 114b3b9e45 formatting 2020-11-06 00:35:15 +08:00
jdhao 7a5c7c7500 formatting 2020-11-05 01:57:38 +08:00
jdhao b505e98e52 update vim-lsp setting 2020-11-05 00:15:31 +08:00
jdhao 3e10e4ac81 The correct setting for flake8 in pyls 2020-11-05 00:14:14 +08:00
jdhao 74e9290cb0 set up vim-language-server for vim-lsp 2020-11-04 02:28:50 +08:00
jdhao 9f1530cdf8 remove airline tagbar settings 2020-11-03 23:53:06 +08:00
jdhao cad429e721 drop deoplete-jedi and jedi-vim, use LSP instead (powered by vim-lsp). 2020-11-03 23:51:36 +08:00
jdhao c2d319803d update gutentags settings 2020-11-03 01:39:46 +08:00
jdhao 2b1b1d4e91 update vim-startify settings 2020-11-01 19:15:02 +08:00
jdhao f14c481b30 update location for gutentags-generated tags 2020-11-01 19:07:44 +08:00
jdhao 6e2c98f401 enable airline gutentags extension 2020-11-01 18:42:24 +08:00
jdhao ad0b12290a exclude some files when using gutentags to generate the tag file.
This is the correct way.
2020-11-01 17:38:09 +08:00
jdhao 7bed2c4550 update wildignore settings 2020-11-01 17:37:16 +08:00
jdhao 76393d321d Disable gutentags for certain files. 2020-11-01 03:10:34 +08:00
jdhao 9b162ebab0 update README 2020-10-31 15:04:13 +08:00
jdhao 53683e53bb Hide the annoying ~ at the end of current buffer.
See also https://github.com/neovim/neovim/issues/2067.
2020-10-31 14:56:34 +08:00
jdhao d0827ae776 move custom settings to core/ directory 2020-10-31 01:13:09 +08:00
jdhao bbceffe9cf change happy_hacking colorscheme URL 2020-10-31 00:37:20 +08:00
jdhao dbe24697f3 Move vim-plug installation outside of config.
It is a one-time thing. Do not waste precious time checking it every
time we start Nvim.
2020-10-31 00:34:15 +08:00
jdhao b1f07af6fe update init.vim 2020-10-29 21:59:25 +08:00
jdhao 829fb82066 remove two mappings
Rarely used, and ctrl-u conflict with an already defined mapping.
2020-10-29 21:53:28 +08:00
jdhao 3a3dd4b372 update fvim settings
See also https://github.com/yatli/fvim/issues/164.
2020-10-29 21:50:49 +08:00
jdhao fc53a24ef4 fix minor issue 2020-10-28 02:11:23 +08:00
jdhao f0756d8e3d update toast colorscheme 2020-10-28 02:09:16 +08:00
jdhao 34d3fccb24 move Vim learning resources to seprate files 2020-10-26 22:40:09 +08:00