This commit is contained in:
Talia 2018-03-12 16:38:52 +01:00
commit 3679c04e54
2 changed files with 3 additions and 2 deletions

1
bashrc
View File

@ -26,6 +26,7 @@ alias tmux='tmux -2'
alias pi='ssh pi -t ''tmux a -t home \|\| tmux new-session -s home''' 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 server='ssh server -t ''tmux a -t home \|\| tmux new-session -s home'''
alias ltc='getclip | luac -l -' alias ltc='getclip | luac -l -'
alias sign='gpg --armor --no-version --detach-sign --local-user darkwiiplayer'
stty -ixon stty -ixon
# Enable Vi editing mode # Enable Vi editing mode

4
vimrc
View File

@ -413,10 +413,10 @@ vnoremap <C-CR> ""y<CR>
\ :call setreg("\"", substitute(getreg("\""), "\n", "", ""), "v")<CR> \ :call setreg("\"", substitute(getreg("\""), "\n", "", ""), "v")<CR>
\ :<C-r>"<CR>`< \ :<C-r>"<CR>`<
let $LUA_PATH = $LUA_PATH.";".expand("<sfile>:p:h")."/lua/?.lua" let $LUA_PATH = expand("<sfile>:p:h")."/lua/?.lua"
let g:mooncompile = "!moonc ".expand("<sfile>:p:h")."/lua" let g:mooncompile = "!moonc ".expand("<sfile>:p:h")."/lua"
command! Mooncompile silent exec g:mooncompile command! Mooncompile silent exec g:mooncompile
let g:exe_prg = "moonc -- | lua -l vim -" let g:exe_prg = "moonc -- \| lua -l vim -"
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR> vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
inoremap <C-Space> <C-[>0v$:<C-U>exec "'<,'>!".g:exe_prg<CR> inoremap <C-Space> <C-[>0v$:<C-U>exec "'<,'>!".g:exe_prg<CR>