Commit Graph
100 Commits
Author SHA1 Message Date
jdhao 8f4d4d9b49 update readme 2020-09-30 11:11:58 +08:00
jdhao 85c9c79dc9 Remove nerdtree, I rarely use it 2020-09-29 16:09:51 +08:00
jdhaoandGitHub ef9e87ec53 reduce yank highlight time 2020-09-28 20:55:28 +08:00
jdhaoandGitHub 61ab8b1466 change location to install vim-plug 2020-09-28 11:00:24 +08:00
jdhaoandGitHub f2dcfa7477 fix missing runtimepath issue
it seems that stdpath('data') is not in the runtimepath.
2020-09-28 10:58:34 +08:00
jdhao 749d2a57a7 update fugitive setting 2020-09-28 01:08:08 +08:00
jdhao f51de94531 add wildignore option 2020-09-28 00:27:25 +08:00
jdhao 23d6b3d0bc change wildmode option 2020-09-28 00:25:07 +08:00
jdhao 8fb0710afd remove some mappings I seldom use 2020-09-27 21:32:35 +08:00
jdhao cb478b5ce1 add ! for custom functions 2020-09-27 21:30:30 +08:00
jdhao 5c4223b27d add mapping to move single or multiple lines 2020-09-27 21:29:46 +08:00
jdhao 2d84307695 use match(), replace obscure regex-match notation 2020-09-27 20:57:02 +08:00
jdhao 2a566f8d76 update docs 2020-09-27 20:47:07 +08:00
jdhao dd8c3cd9c0 refactor: vim-plug install 2020-09-27 20:39:02 +08:00
jdhao e9c8c4c536 refactor: vim-plug install 2020-09-27 20:34:33 +08:00
jdhao a54a20d299 refactor: vim-plug install 2020-09-27 20:27:50 +08:00
jdhao a94be81fb5 update airline setting 2020-09-27 20:18:25 +08:00
jdhao a5ff42407b do not load menu(I have never used it) 2020-09-27 19:57:37 +08:00
jdhao 240520193a remove goyo (I rarely use it) 2020-09-27 19:45:59 +08:00
jdhao 9f344b0820 use g:is_win to check current system 2020-09-27 19:22:20 +08:00
jdhao c226973bd5 refactor: simplify if else 2020-09-27 19:20:42 +08:00
jdhao 32d69040d6 update vim-plug install logic 2020-09-27 19:16:55 +08:00
jdhao eb7df6b06c refactor: variable naming 2020-09-27 19:09:14 +08:00
jdhao 448d864eba change location of vim-plug 2020-09-27 19:06:22 +08:00
jdhao ab07e4069e use printf for string concatenation where needed 2020-09-27 18:46:12 +08:00
jdhao 233d6a2ba6 update docs 2020-09-26 20:35:49 +08:00
jdhao b65c7c6d70 change vim script style from 4-space indent to 2-space 2020-09-26 09:15:40 +08:00
jdhao c248ab02d4 turn tab to spaces 2020-09-26 08:48:39 +08:00
jdhao 4d367bb7eb update option.vim 2020-09-26 08:37:05 +08:00
jdhaoandGitHub 87cd752de2 remove colorcolumn option
we can set it per filetype
2020-09-25 11:30:28 +08:00
jdhao 7d748b550d update spell file 2020-09-24 23:13:24 +08:00
jdhao f86a851a9e fix doc syntax issues 2020-09-24 23:09:08 +08:00
jdhao 00cbed4cdc fix style issues as per vint 2020-09-24 23:01:10 +08:00
jdhao b0d5b9765e Merge branch 'master' of https://github.com/jdhao/nvim-config 2020-09-24 22:45:00 +08:00
jdhaoandGitHub 42a92ffd68 update LeaderF settings 2020-09-24 14:09:36 +08:00
jdhaoandGitHub d63481e787 remove search highlight toggle mapping 2020-09-24 11:17:43 +08:00
jdhaoandGitHub 31029ef933 Update Nvim_setup.sh 2020-09-23 15:22:28 +08:00
jdhaoandGitHub 1ebce655ab update fvim settings 2020-09-23 10:57:35 +08:00
jdhaoandGitHub 6ad5831400 remove guicursor setting
It seems that put guicursor setting here has no effect. The cursor color and shape won't change.
2020-09-23 10:27:27 +08:00
jdhaoandGitHub a86cc7a251 move guicursor setting to option.vim 2020-09-23 10:25:57 +08:00
jdhao 9a8126c357 update grammarous setting 2020-09-23 08:13:40 +08:00
jdhao d1b5076f9d move guicursor setting to ginit.vim 2020-09-22 22:25:23 +08:00
jdhaoandGitHub 98c81c1488 change yank highlight group 2020-09-22 16:54:00 +08:00
jdhaoandGitHub e2feb0c9f2 update highlight group for yank to Search
highlight group IncSearch is a little bit dim. I want the yank highlight to be brighter
2020-09-22 13:34:03 +08:00
jdhaoandGitHub e2b32df47f add abort for functions 2020-09-21 20:18:32 +08:00
jdhao 3e97ae117f clean <silent> usage in mappings 2020-09-20 16:24:36 +08:00
jdhao cf720997dd fix syntax error 2020-09-20 16:06:59 +08:00
jdhao c146a50967 add grammar checking plugin 2020-09-20 12:15:59 +08:00
jdhao ec64c3237a use internal yank highlight instead of plugins 2020-09-19 16:34:20 +08:00
jdhaoandGitHub f0abb3481a use larger length for a line of code 2020-09-17 15:35:18 +08:00
jdhao 2880537626 command mode mappings do not need <silent> arg 2020-09-02 09:01:45 +08:00
jdhao c6b71c1dea remove global setting since it is not used anyway 2020-09-02 08:54:51 +08:00
jdhao 2cbd9619e7 add HTML font tag for Markdown snippet 2020-08-30 03:35:29 +08:00
jdhao 649f5b93eb add HTML font tag for Markdown 2020-08-30 03:35:14 +08:00
jdhaoandGitHub c0417d8a0d update LeaderF settings 2020-08-24 14:47:39 +08:00
jdhaoandGitHub 50e59ca532 update LeaderF settings 2020-08-19 19:52:11 +08:00
jdhaoandGitHub 429f6f5a29 update leaderf settings 2020-08-19 17:10:26 +08:00
jdhaoandGitHub ab776cfe6f Update README.md 2020-08-12 17:07:14 +08:00
jdhaoandGitHub a345722eab Update Nvim_setup.sh 2020-08-12 16:45:30 +08:00
jdhaoandGitHub a9e4c1de85 Only Install vim-plug on Windows or Mac inside config 2020-08-12 16:06:59 +08:00
jdhaoandGitHub 63e6a47263 fix markdownfootnote issue
see https://github.com/vim-pandoc/vim-markdownfootnotes/issues/22 for the details
2020-08-11 13:06:58 +08:00
jdhao d5b1309db9 remove IME toggle for Mac(it cause more issues than it solves 2020-07-29 23:37:36 +08:00
jdhaoandGitHub 1902646933 update plugin settings (leaderf and semshi) 2020-07-29 22:22:20 +08:00
jdhao 4132180dd4 update airline theme 2020-07-29 00:04:22 +08:00
jdhao 9ca30bd431 update color theme 2020-07-29 00:04:03 +08:00
jdhao 523e8fe300 update readme 2020-07-21 23:58:25 +08:00
jdhao d4a1a45f97 update airlinetheme 2020-07-15 00:07:03 +08:00
jdhaoandGitHub 7e4f329873 update vim-airline theme 2020-07-13 20:51:08 +08:00
jdhaoandGitHub a6a61acab9 update ale setting 2020-06-19 21:07:06 +08:00
jdhao 01b14b161d Update nerdtree repo name 2020-06-19 01:07:31 +08:00
jdhaoandGitHub eab64cd5fb add more kbd tag snippets 2020-05-25 21:12:20 +08:00
jdhaoandGitHub a14558ed97 Update markdown.snippets 2020-05-25 20:31:32 +08:00
jdhaoandGitHub a0458b3129 Update ginit.vim 2020-05-23 13:50:44 +08:00
jdhaoandGitHub 5febd41eb0 Update ginit.vim 2020-05-23 13:38:56 +08:00
jdhaoandGitHub 2e7418ed06 remove supertabs 2020-05-22 19:52:02 +08:00
jdhaoandGitHub c81abfd064 Update options.vim 2020-05-22 17:06:07 +08:00
jdhaoandGitHub c56d9de160 remove number toggle plugin 2020-05-22 15:20:28 +08:00
jdhaoandGitHub e5e38fb8ae toggle relative number based on autocmd events 2020-05-22 15:19:29 +08:00
jdhao 4c97952525 update max syntax column for Markdown
This value is set to a large number mainly for long Chinese paragraphs.
Since I do not want to hard-wrap long Chinese paragraphs, some
paragraphs tend to be long in raw bytes.
2020-05-18 00:14:20 +08:00
jdhaoandGitHub 8f05c163a2 do not set clipboard when no provider is found
When there is no clipboard provider but we set the `clipboard` option, using
the `:yank` command will produce a warning message. We need to check if
a clipboard provider exists before setting up the clipboard option, see also
[this issue](https://github.com/neovim/neovim/issues/12305).
2020-05-13 14:54:32 +08:00
jdhao dd20d92a2f docs: update README 2020-05-11 22:39:11 +08:00
jdhao 643f5dad10 remove arrow key nope mapping.
Now I am familiar with h,j,k,l, I do not need to force myself to use them.
2020-05-10 23:52:25 +08:00
jdhao 1938df08b8 Remove dictionary. 2020-05-08 21:19:33 +08:00
jdhaoandGitHub 73d8d87b02 remove dictionary completion
Dictionary completion is rather useless and hangs Neovim when accidentally triggered.
It is better to remove it entirely.
2020-05-08 16:25:02 +08:00
jdhaoandGitHub 5cda026992 Update README.md 2020-05-07 10:39:04 +08:00
jdhao e676857dc7 Set theme jekyll-theme-midnight 2020-05-07 10:33:39 +08:00
jdhaoandGitHub 1a3738ff09 Update utils.vim 2020-05-06 11:55:38 +08:00
jdhao f93d0fc972 update spell file 2020-05-05 21:34:30 +08:00
jdhao 1c6833c774 update titlestring style 2020-05-05 21:33:55 +08:00
jdhaoandGitHub 3e5aaa7972 add new mapping to toggle cursorcolumn 2020-04-29 20:56:55 +08:00
jdhaoandGitHub cfaf341754 update: add function to toggle cursorcolumn 2020-04-29 20:54:52 +08:00
jdhaoandGitHub 9f028a151e fix: add variable scope 2020-04-28 12:02:57 +08:00
jdhaoandGitHub 6ce5714c05 remove marks plugin
I added the marks plugin to my config because back then I do not know how to go back to my previous edit position. Now my vim knowledge grows, and I know how to use `g;` and `g,` to go back and forth the change history. There is now little use to use marks plugin any more.
2020-04-26 20:29:26 +08:00
jdhao 02a8281373 chore: remove trailing white spaces 2020-04-22 23:26:02 +08:00
jdhao d9a3aaf058 docs: update README 2020-04-22 23:25:35 +08:00
jdhaoandGitHub b1c00de353 update settings for cpp/c language 2020-04-20 19:32:07 +08:00
jdhaoandGitHub 08204349f4 update: add cpp/c support. 2020-04-18 22:24:55 +08:00
jdhaoandGitHub 8bca4c973b update: add new mapping to copy the buffer. 2020-04-17 19:59:24 +08:00
jdhaoandGitHub 70f02ae20f fix: time zone info is now shown
datetime.now() produces a naive datetime object which does not know tzinfo. 
So the '%z' has no effect. We need to convert it to time zone aware object using
`datetime.astimezone()`.
2020-04-17 18:06:48 +08:00
jdhaoandGitHub ec6349fb3f refactor: remove update info from file header
The file update info can be accessed from the file directly on the command line. We often forget to update the
update field in the Python source file header, making this field rather useless. I have also set up the Neovim to show file update time on the title of terminal window.  So there is no need to retain the update field in header comment.
2020-04-16 14:21:31 +08:00