由买买提看人间百态

topics

全部话题 - 话题: vi
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
f******e
发帖数: 582
1
I am using putty to access a ubuntu machine. When I use vi to edit, the
color of the text is not good.
how do I change the color of the displayed text in vi?
Thanks.
mw
发帖数: 525
2
来自主题: Linux版 - computer scientists 用vi/vim
computer scientists 用vi/vim,每天在各个不同的服务器上倒腾,写的都是核心的代
码,统共就那么几千行,压根不需要project management
所有其他的scientists用emacs,因为emacs是IDE for all. 写代码,调python,ess,
matlab,latex,从proof of concept到最后写paper全都可以在一个editor下面完成
software engineer用eclipse/netbean,要组织大型项目,要refactoring,一个
function可能在无数的地方被overload过,这些vi/emacs都支持不得不好
application developer, 各大咨询公司的Consultants们用visual studio。这样的工
作‘怎么编’不是重点,跟用户沟通,了解‘编什么’才是难点。所以consultants们
是一半engineer一半sales,msvs是最idiot proof的IDE,用在这里最合适
manager用ppt,你懂的。
x****o
发帖数: 21566
3
这得多别扭阿
emacs/vi手不离键盘和这完全是两个概念
emacs/vi你的大脑不用切换模式吧
d********g
发帖数: 10550
4
来自主题: Linux版 - vi 命令总结
vi太变态,用vim吧
或者变通点,先在行尾倒数一个字符i然后把最后一个字符重新打一次,再输入你要插
入的,最后移到行尾按x把多余的那个删掉
vi就是自虐啊
v*****r
发帖数: 1119
5
来自主题: Linux版 - vi 命令总结
哈 这是 terminal 的 setting, 跟 vi 没啥关系. 下次开 vi 前,run "stty -ixon"
把它 disable 掉
v*s
发帖数: 29
6
来自主题: Linux版 - gnuwin32下没有vi?
看了一下,这个gnuwin32貌似没有vim的包
为啥不用cygwin,它包更多,包括vim,甚至能用命令行像apt一样装新软件
vim = vi improved
gvim = graphical vim
如果你不知道要vim还是vi,你多半需要vim。你的情况可能要gvim,更容易上手
t**********g
发帖数: 3388
7
【 以下文字转载自 Linux 讨论区 】
发信人: cuns (cuns until no slave), 信区: Linux
标 题: 关于coding用IDE和vi或者emacs的效率或者优劣,请牛人为大家做个详细的比较分析好吗
发信站: BBS 未名空间站 (Thu Nov 1 22:41:57 2007)
最好能对各种应用,比如网络,GUI,数据库,embeded等开发做个详细的介绍。就我个
人感觉coding的工作,有好的IDE还是能提高效率的吧。
我十年钱开始用SGI工作站,学编程也主要是从unix上学的,当时还顺带学用Ada95呢,
写了几个计算pi,e等常数的小程序。编译用的gcc,编辑器用vi/emacs/joe都用,调式
的话SGI上有自带的调式工作。后来我们把软件转到Linux上来了,我还添加了中文输入
的前端,用的是motif,Xt的库,程序输出的答应是用直接输出ps,还要找相配的中文
字体。
关于编辑器和IDE,我还是觉得IDE好。过去一直在Linux使用ITK/VTK的库做点图像小算
法,也开始用cmake管理自己的程序,比自己写makefile管
M**u
发帖数: 10158
8
emacs和vi退出有什么难的
c-x c-c在进入emacs那个提示就有
vi就是:q,更容易了
用nano就是服务器没有工具的时候做点简单的编辑
l****c
发帖数: 838
9
"Emacs不是一个editor,是个操作系统。"
I don't know where you get this.
I read sth like this in the morning:
Emac is a good OS if it has a good editor.
Vi is a good editor if it run on a good OS.
I use VIM every day

vi
b******n
发帖数: 592
10
我遇到的都是emacs,就我一个后来转vi了。也没有好坏了,人思维习惯不一样,反射
性的适合vim,理性的适合emacs,因为快捷键没有太多道理,就靠记忆。。。

vi
g*****g
发帖数: 34805
11
所以vi用惯的了用eclipse问题不大,上个plugin就好。我老一路VS,
ultraedit, eclipse一路走过来的,vi用着就比较痛苦。不得已得
整个cheatsheet备着。
r*******n
发帖数: 3020
12
难道会开车的以为比不会开的智商高?
不过,智力有障碍的人确实不应该去开车。
vi的理念就是尽量用键盘解决所有问题。
就跟去银行办事类似,我想大家都喜欢在一个地方解决
所有问题,不同的是,银行的要付出更多成本,
而vi要自己学(自己付出成本)。
作为一个天天敲键盘的人,学个编辑器工具还是值得的

