On Thu, January 21, 2010 5:44 am, HanGyo Jung wrote:
Hi! vim guru~
Oh please, don't call us guru. At least I myself would not consider
myself it (there are many different things I don't know about vim)
I want to do like below.
Do you have any idea to do using simple command?
before
The related things:
About my system:
Linux pansz-pc 2.6.24-26-generic #1 SMP Tue Dec 1 18:37:31 UTC 2009 i686
GNU/Linux Ubuntu 8.04.3 LTS
About vim:
VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Jan 21 2010 14:23:52)
Included patches: 1-327
Compiled by p...@pansz-pc
Big version with GTK2 GUI.
Sylvia 写道:
Hello,
I am using PuTTY to access a Linux server.
When I start vim on PuTTY terminal and try to use CTRL-Q to select a
block, nothing happens.
The block-select shortcut is Ctrl-V, not Ctrl-Q.
Ctrl-V should work unless you had mapped it to something else. If that
is the case,
On Thu, January 21, 2010 9:08 am, pansz wrote:
The block-select shortcut is Ctrl-V, not Ctrl-Q.
Ctrl-V should work unless you had mapped it to something else. If that
is the case, unmap Ctrl-V to let it have the default meaning.
Additionally Ctrl-Q/Ctrl-S are usually flow control codes used
Yes, I know there is CTRL-V.
On PuTTY, CTRL-V is used to paste. That's why I want CTRL-Q.
I don't know how to configure PuTTY to pass the CTRL-Q to vim. I have tried,
but not working.
Does anybody know how to make it work?
On Thu, Jan 21, 2010 at 4:08 PM, pansz panshi...@routon.com wrote:
Thanks a lot.
According to your key words xon/xoff, I tried to configure the PuTTY, and
fond a TTY.
In TTY ctrl-q is for START, so I remap it to ctrl-x.
Now vim working.
Thanks
On Thu, Jan 21, 2010 at 4:12 PM, Christian Brabandt cbli...@256bit.orgwrote:
On Thu, January 21, 2010 9:08 am, pansz
epanda wrote:
I have feed a Dict with 5 keys and 5 values.
I would like to modified all keys and values and then add them to my
Dict
You omit valuable information...how do you want to modify them
(both the keys and the values)? A first pass guess:
:let d={'a':1, 'b':2, 'c':3}
:echo d
On Jan 20, 3:24 pm, Brett Stahlman brettstahl...@comcast.net wrote:
On Jan 20, 2:21 pm, Foss User foss...@gmail.com wrote:
I want to maintain a journal in a huge file. The format would be
somewhat like this.
...snip...
I do exactly this using 2 plugins:
Jnl (something I wrote for
sorry for the late reply. for some reason i didnt see the message.
the gq} does exactly what i want.
thanks
On Jan 13, 4:25 pm, Vlad Dogaru ddv...@rosedu.org wrote:
On 01/13/2010 05:22 PM, sc wrote:
On Wednesday 13 January 2010 09:18:11 amKeyanwrote:
i know about the 'qwap' option,
Hello, Christian.
at least, you are the guru for me.
I didn't know for ''.
thanks a lot.
On Jan 21, 3:01 am, Christian Brabandt cbli...@256bit.org wrote:
On Thu, January 21, 2010 5:44 am, HanGyo Jung wrote:
Hi! vim guru~
Oh please, don't call us guru. At least I myself would not consider
One thing that strikes me in looking at that image is that all the
lines in the right window end in ^M whereas the lines in the left
window do not. Your GNU diff apparently ignores those line-ending
differences.
Thank you very much Gary, the ^M were causing the problems. vimdiff
looks much
I want to use ;; instead of Esc to return to normal mode. I want ;;
to work everywhere Esc works, e.g. insert mode, command mode, visual
mode.
So, I did these mappings:
map! ;; Esc
map ;; Esc
But in the command mode I am having trouble. For example, if in the
command I type
:set list;;
It
On Fri, Jan 22, 2010 at 12:17:27AM +0530, Foss User wrote:
I usually work with many tabs and buffers. I don't find an easy way to
switch between them. Ideally I would want something similar to
Firefox's awesome bar, where I start typing a portion of the filename
and vim shows up the
On Thu, Jan 21, 2010 at 2:35 PM, Foss User wrote:
I want to use ;; instead of Esc to return to normal mode. I want ;;
to work everywhere Esc works, e.g. insert mode, command mode, visual
mode.
So, I did these mappings:
map! ;; Esc
map ;; Esc
But in the command mode I am having trouble.
Hi,
I believe we found the condition to crash vim:
---
while 1
inoremap exprPlugVimimChineseMode SIDVimimChineseMode()
endwhile
---
Note: the condition is that Plug name is not in consistence
Brett,
by adding set nobackup in the .vimrc file made it!
No more filename~
Thanks!
Peter
On Jan 20, 11:22 pm, Brett Stahlman brettstahl...@comcast.net wrote:
On Jan 19, 2:13 pm, Peter Berntsen ptr...@gmail.com wrote:
Running 7.2.245 under Slackware Linux 13.0 and I have noticed that
my
Gary,
'set nobackup' in the .vimrc file worked. I don't like to have my
directories littered with filename~
Thanks!
Peter
On Jan 20, 11:26 pm, Gary Johnson garyj...@spocom.com wrote:
On 2010-01-20, Peter Berntsen wrote:
On 20 Jan, 06:27, Gary Johnson garyj...@spocom.com wrote:
On
I think this explains it. (Search for backup on the release page...)
http://www.slackware.com/announce/changes11.0.php
Spot on! Nice find. I didn't think of looking at the announcements for
Slackware 10.2 through 11.0
How did you find that?
Peter
--
You received this message from the
On Thu, Jan 21, 2010 at 1:36 PM, Peter Berntsen ptr...@gmail.com wrote:
Gary,
'set nobackup' in the .vimrc file worked. I don't like to have my
directories littered with filename~
Thanks!
Peter
If that's the reason you want backup off then you might look into
setting backupdir instead.
I'm trying to get syntax highlighting working, and it works for one
user, but is broken for another user on the same server. This is what
is showing for the one that is not working (an excerpt from
my .vimrc):
p1804397728mset p1804397728mruler p1804397728m show the cursor
position all the
On Jan 21, 3:47 pm, Peter Berntsen ptr...@gmail.com wrote:
I think this explains it. (Search for backup on the release page...)
http://www.slackware.com/announce/changes11.0.php
Spot on! Nice find. I didn't think of looking at the announcements for
Slackware 10.2 through 11.0
How did you
Am 21.01.2010 19:47, schrieb Foss User:
I usually work with many tabs and buffers. I don't find an easy way to
switch between them. Ideally I would want something similar to
Firefox's awesome bar, where I start typing a portion of the filename
and vim shows up the buffers/tabs with matching
As title, I've set $HOME in my .vimrc, but when I try to open the file under
cursor on the line such as '~/doc/foo.pdf', vim can't run the app with the
file with correct path, apps on windows usually don't support the '~' in path
name, so I guess vim on windows doesn't expand '~' correctly.
--
* Christian Brabandt cbli...@256bit.org [100120 11:25]:
On Wed, January 20, 2010 7:47 am, John Magolske wrote:
I'd like to list in the statusline the current buffer number and the
total number of open buffers. For example, if there are nine buffers
open and I'm viewing buffer number two,
Wu, Yue wrote:
As title, I've set $HOME in my .vimrc, but when I try to open the file under
cursor on the line such as '~/doc/foo.pdf', vim can't run the app with the
file with correct path, apps on windows usually don't support the '~' in path
name, so I guess vim on windows doesn't expand '~'
Hi,
I'm using vim 7.2 on Windows XP. Is it possible to have VIM populate
the MRU ( most recently used ) file list in the start menu?
thanks in advance.
--
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
I have a problem in using us(intl) keyboard. In gvim, the deadkeys
dead_circumflex (shift 6) and dead_breve (altgr+shift 6) does not
work, it is dead but no composition. However dead_grave works.
There is no problem in terminal and vim. geany (gui editor) has the
same problem as in gvim, so I
On Fri, January 22, 2010 3:12 am, John Magolske wrote:
count. Searching around some more, I found this solution [1]:
set rulerformat=%22(%{g:zbuflistcount};%M%n\ %=%l,%c%V\ %P%)
autocmd BufAdd * let g:zbuflistcount += 1
autocmd BufDelete * let g:zbuflistcount -= 1
autocmd VimEnter *
suppose we have a script:
script_a.vim:
start of script a
let s:str1 = test1
let s:str2 = test2
function s:bar()
return s:str2
function Foo()
return s:bar() . s:str1
end of script a
With this script as plugin, I cannot call from command with :echo Foo()
It will report s:str1 and
29 matches
Mail list logo