Distributions
› Ubuntu
› Fedora
› CentOS
中文资源站
› 网易开源镜像站
deepreader
V2EX  ›  Linux

emacs 取个什么短点的名字好?

  •  
  •   deepreader · May 28, 2015 · 5861 views
    This topic created in 4190 days ago, the information mentioned may be changed or developed.

    在命令行开emacs要输入5个字符或者3个字符+tab,实在感觉太累不会再爱了。感觉输入三个字符多方便,所以给emacs取个什么短点的alias好呢?

    (难道要alias成vim?)

    Supplement 1  ·  May 29, 2015
    看来emacsclient才是正途。
    说什么alias vim="emacs" 都是大坏人。
    30 replies  •  2015-05-30 00:28:14 +08:00
    elvodn
    elvodn
    May 28, 2015
    1
    开机自动启动
    sinxccc
    sinxccc
    May 28, 2015❤️2
    2
    emacs --daemon

    然后
    alias ec=emacsclient
    alias et='emacsclient -t'
    run2
    run2
    May 28, 2015 via iPhone
    3
    nano
    噗~
    lsylsy2
    lsylsy2
    May 28, 2015
    4
    刚想说vim
    发现已经写了
    deepreader
    deepreader
    OP
    May 28, 2015
    5
    @sinxccc 命令行下emacsclient 和emacsclient -t 有什么区别呢?都是在current terminal 打开呢。
    xrain0610
    xrain0610
    May 28, 2015
    6
    我叫ee
    14
    14
    May 28, 2015
    7
    e
    ee
    eee
    zhjits
    zhjits
    May 28, 2015
    8
    mac
    gihnius
    gihnius
    May 28, 2015
    9
    alias e='emacsclient -n '
    deepreader
    deepreader
    OP
    May 28, 2015
    10
    @gihnius if don't wait the server to run, what will happen? just a normal emacs?
    gihnius
    gihnius
    May 29, 2015❤️1
    11
    @deepreader 开 server 之后才能跑 emacsclient,名字都有个 client 了。

    emacsclient -n 适合 GUI 时,启动一个新的 frame (-n)
    emacsclient -t 适合 终端运行(emacs --daemon) 后
    gihnius
    gihnius
    May 29, 2015
    12
    @deepreader 经常用 emacs 的话建议开 emacs server, 所以编辑时跑 emacsclient 就 ok了。
    deepreader
    deepreader
    OP
    May 29, 2015
    13
    tsingyi
    tsingyi
    May 29, 2015 via iPhone
    14
    emc
    timothyye
    timothyye
    May 29, 2015 via Android
    15
    ems
    Yvette
    Yvette
    May 29, 2015 via iPad
    16
    eee
    em
    windalex
    windalex
    May 29, 2015 via iPhone
    17
    Vim 增强方法:alias vim='emacs'
    unionx
    unionx
    May 29, 2015
    18
    em
    cloudqq
    cloudqq
    May 29, 2015
    19
    e
    knightdf
    knightdf
    May 29, 2015
    20
    alias vi='emacs'
    wdhwg001
    wdhwg001
    May 29, 2015 via iPhone
    21
    根据发音,我选的是emx嗯…
    linfx7
    linfx7
    May 29, 2015
    22
    ems
    boom11235
    boom11235
    May 29, 2015
    23
    ec ...
    chairuosen
    chairuosen
    May 29, 2015
    24
    姨妈克星
    hjc4869
    hjc4869
    May 29, 2015
    25
    果断ems啊。。
    deepreader
    deepreader
    OP
    May 29, 2015 via Android
    26
    @chairuosen 66666666666666666666
    lxrmido
    lxrmido
    May 29, 2015
    27
    eva如何
    lnsoso
    lnsoso
    May 29, 2015
    28
    一个字母 e 就足够了
    haha1903
    haha1903
    May 29, 2015
    29
    看到这个帖子,换了 emacsclient 了。
    hhkbp2
    hhkbp2
    May 30, 2015
    30
    有自动补全,名字长短没有太大区别
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4224 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 75ms · UTC 07:40 · PVG 15:40 · LAX 23:40 · JFK 02:40
    ♥ Do have faith in what you're doing.