diff --git a/bashrc b/bashrc index 11c95c7..d22aed3 100644 --- a/bashrc +++ b/bashrc @@ -26,6 +26,7 @@ alias tmux='tmux -2' alias pi='ssh pi -t ''tmux a -t home \|\| tmux new-session -s home''' alias server='ssh server -t ''tmux a -t home \|\| tmux new-session -s home''' alias ltc='getclip | luac -l -' +alias sign='gpg --armor --no-version --detach-sign --local-user darkwiiplayer' stty -ixon # Enable Vi editing mode diff --git a/vimrc b/vimrc index c33cd0a..1ae9306 100644 --- a/vimrc +++ b/vimrc @@ -409,10 +409,10 @@ noremap gk k nnoremap Y y$ " --- VISUAL EXECUTE --- -let $LUA_PATH = $LUA_PATH.";".expand(":p:h")."/lua/?.lua" +let $LUA_PATH = expand(":p:h")."/lua/?.lua" let g:mooncompile = "!moonc ".expand(":p:h")."/lua" command! Mooncompile silent exec g:mooncompile -let g:exe_prg = "moonc -- | lua -l vim -" +let g:exe_prg = "moonc -- \| lua -l vim -" vnoremap :exec "'<,'>!".g:exe_prg vnoremap ""y \ :call setreg("\"", substitute(getreg("\""), "\n", "", ""), "v")