aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-13Add Redir command to capture command output easilyjdhao
2021-08-12Use delimitMate instead of auto-pairsjdhao
2021-08-12refactor: rename on_attach to custom_attachjdhao
2021-08-12Add sumneko_lua LSPjdhao
2021-08-09update spell filejdhao
2021-08-09Move ftplugin to after/ftpluginjdhao
Make my own settings have the final say on how a filetype should behave, instead of some 3rd party plugins.
2021-08-09update nvim-bqf settingsjdhao
2021-08-09update vim-airline settingsjdhao
2021-08-09update vim-anzu and vim-cool settingsjdhao
We shouldn't set them as opt, otherwise *, and n , N etc. do not work in normal mode, unless we activate them on CmdlineEnter events.
2021-08-09Add more resourcesjdhao
2021-08-08Add plugin nvim-bqfjdhao
2021-08-08Neovim --> Nvimjdhao
2021-08-08change plugin load conditionjdhao
vim-searchlight needs to work when we press n or N or * etc, not just after pressing / and ?.
2021-08-08Use custom git branch name for vim-airlinejdhao
Airline relies on fugitive to get the branch name, but fugitive is conditionally loaded. So the branch name is not shown. We need to provide our own function to get the branch name.
2021-08-08Change plugin load conditionjdhao
2021-08-08Change ultisnips load conditionjdhao
Benefit of doing this: + No change of cursor line position after entering insert mode. Previous, if we load ultisnips on InsertEnter, the cursor line will moved automatically (e.g., if cursor line is on bottom of the screen, when we enter insert mode, now we are at the middle of the screen, like Ctrl-E is used before entering insert mode), which is really annoying! + We can see the snippets in nvim-compe auto-completion menu. Previously, the snippets are not shown on the nvim-compe completion menu (snippet expansion works though, it is just we can not see snippets in the completion menu), possibly due to the loading order of ultisnips and nvim-compe, because we load them both on event InsertEnter. After changing ultisnips to a start plugin, this issue is gone.
2021-08-07Remove image folderjdhao
2021-08-07Better way to call lua function inside vim scriptjdhao
2021-08-07Move packer compile autocmd to new placejdhao
2021-08-07refactor: set all custom highlight in one functionjdhao
2021-08-07More demojdhao
2021-08-07Update READMEjdhao
2021-08-07Update READMEjdhao
2021-08-07chore: formatting and fix spell errorsjdhao
2021-08-07Fix: the loading condition for fugitive is wrongjdhao
We should load fugitive in the following two situations: + When we open nvim in a Git repository + When we are inside nvim and change the working directory to a Git reposity
2021-08-06Add installation script for Windows, update docjdhao
2021-08-05update airlinethemesjdhao
+ Remove jellybeans and luna (they look terrible for ZOC terminal) + Add more themes
2021-08-05Use Hack nerdfonts for GUI nvimjdhao
2021-08-05update READMEjdhao
2021-08-05update READMEjdhao
2021-08-05Use nvim-notify for showing messagesjdhao
2021-08-04Remove neodark themejdhao
It does not have good highlight for Markdown links.
2021-08-04update vista settingsjdhao
Remove double click mapping since it is added natively by vista
2021-08-02Add more mappingsjdhao
Credit: https://www.youtube.com/watch?v=hSHATqh8svM
2021-08-02update setup and install scriptjdhao
2021-08-02Add update script for macOSjdhao
2021-08-02Rename setup script for Linuxjdhao
2021-08-01update wilder.nvim settingsjdhao
2021-08-01ALE is not needed (use nvim-lsp instead)jdhao
2021-08-01Add wilder.nvim for cmdline auto-completionjdhao
2021-07-31chore: update docs and code for markdown list functionjdhao
2021-07-30update airline themesjdhao
2021-07-30Add doom-one colorschemejdhao
2021-07-30chore: remove trailing sapcesjdhao
2021-07-29Update load condition for vim-fugitivejdhao
See https://stackoverflow.com/a/38088814/6064933 for how to check if we are inside a Git repository.
2021-07-29update nvim-lsp settingsjdhao
We shouldn't let the diagnostic window perstist forever. Close the diagnostic windows when certain events happen.
2021-07-29update packer settings for fugitive.vimjdhao
2021-07-29use vim.cmd instead of vim.api.nvim_execjdhao
2021-07-27update flog setting (make it opt)jdhao
2021-07-27update fugitive settingsjdhao