Merge branch 'master' of https://github.com/DarkWiiPlayer/darkrc
This commit is contained in:
commit
3679c04e54
2 changed files with 3 additions and 2 deletions
1
bashrc
1
bashrc
|
@ -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
4
vimrc
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue