I hereby claim:
- I am riccardosven on github.
- I am riccardosven (https://keybase.io/riccardosven) on keybase.
- I have a public key ASAUgxNYkYM6JJ9kTT-EGHtTBMXVTszAQtTyVGmJ5TzXAgo
To claim this, I am signing this object:
DIRSTACKSIZE=9 | |
DIRSTACKFILE=~/.zdirs | |
if [[ -f $DIRSTACKFILE ]] && [[ $#dirstack -eq 0 ]]; then | |
dirstack=( ${(f)"$(< $DIRSTACKFILE)"} ) | |
[[ -d $dirstack[1] ]] && cd $dirstack[1] | |
fi | |
function chpwd() { | |
print -l $PWD ${(u)dirstack}> $DIRSTACKFILE | |
} |
function () | |
-- Rotate keyboards table, | |
-- requires a global variable called keyboards with the layouts listed, | |
-- e.g. keyboards = {'dvorak','us','us dvorak-intl'} | |
table.insert(keyboards,table.remove(keyboards,1)) | |
-- Extract first layout | |
local new_layout = keyboards[1] |
" vim: fdm=marker | |
" An example for a vimrc file. | |
" | |
" To use it, copy it to | |
" for Unix: $XDG_CONFIG_HOME/nvim/init.vim | |
" for Windows: %LOCALAPPDATA%\nvim\init.vim | |
" Dein: {{{ | |
if &compatible | |
set nocompatible |
I hereby claim:
To claim this, I am signing this object: