- h - move left
- j - move down
- k - move up
- l - move right
- w - jump by start of words (punctuation considered words)
- W - jump by words (spaces separate words)
- e - jump to end of words (punctuation considered words)
- E - jump to end of words (no punctuation)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ftxui/component/loop.hpp> | |
#include <ftxui/component/component.hpp> | |
#include <ftxui/component/component_options.hpp> | |
#include <ftxui/component/screen_interactive.hpp> | |
#include <ftxui/dom/elements.hpp> | |
#include <hulaloop/loop.h> | |
#include <hulaloop/repeater.h> | |
#include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ftxui/component/loop.hpp> | |
#include <hulaloop/loop.h> | |
#include <hulaloop/repeater.h> | |
#include <ftxui/dom/elements.hpp> | |
#include <ftxui/dom/canvas.hpp> | |
#include <ftxui/component/screen_interactive.hpp> | |
#include <ftxui/component/component.hpp> | |
#include <chrono> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace UnderstandGameFile | |
{ | |
class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call plug#begin('~/.local/share/nvim/plugged') | |
" Themes | |
Plug 'https://github.com/danilo-augusto/vim-afterglow' | |
Plug 'mhinz/vim-janah' | |
" Status lines | |
Plug 'itchyny/lightline.vim' | |
" Startup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export MDV_THEME=729.8953 | |
export DID_PATH=~/.did | |
function did(){ | |
export LC_ALL=C | |
mkdir -p ${DID_PATH} | |
if [ ! -f ${DID_PATH}/$(date +%Y-%V).md ]; then | |
echo -e "# Week $(date +"%V (%B %Y)") \n\n## $(date +"%A %d-%m-%y")" > ${DID_PATH}/$(date +%Y-%V).md | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function err_echo { | |
>&2 echo "$1" | |
} | |
function usage { | |
err_echo "usage:" | |
err_echo ' change old new foo.txt' | |
err_echo ' change old new foo.txt *.html' | |
err_echo ' change old new **\*.txt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotspacemacs-configuration-layers | |
'( | |
html | |
markdown | |
;; ---------------------------------------------------------------- | |
;; Example of useful layers you may want to use right away. | |
;; Uncomment some layer names and press <SPC f e R> (Vim style) or | |
;; <M-m f e R> (Emacs style) to install them. | |
;; ---------------------------------------------------------------- | |
ivy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# your system. Help is available in the configuration.nix(5) man page | |
# and in the NixOS manual (accessible by running ‘nixos-help’). | |
# Make sure to add | |
# boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ]; | |
# to the hardware-configuration.nix file | |
{ config, pkgs, ... }: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SDL2/SDL.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <stdbool.h> | |
char* itoa(int i, char b[]){ | |
char const digit[] = "0123456789"; | |
char* p = b; |
NewerOlder