aboutsummaryrefslogtreecommitdiff
path: root/autoload
AgeCommit message (Collapse)Author
2023-08-27feat: switch from packer.nvim to lazy.nvimjdhao
2022-08-26fix parameter for vim.notifyjdhao
2022-08-26refactor: theme.vim --> theme.luajdhao
2022-08-23fix some typosjdhao
2022-07-11update title str formatjdhao
2022-07-02update titlestringjdhao
2022-01-13use lua for may_create_dirjdhao
2022-01-13feat: create parent dir of current file if it does not existjdhao
2021-12-30restore reg content after using itjdhao
2021-12-30split command output to list of string and set the bufferjdhao
2021-12-30remove loggingjdhao
2021-12-30fix: command output captured by a register not formatted properlyjdhao
Newline is converted to NUL character, which is nasty, see also https://vi.stackexchange.com/q/6697/15292.
2021-12-30refactor: capture command output silentlyjdhao
2021-12-15renaming variablesjdhao
2021-12-05remove mentioning of vim-airlinejdhao
2021-12-02Add command :Datetime to show current time or translate a Unix timestampjdhao
2021-11-23refactor theme loadingjdhao
2021-11-01move whitespace utility into separate pluginsjdhao
2021-11-01add iso time utils functionjdhao
2021-10-24show redir output in scratch bufferjdhao
2021-10-23add notification for Redir commandjdhao
2021-10-18nvim-notify updatejdhao
2021-10-15refactor: load colorschemes randomlyjdhao
In Emacs, there is `seq-random-elt` which randomly selects an element from a sequence. We mimic it here in Neovim. Ref: https://www.gnu.org/software/emacs/manual/html_node/elisp/Sequence-Functions.html.
2021-08-20Reduce timeout for nvim-notifyjdhao
2021-08-13feat: make :edit command supports file glob patternsjdhao
2021-08-13Fix: remove loggingjdhao
2021-08-13Add Redir command to capture command output easilyjdhao
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-07Better way to call lua function inside vim scriptjdhao
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-05Use nvim-notify for showing messagesjdhao
2021-07-24Refactor: use a unified log functionjdhao
2021-07-13fix: use normal!jdhao
Use command normal! to avoid any mapping being accidentally used.
2021-01-12Fix bug for text object for the entire bufferjdhao
2020-12-16Make a plugin for leaving insert modejdhao
2020-11-24Using jk to escape insert mode without lagging.jdhao
See https://jdhao.github.io/2020/11/23/neovim_better_mapping_for_leaving_insert_mode/.
2020-11-14move function to autoload dirjdhao
2020-11-12Add text objects for Markdown fenced code blocks.jdhao
2020-11-12Move text object to autoload directoryjdhao
2020-11-08refactor: move titlestring method to autoload dirjdhao
2020-10-19Use lua to generate random int.jdhao
2020-09-30update fold text stylejdhao
2020-09-30update foldtext functionjdhao
2020-09-27add ! for custom functionsjdhao
2020-09-27add mapping to move single or multiple linesjdhao
2020-09-27refactor: simplify if elsejdhao
2020-09-27use printf for string concatenation where neededjdhao
2020-09-26change vim script style from 4-space indent to 2-spacejdhao
2020-09-24fix style issues as per vintjdhao