Commit Graph
100 Commits
Author SHA1 Message Date
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
jdhaoandGitHub 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
jdhaoandGitHub f9ff9bb6eb Update options.vim 2019-12-13 13:28:12 +08:00
jdhaoandGitHub 15a7401a7a Update options.vim 2019-12-13 13:16:21 +08:00
jdhaoandGitHub 942109634a Update vim-plug install logic 2019-12-11 21:18:43 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 57047f91f9 Add mapping for running Python script asynchronously 2019-12-06 20:29:33 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub bf0eac1807 Reduce nvim startup time 2019-11-27 21:40:17 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 79482f14a5 The mouse feature is assumed by default. 2019-11-19 20:29:51 +08:00
jdhaoandGitHub 0070fb25de Update plugin comfortable-motion settings 2019-11-19 20:20:03 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 349f1668f0 Update backupcopy option 2019-11-16 16:36:41 +08:00
jdhaoandGitHub 98bb1cc8ac Update backup settings 2019-11-16 16:16:01 +08:00
jdhaoandGitHub 29eb7e6ff3 Enable mouse in insert mode 2019-11-14 20:36:20 +08:00
jdhaoandGitHub f3f073d6ef Remove mappings for Python filetype.
Use quickrun to execute Python source files.
2019-11-14 15:18:21 +08:00
jdhaoandGitHub 86284f79c1 Do not ignore PDF files 2019-11-14 14:35:33 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 4b9f227082 Adjust certain options 2019-11-09 18:54:36 +08:00
jdhaoandGitHub e7e0dad605 Update init.vim 2019-11-09 18:52:21 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub b088f7adb8 Do not use annoying visual bells. 2019-10-24 19:46:47 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhaoandGitHub 79988c1ce1 Add link to wiki page 2019-10-09 14:50:21 +08:00
jdhaoandGitHub 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
jdhaoandGitHub 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
jdhao 424337f9ae Update readme 2019-09-21 00:33:04 +08:00
jdhao 4ea234bad9 Remove binary spell file 2019-09-21 00:06:10 +08:00
jdhao fb8051e186 Do not push binary spell files 2019-09-21 00:05:14 +08:00
jdhao eab8312aea Add LaTeX snippet 2019-09-21 00:03:38 +08:00
jdhao 2da8542891 Update vim-airline settings 2019-09-17 23:18:28 +08:00
jdhao a28c908c66 Various small update 2019-09-16 23:59:09 +08:00
jdhao 6d10ef8378 Update readme 2019-09-12 21:59:09 +08:00
jdhao 1e321adf4d Add spell files 2019-09-12 21:35:07 +08:00
jdhao 3384d52ef1 Add vim-plug 2019-09-12 21:31:51 +08:00
jdhao 6428422cbd Simplify init.vim and move settings to autoload and after directory 2019-09-12 21:29:00 +08:00
jdhao c0d82c312c Clean Nvim config 2019-08-14 23:46:16 +08:00
jdhao b4255e204a update snippets 2019-08-06 00:16:45 +08:00
jdhao dd4ef41fa4 Update init.vim 2019-07-18 22:31:51 +08:00
jdhao ae9820995a Update README 2019-06-25 23:53:00 +08:00
jdhao f6050dd516 Update README 2019-06-18 00:36:49 +08:00