Skip to content

Instantly share code, notes, and snippets.

View davidbegin's full-sized avatar

Begin davidbegin

View GitHub Profile
" Color name (:help cterm-colors) or ANSI code
let g:vimwiki_list = [{'path': '/home/begin/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.wiki'}]
let g:limelight_conceal_ctermfg = 'gray'
let g:limelight_conceal_ctermfg = 240
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..."
" Color name (:help cterm-colors) or ANSI code
let g:vimwiki_list = [{'path': '/home/begin/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.wiki'}]
let g:limelight_conceal_ctermfg = 'gray'
let g:limelight_conceal_ctermfg = 240
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..."
" Color name (:help cterm-colors) or ANSI code
let g:vimwiki_list = [{'path': '/home/begin/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.wiki'}]
let g:limelight_conceal_ctermfg = 'gray'
let g:limelight_conceal_ctermfg = 240
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..."
:vnoremap <leader>gi :<c-u>call <SID>GistAndPost(visualmode())<cr>
:nnoremap <leader>gi :call <SID>GistAndPost(mode())<cr>
function! s:GistAndPost(type)
if a:type ==# 'V'
let l:lines = getline("'<", "'>")
else
let l:lines = getline('^', '$')
endif
echom string(l:lines)
let l:uri = system('gist', l:lines)
" Color name (:help cterm-colors) or ANSI code
let g:vimwiki_list = [{'path': '/home/begin/vimwiki/',
\ 'syntax': 'markdown', 'ext': '.wiki'}]
let g:limelight_conceal_ctermfg = 'gray'
let g:limelight_conceal_ctermfg = 240
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..."
" the dream
" silly little dream
# 2020 - 3 - 17
## Resources
- <https://www.wikiwand.com/en/John_Backus>
- <https://www.wikiwand.com/en/Unix_domain_socket>
## Challenges
- st is crashing when I open it now
# 2020 - 3 - 17
## Resources
- <https://www.wikiwand.com/en/John_Backus>
- <https://www.wikiwand.com/en/Unix_domain_socket>
## Challenges
- st is crashing when I open it now
# 2020 - 3 - 17
## Resources
- <https://www.wikiwand.com/en/John_Backus>
- <https://www.wikiwand.com/en/Unix_domain_socket>
## Challenges
- st is crashing when I open it now
# 2020 - 3 - 17
## Resources
- <https://www.wikiwand.com/en/John_Backus>
- <https://www.wikiwand.com/en/Unix_domain_socket>
## Challenges
- st is crashing when I open it now