diff --git a/README.md b/README.md index 9fea65a..876ddf5 100644 --- a/README.md +++ b/README.md @@ -35,8 +35,8 @@ disabled if desired. - `i$ a$` Inline math structures - `ip ap` Paragraphs - Other mappings - - Delete the surrounding command or environment with `dsc`/`dse` - - Change the surrounding command or environment with `csc`/`cse` + - Delete the surrounding command or environment with `dsc`/`dse`/`ds$` + - Change the surrounding command or environment with `csc`/`cse`/`cs$` - Toggle starred environment with `tse` - Toggle between e.g. `()` and `\left(\right)` with `tsd` - Close the current environment/delimiter in insert mode with `]]` diff --git a/doc/vimtex.txt b/doc/vimtex.txt index 51e2f93..f2a542c 100644 --- a/doc/vimtex.txt +++ b/doc/vimtex.txt @@ -101,8 +101,8 @@ Feature overview~ - `i$` `a$` Inline math structures - `ip` `ap` Paragraphs - Other mappings - - Delete the surrounding command or environment with `dsc`/`dse` - - Change the surrounding command or environment with `csc`/`cse` + - Delete the surrounding command or environment with `dsc`/`dse`/`ds$` + - Change the surrounding command or environment with `csc`/`cse`/`cs$` - Toggle starred environment with `tse` - Toggle between e.g. `()` and `\left(\right)` with `tsd` - Close the current environment/delimiter in insert mode with `]]` @@ -303,8 +303,10 @@ This feature is explained in more detail later, see |vimtex-imaps|. ls |(vimtex-toggle-main)| `n` dse |(vimtex-env-delete)| `n` dsc |(vimtex-cmd-delete)| `n` + ds$ |(vimtex-env-delete-math)| `n` cse |(vimtex-env-change)| `n` csc |(vimtex-cmd-change)| `n` + cs$ |(vimtex-cmd-change-math)| `n` tse |(vimtex-env-toggle-star)| `n` tsd |(vimtex-delim-toggle-modifier)| `n` |(vimtex-cmd-create)| `ni` @@ -1097,13 +1099,14 @@ Map definitions~ the folds are refreshed appropriately. *(vimtex-env-delete)* +*(vimtex-env-delete-math)* *(vimtex-env-change)* Delete/Change surrounding environment. *(vimtex-cmd-delete)* +*(vimtex-cmd-delete-math)* *(vimtex-cmd-change)* - Delete/Change surrounding command. Note: |(vimtex-cmd-delete)| depends - on |surround.vim| (https://github.com/tpope/vim-surround). + Delete/Change surrounding command. *(vimtex-env-toggle-star)* Toggle starred environment.