~redid Emacs commands from terminal
Instead of SPC you have two commands: + spc: Opens a new frame with a file open + spu: Updates a currently opened frame with this new file
This commit is contained in:
9
zshenv
9
zshenv
@@ -7,13 +7,16 @@ export EDITOR="vim"
|
|||||||
export SHELL="zsh"
|
export SHELL="zsh"
|
||||||
alias yapf='python2 -m yapf'
|
alias yapf='python2 -m yapf'
|
||||||
alias clip="xclip -sel clip"
|
alias clip="xclip -sel clip"
|
||||||
alias e="emacsclient -c "
|
|
||||||
alias paste="xclip -o"
|
alias paste="xclip -o"
|
||||||
export force_color_prompt=yes
|
export force_color_prompt=yes
|
||||||
|
|
||||||
# Programming
|
# Programming
|
||||||
SPC() {
|
spc() {
|
||||||
emacs $1 & disown > /dev/null;
|
emacsclient -c --socket-name=MAIN $1 & disown
|
||||||
|
}
|
||||||
|
|
||||||
|
spu() { # Use
|
||||||
|
emacsclient --socket-name=MAIN $1 & disown
|
||||||
}
|
}
|
||||||
|
|
||||||
gentemplate() {
|
gentemplate() {
|
||||||
|
|||||||
Reference in New Issue
Block a user