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

1411 Commits

Author SHA1 Message Date
jdhao 5c9bfa3dca Remove SimpylFold 2019-12-24 23:51:00 +08:00
jdhao cc95d4b47b Add neoformat 2019-12-24 23:48:22 +08:00
jdhao ceef889448 Update leaderf setting 2019-12-24 22:06:33 +08:00
jdhao c5d6ab8f93 Update all.snippets 2019-12-24 21:45:39 +08:00
jdhao 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
jdhao 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
jdhao 37498210ba Update all.snippets 2019-12-20 11:45:34 +08:00
jdhao 1d3b488e7a Remove unsuitable airline themes 2019-12-19 21:03:10 +08:00
jdhao 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
jdhao 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
jdhao 6313d05fc4 Change plugin ale repo
Plug ale has been transferred to a group.
2019-12-16 20:46:59 +08:00
jdhao b39a2d5a8a Change conceal settings for Markdown 2019-12-15 18:43:06 +08:00
jdhao f9ff9bb6eb Update options.vim 2019-12-13 13:28:12 +08:00
jdhao 15a7401a7a Update options.vim 2019-12-13 13:16:21 +08:00
jdhao 942109634a Update vim-plug install logic 2019-12-11 21:18:43 +08:00
jdhao f225543f20 Update plugin matchup setting 2019-12-10 10:18:34 +08:00
jdhao 9d85a46383 Merge branch 'master' of https://github.com/jdhao/nvim-config 2019-12-09 23:22:04 +08:00
jdhao 62d8266f07 Update system check method 2019-12-09 23:21:28 +08:00
jdhao 5771a86c0d Fix an issue with AsyncRun.vim
Change the output of Python from Buffered to Unbuffered so that we can see the command output
immediately instead of waiting for the command to finish to see the output.
See https://github.com/skywind3000/asyncrun.vim/wiki/FAQ#cant-see-the-realtime-output-when-running-a-python-script
and https://stackoverflow.com/questions/107705/disable-output-buffering.
2019-12-09 16:22:19 +08:00
jdhao 417fb450a2 Fix asyncrun command output issue for Chinese
The command output returned by Windows system may not be encoded in utf-8 format.
We need to set the format explicitly.
2019-12-09 16:19:36 +08:00
jdhao c205ac6bca Update spell settings 2019-12-09 13:17:53 +08:00
jdhao 0e89d956fd Add Google Vimscript style guide 2019-12-08 23:48:38 +08:00
jdhao 5d1b59073b Turn global variable to local
A variable without scope is global by default, see http://rbtnn.hateblo.jp/entry/2014/12/28/010913
2019-12-08 23:18:30 +08:00
jdhao 638df7f509 Update spell 2019-12-06 21:41:39 +08:00
jdhao 57047f91f9 Add mapping for running Python script asynchronously 2019-12-06 20:29:33 +08:00
jdhao 01e69daf9e Add async support for external command
Use asyncrun.vim for now. May switch to Dispatch later.
2019-12-06 20:28:36 +08:00
jdhao 31f88c82cf Add snippet for Python 2019-12-05 10:40:29 +08:00
jdhao d593f1fe2c Show current search item in different color 2019-12-04 01:22:51 +08:00
jdhao 0e491bf4dd Update Markdown snippets 2019-12-03 00:42:10 +08:00
jdhao 84e4ac3ee0 Update semshi install command
It seems that using for option for vim-plug will cause problem. Ref: https://github.com/numirias/semshi/issues/59
2019-12-03 00:33:20 +08:00
jdhao c2b7a49a83 Update random airline theme candidate 2019-12-02 19:58:22 +08:00
jdhao 92cec98f25 Do not use colorcolumn for text filetype 2019-11-30 23:17:03 +08:00
jdhao dd508af5f6 Merge branch 'master' of https://github.com/jdhao/nvim-config 2019-11-30 22:14:34 +08:00
jdhao 4715b8fee6 Open nvim config in a different tab 2019-11-30 22:14:01 +08:00
jdhao 87ffb23f4c Disable loading matchit plugin
Add the global variable identifier to loaded_matchit variable
2019-11-29 10:35:58 +08:00
jdhao b9119d2212 Replace nerdcommenter with commentary 2019-11-29 00:41:39 +08:00
jdhao a300fa0498 Remove some color themes 2019-11-28 02:01:44 +08:00
jdhao 8789c3e86f Remove vim-quickrun 2019-11-28 01:12:38 +08:00
jdhao bf0eac1807 Reduce nvim startup time 2019-11-27 21:40:17 +08:00
jdhao 1af25bd448 Update mouse option
Click mouse in normal mode will easily select words and enter visual mode, which is 
annoying. So disable mouse in visual mode.
2019-11-27 14:15:59 +08:00
jdhao c6d748ff09 Fix a bug about Python 3 path
On Windows, there is not python3.exe symlinked to python.exe when you use Anaconda 3. There is just one python.exe, which
will start Python 3. So we should check the existence of python instead of python3. It is the user's responsibility to make sure
that Python 3 is installed instead of Python 2.
2019-11-25 10:14:01 +08:00
jdhao f66dba0e7a Change netrw settings 2019-11-23 01:24:51 +08:00
jdhao 977297c7b3 Update README 2019-11-22 23:33:47 +08:00
jdhao f6bd569cd3 Update vim-pandoc-syntax setting 2019-11-22 23:33:35 +08:00
jdhao 4135642878 Update README 2019-11-22 23:18:14 +08:00
jdhao 2bb4ecbfda Explicitly use Python3 2019-11-22 23:17:58 +08:00
jdhao 7f16da31ed Use silent mappings 2019-11-20 23:53:25 +08:00
jdhao 278343a24b Remove fzf and use leaderf instead 2019-11-20 23:52:05 +08:00