calculator
j*********d
发帖数: 342
13
感觉特喜欢用vi的都是写程序高手。
我是不用ide就不行的人。一是自己水平不行,而是有些我的code总得用ide插断点逐步
监测才能彻底除bug。
不得不佩服用vi就能写出无bug code的弟兄。
q*c
发帖数: 9453
14
来自主题: Programming版 - 我用vi的体会
做 operation, 不表明 operation 要从源文件所在机器开始。
这两个通过 vc, 或者 build/depkoy system 一分开, vi 就毫无意义了。
当然我也时不时远程一下 vi.
a********c
发帖数: 3657
15
来自主题: Programming版 - 以后别讨论啥ide vs vi了
我现在就是全程vi搞c++,8m行的code吧。vi把那些navigation pk加上不比ide差,准
确的说用熟了还快些。差的是debugging。
z*******w
发帖数: 79
16
来自主题: Unix版 - vi tutorial 1
vi Tutorial #1: The Basics
This lesson lasts 10-15 minutes and teaches simple editing. Lines
which begin with >>> mark exercises you should try. When you
want to exit this tutorial type ZZ (type capital Z, twice).
When you type commands in vi they do not appear on the screen. If the
letters you type unexpectedly appear on the screen, press the ESCAPE key.
BASIC CURSOR MOVEMENT
t****l
发帖数: 134
17
来自主题: Unix版 - Vi显示?
如果是一段带有控制字符( 如颜色) 的文本如何才能在
VI 中正确显示出来? 换句话说, 用CAT命令可以显示出彩色
文本, 而在VI里就是控制字符和文本混在一起. 有没有什么
好的方法?
h**********r
发帖数: 174
18
来自主题: Unix版 - about vi.
will vi add one charactor to the end of file?
I find the length of file generated by vi is one char longer than
the one generated by echo.
c******n
发帖数: 4965
19
来自主题: Unix版 - how to save preferences in VI?
I set autoindent in Vi , but when I close and start vi again,
autoident feature is gone, so I have to set it every time,
is there a "preferences " option like in Netscape?
thanks
b*****a
发帖数: 12
20
来自主题: Unix版 - Help, Simple stupid Vi question
Hi, All:
I have a simple vi question, please do not laugh.
When I use vi in Xterm, I can use mouse highlight a region,
then how to
delete the highlighed area ?
Another related question, what is most popular editor in
Unix with X Window,
Emacs or VIM ?
Thanks
p**v
发帖数: 853
21
来自主题: Unix版 - Help, Simple stupid Vi question
i have been using nedit and pico for almost two years and
finally
i switched back to vi. this makes me look more professional
anyway, nedit is very windows-like and easy to use.
if you want to delete the text in the highlighed area, it is
impossible to do that in vi by using mouse :(
d******e
发帖数: 2265
22
Another question abt vi:
Can we use some spell checker to check the file in vi?
p**v
发帖数: 853
23
the tag file works for vi does not work for vim.
it says error format, while nothing is wrong when
i use vi.
m**h
发帖数: 207
24
来自主题: Unix版 - UNIX下除了vi的编辑器
can you use pine? pico is the editor for pine. try to use Vi ba,
since you don't know the paths. Vi is not difficult.
R****r
发帖数: 227
25
来自主题: Unix版 - beginner's question: Emacs vs. vi
my point is not funny, but statistical truth. at least in our dept,
almost every faculty and student do their mail/news/program/latex
in emacs. and it's cool in some aspects.
vi is easy to learn and use, emacs is powerful and user-friendly,
they are not contradictory. as a beginner he should hack vi first,
then try to learn emacs.
i***e
发帖数: 3219
26
来自主题: Unix版 - beginner's question: Emacs vs. vi
I'm not a computer scientist, but i'm using emacs everyday. :)
sometimes use vi for quick editting tasks too. vi launches faster
than a heavily customized emacs.
c******n
发帖数: 4965
27
来自主题: Unix版 - beginner's question: Emacs vs. vi
I think vi is more effcient in terms of key strokes
you have to do to finish a function,
like moving around, you have to press Ctrl in emacs,
but in vi, it's right under you finger.
about functions, there're many
plug-ins,
for c file editing, I use ctags and cscope,
I usually do ctags -R . first
you can also use syntax highlighting,
supports c,cpp,awk,pl,sh,tex,ps,.......
most importantly, I think it's faster
but some old guys in our lab just use cat
when typing a small script
W
D****g
发帖数: 2860
28
来自主题: Unix版 - beginner's question: Emacs vs. vi
但是vi要在各个状态之间换来换去也挺烦的。我还是宁愿按ctrl.
我承认vi的效率是比emacs高。不过写程序或paper的时候最慢的瓶颈
还是大脑:)
m***n
发帖数: 581
29
小弟刚学vi,觉得这东西功能很强但比较难熟练。一个很实际的问题是,
我经常要退格(打字看来还不过关,不过就算过关了这东西还是经常要
用吧),在以前用过的编辑器下我都是按几下backspace,因为要左删的
一般也就几个字符,很多情况下用不着批量删除。在vi中我现在每次都
要按ESC, x,x,...,a,最后的a 是为恢复插入状态,觉得挺复杂的,大虾
们有没有更高效的指法?
另外,请问删除当前光标所在处的单词的命令是什么?
十分感谢。
r******g
发帖数: 43
30
来自主题: Unix版 - 一个vi的问题。
在vi或者vim中换行是要用回车的,长的行可以自动折行,可还是属于逻辑上的一行。如
果是一大段没有回车的文本的话,虽然占了屏幕很多行,可是不方便用j,k来定位光标,
每次移动都只能定位到一个新的逻辑行上(实际是一段)。不知道能不能象Notepad那样自
动折行,但也可以每次只移动一个(屏幕)行?这样vi来写普通东东的话就方便多了。有什
么地方可以设置吗?
谢谢
q***e
发帖数: 90
31
来自主题: Unix版 - 一个vi的问题。
Good. It seems that it vim extension, not
original vi, but almost everyone is using vim instead
of vi, really nice features.
B**z
发帖数: 38
32
来自主题: Unix版 - 信手上路:VI 还是 EMACS ?
用时间长乐就好了。
vi小,emacs大
基本功能一样多,emacs花哨工能多
emacs和cvs结合较好
vi简单,emacs常用快捷间多,不好上手
n******t
发帖数: 4406
33
来自主题: Unix版 - 信手上路:VI 还是 EMACS ?
vi你肯定要学,因为很有可能unix机器上没有emacs.
但是emacs学好了之后,其实用vi的机会就不是太多了.
s**d
发帖数: 6
34
来自主题: Unix版 - 信手上路:VI 还是 EMACS ?

