Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide formatoptions+=t option maps on "W" (hard wrap) #228

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f1rstlady
Copy link

@f1rstlady f1rstlady commented Jun 3, 2022

I use set formatoptions+=t and set formatoptions-=t quite often. Since it resembles a hard wrap, I mapped it to the option map "W".

halostatue added a commit to halostatue/vim-pairs that referenced this pull request Sep 11, 2024
- Expose most of the functions used for map building through autoload so
  that others can more easily add maps in the same manner without
  copying code.

- Incorporate tpope#230, tpope#228

- Use <ScriptCmd> instead of `:<C-U>`, which required some rethinking
  because of the use of `<C-R>=`.

- Added additional maps from
  - phongnh/vim-toggler: conceallevel, showmatch, incsearch, expandtab,
    showcmd
  - riceissa/vim-more-toggling: syntax
halostatue added a commit to halostatue/vim-pairs that referenced this pull request Sep 11, 2024
- Expose most of the functions used for map building through autoload so
  that others can more easily add maps in the same manner without
  copying code.

- Incorporate tpope#230, tpope#228

- Use <ScriptCmd> instead of `:<C-U>`, which required some rethinking
  because of the use of `<C-R>=`.

- Added additional maps from
  - phongnh/vim-toggler: conceallevel, showmatch, incsearch, expandtab,
    showcmd
  - riceissa/vim-more-toggling: syntax
halostatue added a commit to halostatue/vim-pairs that referenced this pull request Sep 11, 2024
- Expose most of the functions used for map building through autoload so
  that others can more easily add maps in the same manner without
  copying code.

- Incorporate tpope#230, tpope#228

- Use <ScriptCmd> instead of `:<C-U>`, which required some rethinking
  because of the use of `<C-R>=`.

- Added additional maps from
  - phongnh/vim-toggler: conceallevel, showmatch, incsearch, expandtab,
    showcmd
  - riceissa/vim-more-toggling: syntax
halostatue added a commit to halostatue/vim-pairs that referenced this pull request Sep 11, 2024
- Expose most of the functions used for map building through autoload so
  that others can more easily add maps in the same manner without
  copying code.

- Incorporate tpope#230, tpope#228, a
  variation of a solution for tpope#235,

- Use <ScriptCmd> instead of `:<C-U>`, which required some rethinking
  because of the use of `<C-R>=`.

- Added additional maps from
  - phongnh/vim-toggler: conceallevel, showmatch, incsearch, expandtab,
    showcmd
  - riceissa/vim-more-toggling: syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant