Commit Graph
100 Commits
Author SHA1 Message Date
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
jdhao 4fb31858b4 docs: fix documentation errors 2020-04-12 00:05:53 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 3af2a086f2 Update Nvim_setup.sh 2020-03-17 19:28:12 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub afb45b2bf0 Update Nvim_setup.sh 2020-03-14 14:39:18 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhao 82502cb75f Update README 2020-02-23 14:01:46 +08:00
jdhao b64a199125 update scroll settings 2020-02-04 21:13:11 +08:00
jdhaoandGitHub c20f15ad10 Update python settings 2020-01-21 15:39:20 +08:00
jdhaoandGitHub 3fe088a34b Update color theme plugin 2020-01-14 13:17:41 +08:00
jdhaoandGitHub a9d5dd455d Add nvim-pdb settings 2020-01-14 11:38:31 +08:00
jdhaoandGitHub 745ec1862e Conditional activation for fugitive. 2020-01-14 11:27:13 +08:00
jdhaoandGitHub cb5a0778bb Add explicit variable scope 2020-01-14 11:25:53 +08:00
jdhao ee84bb1f16 Add debugger plugin 2020-01-14 00:40:44 +08:00
jdhaoandGitHub 20f2994b35 Update firenvim settings.
Make firenvim not take over the text area automatically. We need to
activate it using a shortcut.
2020-01-13 14:12:42 +08:00
jdhao 9b1a2dd5e9 Remove textwidth for Markdown 2020-01-12 09:00:11 +08:00
jdhaoandGitHub cdd5f786f5 Update plugins.vim 2020-01-09 14:25:30 +08:00
jdhaoandGitHub 4d20abd69f Update plugins.vim 2020-01-09 14:23:27 +08:00
jdhaoandGitHub 76834bd25e Remove flake8 linter for Python 2020-01-08 16:21:32 +08:00
jdhaoandGitHub e729604b9e Use ALE for linting instead of Neomake 2020-01-07 17:43:06 +08:00
jdhaoandGitHub 3b161bd281 Update plugins.vim 2020-01-06 14:33:08 +08:00
jdhao bc955bfe74 Remove matrix since it is too slow on Mac 2020-01-04 22:28:32 +08:00
jdhaoandGitHub 69565e989d Add the Matrix plugin for fun! 2020-01-04 15:11:42 +08:00
jdhaoandGitHub 626b28db11 Update firenvim settings 2020-01-04 13:29:56 +08:00
jdhaoandGitHub 5c70859a1a Revert change for Markdown filetype 2020-01-01 18:57:53 +08:00
jdhaoandGitHub 0538162c4d Update options for Markdown filetype 2020-01-01 17:43:06 +08:00
jdhaoandGitHub f16ae086ad Update firenvim setting 2020-01-01 17:30:16 +08:00
jdhaoandGitHub 3aa2a14c48 Update firenvim settings 2020-01-01 17:29:26 +08:00
jdhaoandGitHub 1d0b860dda Add firenvim 2020-01-01 13:14:48 +08:00
jdhaoandGitHub 4c7364b84f Increase font size for fvim 2019-12-30 14:33:04 +08:00
jdhao 56b28dcfbe Add toml support 2019-12-29 19:40:49 +08:00
jdhaoandGitHub 507e476161 Update fvim settings
See https://github.com/yatli/fvim/issues/108.
2019-12-29 01:40:08 +08:00
jdhao fed0acbe72 Update spell 2019-12-27 01:22:53 +08:00
jdhao fdf24f409c Fix deoplete autocompletion issue 2019-12-27 01:22:34 +08:00
jdhaoandGitHub ec28139f02 Add settings for fvim 2019-12-26 20:45:37 +08:00
jdhaoandGitHub e79c7b846c Update Nvim_setup.sh 2019-12-26 19:42:30 +08:00
jdhaoandGitHub 99de9cd88e Update leaderf ignore settings. 2019-12-26 15:31:29 +08:00
jdhao 66d8c10f4d Update markdown2ctags 2019-12-26 01:09:18 +08:00
jdhao 1dcbc1ae18 Update doc on Nvim install and setup 2019-12-26 01:07:49 +08:00
jdhao 492a6d7a2f Update documentation 2019-12-26 00:40:26 +08:00
jdhaoandGitHub c225fb0003 Update leaderf settings 2019-12-25 19:53:20 +08:00
jdhao 79e08d64a4 Reduce timeoutlen 2019-12-25 00:24:21 +08:00
jdhao 75c6e5396c increase timeoutlen 2019-12-24 23:57:15 +08:00
jdhao 5c9bfa3dca Remove SimpylFold 2019-12-24 23:51:00 +08:00
jdhao cc95d4b47b Add neoformat 2019-12-24 23:48:22 +08:00
jdhaoandGitHub ceef889448 Update leaderf setting 2019-12-24 22:06:33 +08:00
jdhaoandGitHub c5d6ab8f93 Update all.snippets 2019-12-24 21:45:39 +08:00
jdhaoandGitHub 3e4b3372c7 Add emoji support. 2019-12-23 18:15:42 +08:00
jdhao 61ac9785cd Update Markdown snippets 2019-12-22 13:47:58 +08:00
jdhaoandGitHub 3fdf189471 Update meta markdown snippets
The original snippet use vim interpolation and the date keeps changing while we are inside the
snippet region, which is not desired. According to https://www.youtube.com/watch?v=JJQYwt6Diro,
we can use Python interpolation and check if snip.c  is empty to see if the interpolation has been finished.
If the interpolation has finished (snip.c is empty in this condition), the date will be fixed and does not change
when we are inside the snippet region.
2019-12-21 20:48:02 +08:00
jdhaoandGitHub 37498210ba Update all.snippets 2019-12-20 11:45:34 +08:00
jdhaoandGitHub 1d3b488e7a Remove unsuitable airline themes 2019-12-19 21:03:10 +08:00
jdhaoandGitHub 54e03e5bfc Update markdown.snippets 2019-12-19 11:24:48 +08:00
jdhao a5be915ced Update Markdown front matter snip trigger 2019-12-19 00:53:21 +08:00
jdhaoandGitHub d5392b1054 Add markdown header snippets
Now we can type h1, h2, ..., h6 and press <Tab> to generate header of corresponding
level. It is more intuitive than vim-snippets's default snippets for headers, i.e., sec, ssec,
and so on.
2019-12-18 21:07:59 +08:00