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

93 Commits

Author SHA1 Message Date
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
jdhao
79482f14a5
The mouse feature is assumed by default. 2019-11-19 20:29:51 +08:00
jdhao
0070fb25de
Update plugin comfortable-motion settings 2019-11-19 20:20:03 +08:00
jdhao
62ea9fbdc0
Update option synmaxcol
The synmaxcol option must be set to a relatively large value, or syntax highlighting may not work
correctly after long lines.
2019-11-19 20:18:41 +08:00
jdhao
349f1668f0
Update backupcopy option 2019-11-16 16:36:41 +08:00
jdhao
98bb1cc8ac
Update backup settings 2019-11-16 16:16:01 +08:00
jdhao
29eb7e6ff3
Enable mouse in insert mode 2019-11-14 20:36:20 +08:00
jdhao
f3f073d6ef
Remove mappings for Python filetype.
Use quickrun to execute Python source files.
2019-11-14 15:18:21 +08:00
jdhao
86284f79c1
Do not ignore PDF files 2019-11-14 14:35:33 +08:00
jdhao
aa3a2c5d3c
Search selected region in visual mode 2019-11-12 13:30:57 +08:00
jdhao
960855931b Update plugin install logic
Only install plugins system-wide if the system is *nix system
2019-11-10 11:03:55 +08:00
jdhao
098ef4c875
Update plugin.vim
Change plugin installation directory based on whether we want to config neovim globally or locally.
2019-11-09 18:56:43 +08:00
jdhao
4b9f227082
Adjust certain options 2019-11-09 18:54:36 +08:00
jdhao
e7e0dad605
Update init.vim 2019-11-09 18:52:21 +08:00
jdhao
76d8e97449
Update init.vim 2019-11-09 18:51:44 +08:00
jdhao
66f2c7a8a6 Remove pumblend.
pumblend options does not work well for terminals which does not support true colors
2019-11-05 22:36:52 +08:00
jdhao
d290d79bb9 Simplify the way to get correct python3_host_prog 2019-11-05 01:05:13 +08:00
jdhao
f426ec3c4a Change wildignore setting 2019-11-05 01:04:39 +08:00
jdhao
5a327a2244 Split titlestring for easier interpretation 2019-11-03 15:09:47 +08:00