Skip to content

Instantly share code, notes, and snippets.

@frandsoh
frandsoh / todo.vim
Created January 27, 2021 10:10 — forked from huytd/todo.vim
A Todo list syntax in Vim, with an actual checkbox
" Vim syntax file
" Language: Todo
" Maintainer: Huy Tran
" Latest Revision: 14 June 2020
if exists("b:current_syntax")
finish
endif
" Custom conceal
@frandsoh
frandsoh / private_fork.md
Created January 12, 2021 11:25 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@frandsoh
frandsoh / nvim-coc.md
Created August 25, 2020 21:11
Keymaps for completion with coc

coc completion keymap

" Function to check if character before cursor is a " " (empty) or not
function! s:check_back_space() abort
  let col = col('.') - 1
  return !col || getline('.')[col - 1]  =~# '\s'
endfunction

let g:coc_snippet_next = '<C-j>'