vi
Once you know how to play with vi, you'll be banifet for the rest of
your life.
jt
发帖数: 3
35
【 以下文字转载自 Linux 讨论区 】
【 原文由 jt 所发表 】
我记得unix下的vi是不能使用上下箭头, delete, insert键的;
有高手说只是设置一下.virc 文件就行,就象.vimrc 一样.说unix下的和linux的vi
一样, 不用j k l键来edit文档. 我已经迷糊了,那位大虾指点一下.
l**j
发帖数: 312
36
They are not the same version of vi.
Vi in Linux is often improved faster.
c*p
发帖数: 31
37
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: ccp (yeti), 信区: Linux
标 题: vi中,[ 符号如何替换?
发信站: Unknown Space - 未名空间 (Mon Mar 28 02:55:57 2005) WWW-POST
文件中类似很多行的:
1 [05/Jan/2004:11:27:50 -0600]
想用vi 的替换功能 %s/[/ - - [/g (" - - ["中间有空格 ) 变成:
1 - - [05/Jan/2004:11:27:50 -0600]
但是,这个替换功能"%s/[/ - - [/g "不能识别 "[" pattern !?
怎么办?
t******q
发帖数: 117
38
use ex mode.
assume you use some vi regular expression and so on tricks.
G*******s
发帖数: 10605
39
【 以下文字转载自 SmartShopper 俱乐部 】
发信人: GoRockets (火箭加油), 信区: SmartShopper
标 题: GARMIN nüvi 255W 4.3" GPS $79.99 Free Shipping
发信站: BBS 未名空间站 (Sat Jul 23 08:25:41 2011, 美东)
Newegg has GARMIN nüvi 255W 4.3" GPS Navigation with Text to Speech for $94
.99, apply promo code EMCYTZT620 to lower it down to $79.99 with Free
shipping. New customer may get extra $10 off using Promo Code NEWCUSTOMER10
$10 off First Order over $50 (expires 8/31/11).
http://userquote.com/forum/index.php?topic=651.msg869#msg869
w*******y
发帖数: 60932
40
Newegg has Dragon Quest VI: Realms of Revelation Nintendo DS game for $14.99
with free shipping
Dragon Quest VI: Realms of Revelation:
http://www.newegg.com/Product/Product.aspx?SID=u1015865t0f0fp0d
o**********e
发帖数: 18403
41
【 以下文字转载自 History 讨论区 】
发信人: onetiemyshoe (onetiemyshoe), 信区: History
标 题: 敝帚自珍明珠蒙尘(VI):周公计划=Marshall Plan
发信站: BBS 未名空间站 (Thu Aug 6 14:29:12 2015, 美东)
此處所列為「愛屋及烏」之典源,提供參考。 #《尚書大傳.卷二.大誓》武王與紂
戰於牧之野,紂之卒輻分,紂之車瓦裂,紂之甲魚鱗下,賀乎武王。紂1>死,武王2>皇
皇3>若天下之未定,召太公4>而問曰:「入殷奈何5>?」太公曰:「臣聞之也,愛人者
兼其屋上之烏;不愛人者及其胥餘6>,何如?」武王曰:「不可。」召公趨而進曰:「
臣聞之也,有罪者殺,無罪者活。咸劉厥敵,毋使有餘烈,何如?」武王曰:「不可。
」周公趨而進曰:「臣聞之也,各安其宅,各田其田,毋故毋私,惟仁之親,何如?」
武王曠乎若天下之已定,遂入殷。 〔注解〕 (1) 紂:名辛,商朝最後一位君主,相傳
是個暴君。因耽於酒色,暴斂重刑,遂致民怨四起。後為武王敗於牧野,自焚於鹿臺而
死。 (2) 武王:姬發,西周君王,生卒年不詳。因... 阅读全帖
u**s
发帖数: 9
42
来自主题: Automobile版 - I have a dream.....(Part VI)
Part VI
My right foot was probably my happiest body part at this moment…..the
throttle felt firm but very responsible…..i nailed 1/3 in….what happened
below I could not even explain till now…..the push-back, the sound, the blur
vision….am I kidding…no….3.3 seconds to 60mph…. I wasn’t close to
that….but 1/3 of throttle paddle traveling equals “holy f**k” acceleration
……since I put her in the racing mode….the rpm needle blip like crazy into
5000…in a fraction of second to me…..
I easy off the foot
c*****n
发帖数: 14445
43
我以前从没用过GPS,现在想买个。
有人推荐Garmin nüvi 265W/265WT,大家有用过的吗?感觉怎么样啊?
我只要求有加拿大地图,地图能更新的,其他没什么要求。预算200美元以内的吧。
麻烦大家推荐一个性价比高点的吧,谢谢了!
y***m
发帖数: 7027
44
来自主题: Automobile版 - Garmin nüvi? 1390LMT $179.99 after $50 OFF
Free Shipping
Free Lifetime Map Upgrades
Lifetime Traffic Updates
Lane Assist
nüvi 1390LMT packs big features — including free Lifetime Maps and Traffic

into a slim design. This thin navigator also comes with lane assist with
junction view, pedestrian navigation options, hands-free calling and
ecoRoute?
to calculate a more fuel-efficient route
Features:
* Display size: 4.3" diagonal
* Resolution: 480 x 272
* Battery: rechargeable lithium-ion
* Battery life: up to 4 hours
... 阅读全帖
l*******g
发帖数: 27064
45
来自主题: Automobile版 - Garmin nüvi 2597LMT 5-Inch $135
我有一个,尼玛还是官网原价买的
一般般,凑合用没问题
开始的时候放档把那都有信号,结果升级了下,尼玛放窗户下都要找半天卫星,投诉了
下没用
建议你买nüvi® 66LMT,14年出来的
i*****t
发帖数: 13
46
amazon上Garmin nüvi 66LMT GPS Navigator在特价啊,就今天
http://www.amazon.com/dp/B00HEGP0O4/ref=gb1h_tit_c-2_6602_83e72
d*********u
发帖数: 2100
47
需要婴儿维生素D滴液的coupon,
英文名:Enfamil Vi-Sol infant Vitamin drops
我只有一张$2off的胖子,还需要4张胖子。
站内联系
L*3
发帖数: 3766
48
我想卖的物品:
3 Garmin - nüvi 205W Portable GPS 010-00718-4L
单张面值:
89.99+tax
可接受价格(必须明码标价!):
290 for 3
物品新旧要求:
new
邮寄方式要求:
your label
买卖双方谁承担邮寄损失(Required if not code only):
before me after you
付款方式说明:
paypal, boa
其他补充说明:
广告的有效期:
至下周六,没有人收就去退了
物品来源(Required for All Cards!):
BB
b**********g
发帖数: 5537
49
我想要的物品:
Garmin nüvi 1490LMT 5-Inch Bluetooth Portable GPS Navigator with Lifetime Map Updates and Traffic
Amazon 前段时间的丢,179刀
单张面值:
可接受的价格(必须明码标价!):
$205 or pm价格
物品新旧要求:
BRAND NEW
邮寄方式要求:
买卖双方谁承担邮寄损失(Required if not code only):
DEFAULT
付款方式说明:
PP
其他补充说明:
广告的有效期:
物品来源:
我的联系方式:
二手交易风险自负!请自行验证是否合法和一手卡!
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)