dbmrq / vim-chalk Goto Github PK
View Code? Open in Web Editor NEW:pencil2: Better fold markers
:pencil2: Better fold markers
if set textwidth=80, it will not align right. So I must set textwidth=0 before
use this plugin. Can it be solved by a better method?
function! init#ChalkUp_v() "{{{
let l:textwidth = &textwidth
setlocal textwidth =0
'<, '>call chalk#makeFold('')
let &textwidth = l:textwidth
endfunction "}}}
vnoremap zf :<C-U>call init#ChalkUp_v()<CR>
" dbmrq/vim-chalk {{{3 "
" cursor in there
" 3}}} dbmrq/vim-chalk "
when i press <plug>Chalkup
, 1st 3 will be 4. but 2nd will not.
thanks!
First, thank you! I love this plugin!
Most of the time, when I want to create a fold, I use 3zF
,
It creates an opening, a blank line for insert, and a closing:
" test ........ {{{1
" ............. {{{1
How would I create a mapping for this, for example with <Leader>f
?
Thank you again! great improvement on origami
!
just like
" dbmrq/vim-chalk {{{3 "
however, <plug>chalk
will get
" dbmrq/vim-chalk {{{3
let g:foo='"'
if <plug>chalk
it will think "
is a comment, in fact, it is a string.
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.