Day 509
Python backslashes and raw strings
Why can’t Python’s raw string literals end with a single backslash? - Stack Overflow - raw strings are not that raw and can’t end in a single backslash.
New vim highlight rules for markdown files
fun! SetBackslash()
syn region mys matchgroup=ignore start=/^\s*\\/ end=/$/ oneline
hi link mys EndOfBuffer
endfu
fun! SetQuestions()
syn region dash matchgroup=ignore start=/^\s*\\+/ end=/$/ oneline
hi link dash Statement
endfu
" fun! SetQuestions()
" syn match mys /^\s*+.*$/
" hi link mys Keyword
" endfu
autocmd filetype markdown :call SetBackslash()
autocmd filetype markdown :call SetQuestions()
Vim increase/decrease number under cursor
Ctrl+a
increases the number under the cursor,
Ctrl+x
decreases the number under the cursor.
Interesting / Random
-
The Top 12 Fake Apologies – And What Makes for an Authentic Apology
-
Кот Максим который, когда слышит записанные звуки котят, начинает их искать (Зум-квиз-радость)
Nel mezzo del deserto posso dire tutto quello che voglio.
comments powered by Disqus