diff --git a/README.md b/README.md index 176e43fa..76f3de5c 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,7 @@ and how to set up on different platforms (Linux, macOS, and Windows). + Tags navigation via [vista](https://github.com/liuchengxu/vista.vim). + Code formatting via [Neoformat](https://github.com/sbdchd/neoformat). + Undo management via [vim-mundo](https://github.com/simnalamburt/vim-mundo) ++ Code folding with [nvim-ufo](https://github.com/kevinhwang91/nvim-ufo) and [statuscol.nvim](https://github.com/luukvbaal/statuscol.nvim) + ...... # UI Demo @@ -140,6 +141,12 @@ Go to a string starting with `se`

+## code folding with nvim-ufo and statuscol.nvim + +

+ +

+ # Shortcuts Some of the shortcuts I use frequently are listed here. In the following shortcuts, `` represents ASCII character `,`. @@ -165,12 +172,14 @@ Some of the shortcuts I use frequently are listed here. In the following shortcu | `t` | Normal | Linux/macOS/Win | Toggle tag window (show project tags in the right window) | | `gs` | Normal | Linux/macOS/Win | Show Git status result | | `gw` | Normal | Linux/macOS/Win | Run Git add for current file | -| `gd` | Normal | Linux/macOS/Win | Run git diff for current file | | `gc` | Normal | Linux/macOS/Win | Run git commit | | `gpl` | Normal | Linux/macOS/Win | Run git pull | | `gpu` | Normal | Linux/macOS/Win | Run git push | +| `gbd` | Normal | Linux/macOS/Win | Delete a branch | +| `gbn` | Normal | Linux/macOS/Win | Create a new branch | | `gl` | Normal/Visual | Linux/macOS/Win | Get perm link for current/visually-select lines | -| `gb` | Normal | macOS | Browse current git repo in browser | +| `gbr` | Normal | macOS | Browse current git repo in browser | +| `gb` | Visual | macOS | Blame current line | | `` | Normal | Linux/macOS/Win | Compile&run current source file (for C++, LaTeX, Lua, Python) | | `` | Normal | Linux/macOS/Win | Toggle spell checking | | `` | Normal | Linux/macOS/Win | Toggle paste mode | @@ -191,11 +200,12 @@ Some of the shortcuts I use frequently are listed here. In the following shortcu In addition to commands provided by various plugins, I have also created some custom commands for personal use. -| command | description | example | -|------------|-------------------------------------------------------------------------|--------------------------------| -| `Redir` | capture command output to a tabpage for easier inspection. | `Redir hi` | -| `Edit` | edit multiple files at the same time, supports globing | `Edit *.vim` | -| `Datetime` | print current date and time or convert Unix time stamp to date and time | `Datetime 12345` or `Datetime` | +| command | description | example | +|--------------|-------------------------------------------------------------------------|--------------------------------| +| `Redir` | capture command output to a tabpage for easier inspection. | `Redir hi` | +| `Edit` | edit multiple files at the same time, supports globing | `Edit *.vim` | +| `Datetime` | print current date and time or convert Unix time stamp to date and time | `Datetime 12345` or `Datetime` | +| `JSONFormat` | format a JSON file | `JSONFormat` | # Contributing