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

198 Commits

Author SHA1 Message Date
jdhao 01b14b161d Update nerdtree repo name 2020-06-19 01:07:31 +08:00
jdhao eab64cd5fb add more kbd tag snippets 2020-05-25 21:12:20 +08:00
jdhao a14558ed97 Update markdown.snippets 2020-05-25 20:31:32 +08:00
jdhao a0458b3129 Update ginit.vim 2020-05-23 13:50:44 +08:00
jdhao 5febd41eb0 Update ginit.vim 2020-05-23 13:38:56 +08:00
jdhao 2e7418ed06 remove supertabs 2020-05-22 19:52:02 +08:00
jdhao c81abfd064 Update options.vim 2020-05-22 17:06:07 +08:00
jdhao c56d9de160 remove number toggle plugin 2020-05-22 15:20:28 +08:00
jdhao 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
jdhao 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
jdhao 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
jdhao 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
jdhao 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
jdhao 3e5aaa7972 add new mapping to toggle cursorcolumn 2020-04-29 20:56:55 +08:00
jdhao cfaf341754 update: add function to toggle cursorcolumn 2020-04-29 20:54:52 +08:00
jdhao 9f028a151e fix: add variable scope 2020-04-28 12:02:57 +08:00
jdhao 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
jdhao b1c00de353 update settings for cpp/c language 2020-04-20 19:32:07 +08:00
jdhao 08204349f4 update: add cpp/c support. 2020-04-18 22:24:55 +08:00
jdhao 8bca4c973b update: add new mapping to copy the buffer. 2020-04-17 19:59:24 +08:00
jdhao 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
jdhao 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
jdhao 4fb31858b4 docs: fix documentation errors 2020-04-12 00:05:53 +08:00
jdhao 3c8a653ef4 update: add plugin vim-pythonsense
This plugin provides several Python-related text objects, such as `if`, `af`, `id`, `ad`.
2020-04-05 14:06:56 +08:00
jdhao 1b97735bf2 chore: remove short url and replace with true url 2020-03-30 23:32:11 +08:00
jdhao 823e09f5b6 update: improve snippets 2020-03-30 22:36:53 +08:00
jdhao 3af2a086f2 Update Nvim_setup.sh 2020-03-17 19:28:12 +08:00
jdhao 0c0099c301 Update: remove the source part.
Sourcing bash_profile inside shell script does not work as expected. We should source it outside the script manually.
See also: https://stackoverflow.com/questions/50156206/source-bash-profile-do-not-works-inside-a-bash-script
2020-03-17 17:04:25 +08:00
jdhao bffd6bac70 Update: add mapping to clear highlighting 2020-03-17 14:21:32 +08:00
jdhao 99e4c9cfd6 Update: add grep program 2020-03-15 09:32:52 +08:00
jdhao 8ae7431cbe Reduce image size 2020-03-14 23:27:22 +08:00
jdhao afb45b2bf0 Update Nvim_setup.sh 2020-03-14 14:39:18 +08:00
jdhao 7f2985a146 Update README 2020-03-09 11:09:05 +08:00
jdhao 19420932cf Add emmet.vim 2020-03-09 00:45:39 +08:00
jdhao a5e5c8cba4 Add detail snippet 2020-03-09 00:45:23 +08:00
jdhao 11d71865a5 Update snippets 2020-03-08 14:14:21 +08:00
jdhao 1124c6652b Update README 2020-03-05 12:36:53 +08:00
jdhao 36de495cd8 Change cursor color and shape 2020-03-05 01:08:34 +08:00
jdhao 3403248365 Update fvim options 2020-03-04 13:29:36 +08:00
jdhao 63f0714341 Update autocommands 2020-02-24 12:31:50 +08:00
jdhao 5615ff3530 Detect pandoc filetype 2020-02-24 12:30:50 +08:00