Skip to content

Commit

Permalink
Add Vim Cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Dec 6, 2022
1 parent 6632a8c commit fadb3ff
Show file tree
Hide file tree
Showing 64 changed files with 1,566 additions and 481 deletions.
1 change: 0 additions & 1 deletion .vim/pack/vendor/start/better-whitespace/.gitignore

This file was deleted.

16 changes: 16 additions & 0 deletions .vim/pack/vendor/start/better-whitespace/doc/tags
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
better-whitespace-:DisableStripWhitespaceOnSave better-whitespace.txt /*better-whitespace-:DisableStripWhitespaceOnSave*
better-whitespace-:DisableWhitespace better-whitespace.txt /*better-whitespace-:DisableWhitespace*
better-whitespace-:EnableStripWhitespaceOnSave better-whitespace.txt /*better-whitespace-:EnableStripWhitespaceOnSave*
better-whitespace-:EnableWhitespace better-whitespace.txt /*better-whitespace-:EnableWhitespace*
better-whitespace-:NextTrailingWhitespace better-whitespace.txt /*better-whitespace-:NextTrailingWhitespace*
better-whitespace-:PrevTrailingWhitespace better-whitespace.txt /*better-whitespace-:PrevTrailingWhitespace*
better-whitespace-:StripWhitespace better-whitespace.txt /*better-whitespace-:StripWhitespace*
better-whitespace-:StripWhitespaceOnChangedLines better-whitespace.txt /*better-whitespace-:StripWhitespaceOnChangedLines*
better-whitespace-:ToggleStripWhitespaceOnSave better-whitespace.txt /*better-whitespace-:ToggleStripWhitespaceOnSave*
better-whitespace-:ToggleWhitespace better-whitespace.txt /*better-whitespace-:ToggleWhitespace*
better-whitespace-colors better-whitespace.txt /*better-whitespace-colors*
better-whitespace-commands better-whitespace.txt /*better-whitespace-commands*
better-whitespace-current_line better-whitespace.txt /*better-whitespace-current_line*
better-whitespace-operator better-whitespace.txt /*better-whitespace-operator*
better-whitespace-preferences better-whitespace.txt /*better-whitespace-preferences*
better-whitespace.txt better-whitespace.txt /*better-whitespace.txt*
18 changes: 18 additions & 0 deletions .vim/pack/vendor/start/bullets/.all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,24 @@
"contributions": [
"doc"
]
},
{
"login": "clarkshaeffer",
"name": "Clark",
"avatar_url": "https://avatars.githubusercontent.com/u/58539767?v=4",
"profile": "https://github.com/clarkshaeffer",
"contributions": [
"doc"
]
},
{
"login": "wenzel-hoffman",
"name": "Wenzel",
"avatar_url": "https://avatars.githubusercontent.com/u/111205756?v=4",
"profile": "https://github.com/wenzel-hoffman",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
Expand Down
1 change: 1 addition & 0 deletions .vim/pack/vendor/start/bullets/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
doc/tags
vendor/
spec/examples.txt
doc/tags
2 changes: 1 addition & 1 deletion .vim/pack/vendor/start/bullets/.tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 2.7.0
ruby 3.1.0
1 change: 1 addition & 0 deletions .vim/pack/vendor/start/bullets/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ group :test do
gem 'pry-byebug'
gem 'rake', '~> 12.3.3'
gem 'rspec'
gem 'rspec-retry'
gem 'vimrunner'
end
3 changes: 3 additions & 0 deletions .vim/pack/vendor/start/bullets/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ GEM
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-retry (0.6.2)
rspec-core (> 3.3)
rspec-support (3.8.0)
vimrunner (0.3.4)

Expand All @@ -35,6 +37,7 @@ DEPENDENCIES
pry-byebug
rake (~> 12.3.3)
rspec
rspec-retry
vimrunner

BUNDLED WITH
Expand Down
106 changes: 80 additions & 26 deletions .vim/pack/vendor/start/bullets/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
![Bullets.vim](img/bullets-vim-logo.svg)

[![Build Status](https://travis-ci.org/dkarter/bullets.vim.svg?branch=master)](https://travis-ci.org/dkarter/bullets.vim)
[![Build Status](https://travis-ci.org/dkarter/bullets.vim.svg?branch=master)](https://travis-ci.org/dkarter/bullets.vim)

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-16-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

> :information_source: Looking for help/maintainers https://github.com/dkarter/bullets.vim/issues/126
# Description

Bullets.vim is a Vim plugin for automated bullet lists.
Expand All @@ -22,7 +24,14 @@ Renumbering lines:

# Installation

With VimPlug:
### With Vim 8.1+ native package manager:
Clone into

`.vim/pack/plugins/start`

Make sure to include `packloadall` in your `vimrc`.

### With VimPlug:

```vim
Plug 'dkarter/bullets.vim'
Expand Down Expand Up @@ -70,6 +79,36 @@ Add a leader key before default mappings:
let g:bullets_mapping_leader = '<M-b>' " default = ''
```

Customize key mappings:

```vim
let g:bullets_set_mappings = 0 " disable adding default key mappings, default = 1
" default = []
" N.B. You can set these mappings as-is without using this g:bullets_custom_mappings option but it
" will apply in this case for all file types while when using g:bullets_custom_mappings it would
" take into account file types filter set in g:bullets_enabled_file_types, and also
" g:bullets_enable_in_empty_buffers option.
let g:bullets_custom_mappings = [
\ ['imap', '<cr>', '<Plug>(bullets-newline)'],
\ ['inoremap', '<C-cr>', '<cr>'],
\
\ ['nmap', 'o', '<Plug>(bullets-newline)'],
\
\ ['vmap', 'gN', '<Plug>(bullets-renumber)'],
\ ['nmap', 'gN', '<Plug>(bullets-renumber)'],
\
\ ['nmap', '<leader>x', '<Plug>(bullets-toggle-checkbox)'],
\
\ ['imap', '<C-t>', '<Plug>(bullets-demote)'],
\ ['nmap', '>>', '<Plug>(bullets-demote)'],
\ ['vmap', '>', '<Plug>(bullets-demote)'],
\ ['imap', '<C-d>', '<Plug>(bullets-promote)'],
\ ['nmap', '<<', '<Plug>(bullets-promote)'],
\ ['vmap', '<', '<Plug>(bullets-promote)'],
\ ]
```

Enable/disable deleting the last empty bullet when hitting `<cr>` (insert mode) or `o` (normal mode):

```vim
Expand Down Expand Up @@ -101,6 +140,15 @@ let g:bullets_pad_right = 0
" ^ no extra space between bullet and text
```

Indent new bullets when the previous bullet ends with a colon:

```vim
let g:bullets_auto_indent_after_colon = 1 " default = 1
" a. text
" b. text:
" i. text
```

Maximum number of alphabetic characters to use for bullets:

```vim
Expand Down Expand Up @@ -175,7 +223,7 @@ let g:bullets_nested_checkboxes = 1 " default = 1
" - [ ] child bullet [ type <leader>x ]
" - [ ] sub-child
" - [ ] child bullet
"
"
" Result:
" - [o] first bullet [ <- indicates partial completion of sub-tasks ]
" - [X] child bullet
Expand Down Expand Up @@ -216,18 +264,18 @@ let g:bullets_checkbox_partials_toggle = 1 " default = 1
" - [o] partially checked [ type <leader>x ]
" - [x] sub bullet
" - [ ] sub bullet
"
"
" Result:
" - [x] checked
" - [x] sub bullet
" - [x] sub bullet
"
"
" Example 2:
let g:bullets_checkbox_partials_toggle = 0
" - [o] partially checked [ type <leader>x ]
" - [x] sub bullet
" - [ ] sub bullet
"
"
" Result:
" - [ ] checked
" - [ ] sub bullet
Expand Down Expand Up @@ -260,7 +308,7 @@ let g:bullets_set_mappings = 0
Add a leader key before default mappings:

```vim
let g:bullets_mapping_leader = '<M-b>'
let g:bullets_mapping_leader = '<M-b>'
" Set <M-b> to the leader before all default mappings:
" Example: renumbering becomes `<M-b>gN` instead of just `gN`
```
Expand Down Expand Up @@ -338,24 +386,30 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://doriankarter.com"><img src="https://avatars3.githubusercontent.com/u/551858?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dorian Karter</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=dkarter" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=dkarter" title="Tests">⚠️</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=dkarter" title="Documentation">📖</a> <a href="#maintenance-dkarter" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/cormacrelf"><img src="https://avatars3.githubusercontent.com/u/378760?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cormac Relf</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=cormacrelf" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/issues?q=author%3Acormacrelf" title="Bug reports">🐛</a></td>
<td align="center"><a href="http://keithmiyake.info"><img src="https://avatars1.githubusercontent.com/u/2266804?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Keith Miyake</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=kaymmm" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=kaymmm" title="Documentation">📖</a> <a href="#ideas-kaymmm" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-kaymmm" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://yous.be"><img src="https://avatars0.githubusercontent.com/u/853977?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chayoung You</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=yous" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=yous" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/adriaanzon"><img src="https://avatars3.githubusercontent.com/u/4326420?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adriaan Zonnenberg</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=adriaanzon" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/eater"><img src="https://avatars3.githubusercontent.com/u/106199?v=4?s=100" width="100px;" alt=""/><br /><sub><b>eater</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=eater" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/hut"><img src="https://avatars1.githubusercontent.com/u/90548?v=4?s=100" width="100px;" alt=""/><br /><sub><b>hut</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=hut" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=hut" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/mykoza"><img src="https://avatars1.githubusercontent.com/u/48719773?v=4?s=100" width="100px;" alt=""/><br /><sub><b>mykoza</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=mykoza" title="Code">💻</a> <a href="#ideas-mykoza" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/noodlor"><img src="https://avatars3.githubusercontent.com/u/49209345?v=4?s=100" width="100px;" alt=""/><br /><sub><b>noodlor</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=noodlor" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/harshad1"><img src="https://avatars0.githubusercontent.com/u/1940940?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Harshad Srinivasan</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=harshad1" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/issues?q=author%3Aharshad1" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://erickchacon.github.io/"><img src="https://avatars2.githubusercontent.com/u/7862458?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Erick A. Chacón Montalván</b></sub></a><br /><a href="#ideas-ErickChacon" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://samgriesemer.com"><img src="https://avatars.githubusercontent.com/u/19940657?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sam Griesemer</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=samgriesemer" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/issues?q=author%3Asamgriesemer" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://codeberg.org/cpence"><img src="https://avatars.githubusercontent.com/u/297075?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Charles Pence</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=cpence" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/mstojanovic"><img src="https://avatars.githubusercontent.com/u/3449343?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Marko Stojanovic</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=mstojanovic" title="Documentation">📖</a></td>
</tr>
<tbody>
<tr>
<td align="center"><a href="https://doriankarter.com"><img src="https://avatars3.githubusercontent.com/u/551858?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Dorian Karter</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=dkarter" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=dkarter" title="Tests">⚠️</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=dkarter" title="Documentation">📖</a> <a href="#maintenance-dkarter" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://github.com/cormacrelf"><img src="https://avatars3.githubusercontent.com/u/378760?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cormac Relf</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=cormacrelf" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/issues?q=author%3Acormacrelf" title="Bug reports">🐛</a></td>
<td align="center"><a href="http://keithmiyake.info"><img src="https://avatars1.githubusercontent.com/u/2266804?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Keith Miyake</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=kaymmm" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=kaymmm" title="Documentation">📖</a> <a href="#ideas-kaymmm" title="Ideas, Planning, & Feedback">🤔</a> <a href="#maintenance-kaymmm" title="Maintenance">🚧</a></td>
<td align="center"><a href="https://yous.be"><img src="https://avatars0.githubusercontent.com/u/853977?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Chayoung You</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=yous" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=yous" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/adriaanzon"><img src="https://avatars3.githubusercontent.com/u/4326420?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Adriaan Zonnenberg</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=adriaanzon" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/eater"><img src="https://avatars3.githubusercontent.com/u/106199?v=4?s=100" width="100px;" alt=""/><br /><sub><b>eater</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=eater" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/hut"><img src="https://avatars1.githubusercontent.com/u/90548?v=4?s=100" width="100px;" alt=""/><br /><sub><b>hut</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=hut" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/commits?author=hut" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/mykoza"><img src="https://avatars1.githubusercontent.com/u/48719773?v=4?s=100" width="100px;" alt=""/><br /><sub><b>mykoza</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=mykoza" title="Code">💻</a> <a href="#ideas-mykoza" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://github.com/noodlor"><img src="https://avatars3.githubusercontent.com/u/49209345?v=4?s=100" width="100px;" alt=""/><br /><sub><b>noodlor</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=noodlor" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/harshad1"><img src="https://avatars0.githubusercontent.com/u/1940940?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Harshad Srinivasan</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=harshad1" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/issues?q=author%3Aharshad1" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://erickchacon.github.io/"><img src="https://avatars2.githubusercontent.com/u/7862458?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Erick A. Chacón Montalván</b></sub></a><br /><a href="#ideas-ErickChacon" title="Ideas, Planning, & Feedback">🤔</a></td>
<td align="center"><a href="https://samgriesemer.com"><img src="https://avatars.githubusercontent.com/u/19940657?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sam Griesemer</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=samgriesemer" title="Code">💻</a> <a href="https://github.com/dkarter/bullets.vim/issues?q=author%3Asamgriesemer" title="Bug reports">🐛</a></td>
<td align="center"><a href="https://codeberg.org/cpence"><img src="https://avatars.githubusercontent.com/u/297075?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Charles Pence</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=cpence" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/mstojanovic"><img src="https://avatars.githubusercontent.com/u/3449343?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Marko Stojanovic</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=mstojanovic" title="Documentation">📖</a></td>
</tr>
<tr>
<td align="center"><a href="https://github.com/clarkshaeffer"><img src="https://avatars.githubusercontent.com/u/58539767?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Clark</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=clarkshaeffer" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/wenzel-hoffman"><img src="https://avatars.githubusercontent.com/u/111205756?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Wenzel</b></sub></a><br /><a href="https://github.com/dkarter/bullets.vim/commits?author=wenzel-hoffman" title="Code">💻</a></td>
</tr>
</tbody>
</table>

<!-- markdownlint-restore -->
Expand Down
Loading

0 comments on commit fadb3ff

Please sign in to comment.