Skip to content

Commit 5090431

Browse files
committed
Set up vim-checkbox
I'll switch it to the upstream repo once/if jkramer/vim-checkbox#9 is merged.
1 parent acfa6cb commit 5090431

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.config/nvim/init.vim.d/10-plugins/10-base.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Plug 'Yggdroot/indentLine' " visual marker for indent level
2020
Plug 'christoomey/vim-tmux-navigator' " switch between tmux/vim panes seamlessly
2121
Plug 'git@github.com:zhimsel/vim-stay.git', { 'dir': '~/dev/vim-stay', 'frozen': 'true' } " save and restore view when closing file buffers
2222
Plug 'jlanzarotta/bufexplorer' " interactive buffer management
23+
Plug 'zhimsel/vim-checkbox', { 'branch': 'master' } " toggle checkboxes in lists (my fork, until https://github.com/jkramer/vim-checkbox/pull/9 is merged)
2324
Plug 'junegunn/fzf.vim' " fuzzy-finding all sorts of things (files, buffers, lines, etc)
2425
Plug 'junegunn/vim-easy-align' " easily align text into columns
2526
Plug 'junegunn/vim-peekaboo' " preview registers before using them
@@ -40,7 +41,6 @@ Plug 'wesQ3/vim-windowswap' " swap two panes easily
4041

4142
" Custom text objects {{{
4243
Plug 'kana/vim-textobj-user' " required by any vim-textobj-* plugins
43-
4444
Plug 'coachshea/vim-textobj-markdown' " markdown objects
4545
Plug 'glts/vim-textobj-comment' " use comments as text objects
4646
Plug 'kana/vim-textobj-fold' " use folds as text objects
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
let g:insert_checkbox_prefix='- '
2+
3+
let g:checkbox_create_maps=0
4+
nnoremap <silent> <leader>x :call checkbox#ToggleCB()<CR>

0 commit comments

Comments
 (0)