"
doesn't work in visual block mode
.
also repeats cursor movement during visual
:e
is relative to current file instead of project root
:e
raises error for new files
=
needs a syntax-specific formatter; doesn't fall back to a generic one
>2}
doesn't work
M
behaves incorrectly when scrolled past the bottom of the file
Vp
after yy to replace a line inserts a blank line above
^D
and ^U
scroll without moving cursor
^O
and ^I
cycle through small movements
This file contains 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
function bullet_new(opts) | |
local bullet = { | |
position = opts.position, | |
momentum = opts.momentum, | |
radius = opts.radius, | |
orientation = 0, | |
color = { 230, 200, 30, 240 }, | |
} | |
function bullet:update(dt) |
This file contains 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
"" | |
"" Darkwater's Neovim configuration | |
"" | |
" Plugins {{{ | |
call plug#begin() | |
" UI plugins | |
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plug 'majutsushi/tagbar', { 'on': 'Tagbar' } |
This file contains 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
// Run with two arguments: strategy and simulations | |
// | |
// eg. | |
// cargo run stay 500 | |
// cargo run switch 10000 | |
extern crate rand; | |
use rand::Rng; | |
use std::env; |