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

79 Commits

Author SHA1 Message Date
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
jdhao
fd92f48677
Fix an issue with termguicolors option
According to https://github.com/equalsraf/neovim-qt/issues/604, nvim-qt will set the termguicolors
options when it is started. However, if we add `set notermguicolors` in init.vim, the nvim-qt setting will
not take effect after nvim-qt is started. So we need to remove the `set notermguicolors` setting in the
config.
2019-10-28 10:48:07 +08:00
jdhao
9d8d46197a
Fix a bug about termguicolors option
We can not detect whether nvim-qt is loaded when sourcing `init.vim`.
If termguicolors option is not set, we use a better color (badwolf in this case).
Gruvbox8 is terrible when termguicolors is not set.
2019-10-26 21:41:02 +08:00
jdhao
35a4fffe9d
Fix a bug about termguicolors
If we use nvim-qt, the TERM env variable may be empty. We should check if
we are using the GUI.
2019-10-26 17:23:24 +08:00
jdhao
b088f7adb8
Do not use annoying visual bells. 2019-10-24 19:46:47 +08:00
jdhao
09a84d1622
Fix true color support issue
Some terminal, for example, xshell, does not support true colors. In this case, we should not set the termguicolors option.
2019-10-24 12:10:06 +08:00
jdhao
0621506858
Add README for setting up markdown2ctags 2019-10-18 12:53:27 +08:00
jdhao
d57ecccd0a Add markdown support for tagbar 2019-10-15 00:39:28 +08:00
jdhao
5f4e5e1bf4 Add spell words 2019-10-15 00:28:42 +08:00
jdhao
79988c1ce1
Add link to wiki page 2019-10-09 14:50:21 +08:00
jdhao
5ea45d6275
Remove ambiwidth setting
ambiwidth setting gobbles color columns
2019-09-28 14:49:56 +08:00
jdhao
e641621ba2 Update init.vim 2019-09-27 23:24:30 +08:00
jdhao
260c2b9772
Fix a bug in sourcing vim files.
vim files such as 'variables.vim' under the same folder as init.vim can not be correctly sourced with `source somefile.vim`. Because source command is relative to the correct folder, you must specify the absolute path of vim script.
2019-09-27 21:49:23 +08:00
jdhao
460ec98052 Split large nvim config into several files for easier management 2019-09-26 23:18:19 +08:00
jdhao
08c5c49f18 Update nvim and nvim-qt config 2019-09-25 22:27:27 +08:00