Compare commits

...

2 Commits

Author SHA1 Message Date
ed72e61124
added xpilotrc
incredible advance in the field of retro gaming
2023-05-03 21:23:19 -04:00
6c9ab56170
nvim: funny digraphs 2023-05-03 21:21:59 -04:00
4 changed files with 44 additions and 4 deletions

View File

@ -15,8 +15,9 @@ set lazyredraw nocursorline ttyfast
" use system clipboard instead of internal
set clipboard=unnamedplus
" when using c, do not overwrite clipboard
" when using c or s, do not overwrite clipboard
nnoremap c "-c
nnoremap s "-s
let mapleader = ","
@ -35,6 +36,32 @@ highlight LineNr ctermfg=grey
" Disable highlighting when searching
nnoremap <silent> <esc> :noh<return><esc>
" see :help digraphs
" these digraphs are reminiscent of canadian french keyboard layout
call digraph_setlist([
\["'a", 'à'],
\["'e", 'è'],
\["'u", 'ù'],
\["/e", 'é'],
\["}a", 'ä'],
\["}e", 'ë'],
\["}i", 'ï'],
\["}o", 'ö'],
\["}u", 'ü'],
\["}y", 'ÿ'],
\["]c", 'ç'],
\["[a", 'â'],
\["[e", 'ê'],
\["[i", 'î'],
\["[o", 'ô'],
\["[u", 'û'],
\])
" misc funny digraphs
call digraph_setlist([
\["++", '✝'],
\["+-", '†'],
\])
" NetRW

10
src/.config/xpilotrc Normal file
View File

@ -0,0 +1,10 @@
xpilot.name: immy
xpilot.user:imogen
xpilot.host:localhost
xpilot.keyTurnLeft: a
xpilot.keyTurnRight: d
xpilot.keyThrust: w
xpilot.keyLockClose: e
xpilot.keyLockClose: q

View File

@ -1,9 +1,10 @@
#!/bin/sh
# Edit clipboard contents with $EDITOR
# Quick editor popup
TMPFILE="$(mktemp)"
xsel -b > "$TMPFILE"
nvim "$TMPFILE"
#xsel -b > "$TMPFILE"
st -g 60x8+0+800 -n popup-bottom-center \
-e nvim -c "set binary noeol" -c "startinsert" "$TMPFILE" -c "highlight Normal ctermbg=016"
cat "$TMPFILE" | xsel -ib
rm "$TMPFILE"

View File

@ -32,6 +32,8 @@ export GOPATH="$HOME"/.local/go
export npm_config_userconfig=$XDG_CONFIG_HOME/npm/config
export npm_config_cache=$XDG_CACHE_HOME/npm
export npm_config_prefix=$XDG_DATA_HOME/npm
# xpilot
export XPILOTRC=$XDG_CONFIG_HOME/xpilotrc
# minrss scripts
export MRSS_DIR="$HOME/dox/rss"