Linux bash:来自终端的exec程序,关闭后返回终端

时间:2018-03-11 09:48:47

标签: bash vim configuration config urxvt

我想使用gvim的鼠标功能,但其行为正常vim。为此,我在.gvimrc中添加了行set guioptions=

我可以为gvim创建一个别名(将其映射到exec gvim),这样当我从终端打开gvim时,它似乎在同一个窗口中打开。

关闭gvim时,有没有办法回到起始终端? (比如关闭vim

1 个答案:

答案 0 :(得分:0)

function wptuts_recentpost2($atts, $content=null){ $getpost = get_posts( array('number' => 1, 'offset' => 1) ); $getpost = $getpost[0]; $return = get_the_post_thumbnail($getpost->ID) . "<br /><a class='post_title' href='" . get_permalink($getpost->ID) . "'>" . $getpost->post_title . "</a>.$getpost->cat_ID. <br />" . $getpost->post_excerpt . "…"; $return .= "<br /><br />"; return $return; } add_shortcode('newestpost2', 'wptuts_recentpost2'); 中的{p> :set mouse=a做了伎俩。