Hi,
Is it possible to do filetype dynamic color high lightning in vim?
In other words, can vim detect dynamicly variable's from a certain type?
when I have the following vhdl code:
[...]
-- signal declarations
signal aaa : std_logic;
signal iii : integer;
[...]
-- use of signals
aaa
Hi,
For emacs there seems to be a plugin for VHDL.
See
http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.gif
Is something also available for vim?
Rgds,
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more
Hi
How can you echo / make visible what for file-type is detected in VIM
Is there something like:
:echo filetype
Rgds,
Jeri
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit http://www.vim.org/maillist.php
Hi,
Do you know if there is a color syntax file for assembler language?
I'm using a controller for an Xilinx FPGA called picoblaze.
This controller is programmed in assembler.
Here are some instruction codes used.
+-+
Instruction Codes
+-+
ADD sX,kk
ADDCY sX,sY
Hi
Do you know if there is a color syntax file for assembler language?
I found one on.
http://www.thouters.be/Vim8051Syn
Rgds,
Jeri
--~--~-~--~~~---~--~~
You received this message from the vim_use maillist.
For more information, visit
Ben Fritz wrote:
No, that seems really strange. Are you in normal (command) mode when
you issue these commands? Do you have any mappings defined for these
commands?
I have the following mappings for cursor movements
zRight z]
zLeftt [z
zDown zj
zUpzk
Does these interfere with zz?
Hi
I have my default color file in the directory:
C:\Program Files\Vim\vimfiles\colors
What do I need to do to let vim load a different color scheme when a
certain file type is detected?
For example:
If I creat a colorscheme file aaa.vim
Where does this file needs to be stored?
And how do I
But note that 'filetype' is a concept that applies to a particular
buffer, while colorschemes are global - this won't make a lot of sense
if you ever open a second file of a different filetype in the same vim
instance.
Is it possible to do something like below?
(pseudo code)
if
syn match pbLabel ^[[:alpha:]][[:alnum:]]*:\=
That is, it matches an alphabetic character at beginning of line,
followed by any number of alphabetic or numeric characters, followed
by an optional colon.
I assume that $ is also an alphabetic character.
How do I exlucde a line that
I would like to define a key to cycle through the open windows (like Alt-Tab
in most WMs).
I have the following mappings
map Tabesc:bnCR
map S-Tab esc:bpCR
HTH
Jeri
--~--~-~--~~~---~--~~
You received this message from the vim_use
Tony,
You're right.
As always.
Rgds,
Jeri
Tony Mechelynck wrote on 24-6-2009 14:48:
This goes from buffer to buffer (including hidden buffers), not window
to window (including duplicate split-windows on different parts of a
single buffer).
Matt Wozniski wrote on 20-6-2009 17:17:
syn match pbLabel ^[[:alpha:]][[:alnum:]]*:\=
That is, it matches an alphabetic character at beginning of line,
followed by any number of alphabetic or numeric characters, followed
by an optional colon.
How do I change this so that:
- anywhere
Hi,
Is it possible that what is found with a syn match to reuse the
content later on as the same?
In other words:
In my syntax file I have
+-+
syn match pbConstant ^[[:alpha:]][[:alnum:]]*:\=
hi def
Hi
Is it possible to write a function that highlight the #define macros?
For example; if I have the following defines:
#define PI3.14159
#define MAX 10
#define MIN 0
is it then possible to give PI MAX and MIN anywhere used in the file
to give it the color brown?
So in the lines
Hi,
I'm using vim in a dos-batch file
Something like this
++
[...]
vim myscript.vim memfile.psm
[...]
+---+
I want to let vim execute this myscript.vim only when the first line
of the memfile.psm file contains more then one word.
Otherwise
Hi,
If a line contains a , this , should have only one space character and
also only one space character
after it. How do you do that?
So the following:
sX,sY
sX ,sY
sX, sY
sX, sY
Must all be come (the last one should be trimmed to one space before
and after the ,)
sX , sY
Hi,
Can you use the position of a word in a search and replace as an argument
For example
if the line has the word INPUT in it, then the last word should have
() around it
So:
start: INPUT s1 , s2
INPUT s3 , s4
must become
start: INPUT s1 , (s2)
INPUT s3 ,
On Thu, Jun 4, 2009 at 9:05 PM, Teemu Likonentliko...@iki.fi wrote:
BB CC
Must be come
CC BB
:g/^/s/^.*$/\=split(submatch(0))[-1].' '.join(split(submatch(0))[0:-2],'
')
How do you change the above solution when you want
BBCC
to be
Hi,
How do you change the second matching pair in stead of the first one.
I have the following substitute but I can't get it in such a way that
it works on the second pair.
:g/\INPUT.*,*s\d\+/s/s\d\+/()/CR
So
INPUT s1 , s2
INPUT s2 , s1
must come
INPUT s1 , (s2)
INPUT s2 ,
On 7/6/09, Ben Fritz fritzophre...@gmail.com wrote:
[...]
I want to let vim execute this myscript.vim only when the first line
of the memfile.psm file contains more then one word.
Otherwise it should do nothing,
vim -c if getline(1)=~'\v^\W*\w+%(\W+\w+)+\W*$' | source myscript.vim
|
Tony Mechelynck wrote on 8-7-2009 18:47:
If a line contains a , this , should have only one space character and
also only one space character
after it. How do you do that?
[deleted]
Are you sure?
It is possible, but the usual typographical (and programming) convention
is to have no
Hi,
When I execute this line
:%s/\[01]\+\/\=Bin2Hex(submatch(0))/
on this binary tabel
0001
[...]
it is all converted nicely to hexadecimal
However, my binary numbers are prefixed with a % character.
So
%
%0001
[...]
%
How to I change the substitute command above so that
Hi,
Our IT department has forbidden the use of gVim. ;-(((
Can I use gvim as a standlone executable program?
So without having installation files and registries in Windows?
I assume they will scan that first, and wont scan all the .exe on every pc.
What other possiblities are there?
gvim
Hi,
I want to check several new-articles on the occurences of words
Therefore the two questions:
1) How to let vim place a carriage return after each word in an news-article?
And 2) If you have a text like this
AAA
AAA
AAA
BBB
CCC
CCC
CCC
CCC
can you let vim count the occurences of these
Hi
I have a long list with lines that start with a number in random order
followed by tekst.
Something like this:
109 AAA
23 blabla
1 xyzxyz
45 BBB
What I want is that all number get one or more 0 needed then the
largest (in character size) number
So in the list above the 'largest' number is
Hi,
I have a list which contains uppercase and lower case letters.
How can I change everything to lowercase.
For example:
AAA
BBB
CCC
aaa
bbb
ccc
Then
then
High
high
should be come
aaa
bbb
ccc
aaa
bbb
ccc
then
then
high
high
Rgds,
Jeri
--~--~-~--~~~---~--~~
Hi,
I use vim for C and VHDL files.
And I don't want to let vim break the lines.
I recently also started it to use it frequently for txt files.
And now this not 'soft-breaking the lines is not what I want for txt files.
How can I configure vim that it does 'soft-break' the lines when the
file
Hi,
I have C code that I need to clean up
With the = command I can do one or several lines .
But is it possible to do this in one click for the complete file?
In others words
I have
if
{
if
{
if
{
...
}
}
}
i want
if
{
if b
{
if
{
Hi
I have a text which is several lines below each other seperated with a
empty line.
What I want is that all text will be joined to the first empty line.
Ho do you do that?
In other words:
If the text is like below
start of tekst
blablablabla
qwertyqwertyqwerty
abcdefghijklmn
Hi
this is really usefull.
But how do you remap the mappings from this surrond.vim ?
I managed to get the mapping ysiw and then here the surrouding
character working in gvim 7.2 on WinXP.
(for some reason cs' doens't work]
So
Hello world
changes in
[ Hello ] world
when I press ysiw[
But
Hi
this is really usefull.
But how do you remap the mappings from this surrond.vim ?
I managed to get the mapping ysiw and then here the surrouding
character working in gvim 7.2 on WinXP.
(for some reason cs' doens't work]
So
Hello world
changes in
[ Hello ] world
when I press ysiw[
But
Hi
this is really usefull.
But how do you remap the mappings from this surrond.vim ?
I managed to get the mapping ysiw and then here the surrouding
character working in gvim 7.2 on WinXP.
(for some reason cs' doens't work]
So
Hello world
changes in
[ Hello ] world
when I press ysiw[
But
Hi
This is really usefull.
But how do you remap the mappings from this surrond.vim ?
I managed to get the mapping ysiw and then here the surrouding
character working in gvim 7.2 on WinXP.
(for some reason cs' doens't work]
So
Hello world
changes in
[ Hello ] world
when I press ysiw[
But
Hi,
I a memory dump file which needs to be formatted in another way.
What is needed is the following
- the first column needs to be removed
- from the 8-characters long hexcode the leading zero's needs to be
removed.(so 000ABCDE must be come ABCDE)
- at last a newline must be added at the top
Jurgen,
This is exactly what I needed.
Thanks,
Best rgds,
Jeri
On 5/28/09, Jürgen Krämer jottka...@googlemail.com wrote:
Hi,
Jeri Raye schrieb:
I a memory dump file which needs to be formatted in another way.
What is needed is the following
- the first column needs to be removed
Hi
I have a large text files where I want to fix paragrahs that have white lines
So I want to
a) search for white lines (these can be 1 or more after each other)
b) If the next none-white line is a not a capatial letter the founded
white lines should be removed.
So I want the following text:
Hi,
I read on the vimlist the discussion
keeping the cursor in the middle of window
http://tech.groups.yahoo.com/group/vim/message/103794
There was suggested to try
:auto CursorMoved * normal zz
This makes my gvim instable.
when I press CTRL-A it inserts zz
when I press shift arrow left or
Hi
I have a text like below
start of text
xyz 60
xyz 80
bbb1 xyz 90
ddd2 xyz 100
end of text
I want to add a dollar to the number
I do the following:
- look for any number on the line and replace that number with it self
and add the dollar before.
:%s/[0-9]/$
start of
Hi
How do you reshuffle words on a line?
I have text where I want to reshuffle the lines that start with
So
BBCC
Must be come
CC BB
How do you do that?
Rgds,
Jeri
--~--~-~--~~~---~--~~
You received this message from the
Hi
I have a large text file which I want to rearrange.
How to do that
I want
- every senstence on a single line, where a sentence is a line that
ends on a . or . This is sentence can be in the orignal text file go
over several lines
- Every space that's in a line must be counted, placed upfront
Hi,
I'm trying to use the c.vim plugin
And I see some errors when I use it (on gVim, Vista)
When I have line like this:
This is a comment line
And then I press trough the cut-off menu the button: code - comment /* */ \c*
Then I get this
/* This is a comment line
:nohlsearch
j*/
Why is
Hi,
Can you echo your Leader?
And our LocalLeader?
Rgds,
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Hi,
I'm new to ctags. I want to use it within vim (as omni completion
requires it, IIUC)
I have downloaded it from sourceforge.
How do I now let vim know that I have ctags?
Do I need to store the executable ctags.exe somewhere in vim?
Or do I need to specify a path where ctags is stored?
I'm
Hi,
On : http://vim.wikia.com/wiki/Syntax_folding_of_Vim_scripts
it has half way a pargraph named: Syntax definitions
There is stated the following: As mentioned above, place the
following in your after/syntax Vim file:
Where is the after/syntax vim file located?
I'm using gvim under xp/vista
Hi,
I managed to creat a tag file.
If that tag file is on location c:\projects\test how do I tell vim
then that it should look there for tag information?
Rgds,
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For
Hi
One of the vim scripts is stored as a vba file
See for example http://www.vim.org/scripts/script.php?script_id=1643
How to un-vba such a file?
It says :vim myvimball.vba
But when I do that in gVim it gives some kind of file error.
I'm on Windows XP
Rgds.
Keri
--
You received this message
Hi,
Maybe a stupid question but do you have any tips on rembering all the
command's provided by plugin scripts? How to do that? Do you write them
on a paper besides your PC? Or on another way.
There are a lot of scripts with fantastic functionality. But me
personaly find it hard to remember
Hi,
I would like add a path in a setting
for example:
set tags=c:\my projects\test\tags
(notice the space char between my and projects)
Can this be done into vim?
Rgds,
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are
Hi
I have trouble to change the default output of ctag (version 5.8) for VHDL
With
ctags --list-kinds=vhdl
it gives the parameters.
It gives amongst others C as a parameter
This gives Component Declarations.
When I do:
ctags -R vhdl-kinds=[+C] --extra=+q .
And check the tags file it doesn't
Hi,
I'm trying to make a fold region that looks for the following
- when a line contains the word foo that's the start of the fold
- when one or more lines later the word end is found that should
close the line
- or when the words end with one or more space char foo is found
that should close the
Hi Wayne
Can you do something with a fold expression?
Assuming that a fold expression works as an extra mode when syntax
foldmethod is on.
Or something like done in
http://vim.wikia.com/wiki/Syntax-based_folding
I'm a complete newbie wrt to folding in vim, I'm just experimenting with it.
HTH
2010/8/4 Ricky J. Wu richi...@live.com:
In my system, I add these two lines into vimrc:
set noerrorbells novisualbell
autocmd VimEnter * set vb t_vb=
This does the trick for me also!
Thanks
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below
Hi Christian
Thanks, but that doesn't do it for me.
I discovered that in a syn region the 'start value' is not allowed
also in the 'end value'. So in
--- syn region myFold2 start=foo end=end foo; transparent fold
the second foo is not allowed.
Is there a way to work around this?
I'm trying to
Hi Christian
Hi Jeri!
On Di, 10 Aug 2010, Jeri Raye wrote:
Hi Christian
Thanks, but that doesn't do it for me.
Please don't top post. What exactly does not do it for you?
Sorry, you are right.
Ans also for does not do it. This is a useless remark from me.
Thanks for reminding me
Hi Christian
I am no expert in syntax highlighting. But this should be possible
using \z() (see :h :syn-ext-match)
Something like this should work then for you:
:syn region myFOLD2 start=\z(if\) end=end \z1 transparent fold
I'm going to try this.
Thanks for the suggestion.
This is the fix
Jeri Raye wrote on 11-8-2010 19:03:
for me
http://feed43.com/vim-scripts.xml
works as RSS feed.
Regards,
Jürgen
If I go this site and add it to my Mozilla FireFox browser (Version
3.6.8) on Windows XP I get the following error message.
script:Can't connect to local MySQL server through
Christian Brabandt wrote on 11-8-2010 19:36:
Hi Jeri!
# Start of text #
if
if
end if
end if
if
end if
# End of Text #
folds into
# Start of text #
+-- 3 lines: if
+-- 6 lines: if
end if
# End of Text #
Notice
or else (untested)
syn region vhdlFold
\ start='\z(\if\\)'
\ end='\end\s\+\z1'
\ contains=vhdlFold
\ fold transparent
to make it recursive?
Best regards,
Tony.
--
Unfortantly the adding of \ contains=vhdlFold doesn't
Hi Christian,
folds into:
# Start of text #
+-- 4 lines: if-
end if
# End of Text #
Notice the not included 'end if'
That is because of the keepend. There was a reason why I left it out, in
my previous message ;)
But when I remove the
Hi,
I have in my after\syntax directory a vhdl.vim file defined as below
+-+
syn sync fromstart
set foldmethod=syntax
syntax match vhdlEndIf end\s\+if
syn region vhdlFold
\ start=\z(\if\\)
\ end=\end\s\+\z1
\ fold transparent
\ keepend
syn region vhdlEnt
entity is a VHDL word, as well as if.
foo is a made up word.
It's also for the VHDL reserved words process, case, architecture.
I can't believe VIM can't fold reserved words?
Or is this a bug?
I did change entity into entit (so removing the y char) in the given syn region.
When I now type
On Fri, Aug 13, 2010 at 2:19 PM, winterTTr winterttr@gmail.com wrote:
On 13 August 2010 18:57, eliweiq001 eliweiq...@gmail.com wrote:
I use gvim in windows.
C.VIM has a folder named c-support.
This folder can only be put in $VIM\vimfiles\ in my compter.
If I put this folder in
Hi Andrew,
On Fri, Aug 13, 2010 at 1:21 PM, Christian Brabandt cbli...@256bit.org wrote:
Hi Andrew!
On Fr, 13 Aug 2010, Andrew Long wrote:
Are they declared as 'syntax keyword'?
Yes they are.
If so, I think that trumps any
attempt to redefine them as regions/matches/etc. I had that problem
I can imagine something like this:
sy match vhdlFoo \foo\
sy match vhdlBar \bar\
sy region vhdlFooBarFold
\ start=
\ end=
\ fold transparent
\ keepend
What to fill in for the start and end parameter of the region, to get
the folding as:
+-- x lines: foo
Hi Ben,
On Fri, Aug 13, 2010 at 8:45 PM, Benjamin R. Haskell v...@benizi.com wrote:
The attached file seems to do what you want, w.r.t. both the multiple
block keywords, and not modifying the original
$VIMRUNTIME/syntax/vhdl.vim. To use it, put it in your
~/.vim/after/syntax/ directory
On Sat, Aug 14, 2010 at 11:02 PM, Benjamin R. Haskell v...@benizi.com wrote:
You left out the second instruction...
:echo orig_syntax
:syn list vhdlStatement
The ':echo' gives you the original syntax entry for vhdlStatement.
The ':syn' command gives you the current entry.
(So you can
Hi,
I'm reading some vim script.
I was wondering about the following
It says
let g:expression =
\ all kind of code, ending with a dot .
\ more code ending with a dot .
\ even more code NOT ending with a dot
Question 1: Is this \ a 'line-continuation' character? In other words
should it be read
Hi,
Is it possible to configure vim how you want to have your folds displayed?
I would like to see child folds as an indented fold of it's parent fold.
In other words I would like to see the following code:
if ()
{
[]
if ()
{
[]
}
}
Be folded as:
if()
+-- [...] {
2010/8/16 eliweiq001 eliweiq...@gmail.com:
Thank you so much.
Inspired by your c.vim, now I've found the real reason.
Glad I could help.
I'm mostly on the asking side on this group. ;-)
I hope the editor will add the automatic detection for mswin too.
Drop him an email I would say.
Rgds,
Hi,
I'm playing with expression but can't get it right. The start and end
expression seems not to be unique.
I have the following:
let g:start_expr = '\v^\s*(def|if.*then|case.* is)'
let g:end_expr = '\v((^\s*(end|\end\s\+if.*;|\end\s\+case.*;)))'
This goes ok for code that is not nested
Hi,
I have certain scripts in my plugin directory. And for them I have
several mappings. Nothing special. But now I want to merge two mappings
into one.
In script 1 I have a mapping leaderf
{{{ mappings and default options
if !hasmapto(PlugSimpleFold_Foldsearch)
map unique silent
Hi,
I'm trying to understand certain expressions in a script. But I can't
find out what the function/meaning is of a 'greater-then' character in
an expression.
So in the expression below, what does the char do/mean? In other words
: What happens when I leaf it out?
let
Hi,
I'm using gvim73 on windows xp.
I tried to use the command-t plugin.
This gives the message that vim needs to be compiled with ruby support.
I'm a complete newbie on compiling gvim.
I understand it's possible on a linux machine.
But how to do that on windows XP?
Or can you give a ruby.dll
Hi,
I see many times people create color schemes for vim.
With special names as well.
To me personally I have only one scheme with my personal prefferences.
And for all my filetypes it's all the same.
Why do you use several different color schemes?
What does it help you?
Why for example do you
Jeri Raye wrote on 20-8-2010 17:03:
Hi,
I'm using gvim73 on windows xp.
[snip]
I'm a complete newbie on compiling gvim.
But how to do that on windows XP?
[snip]
If not, which (open source?) compiler do you need for that on a windows
XP machine?
I'll give this a try
http
Compiling gvim to get ruby support is not needed.
I read in the documentation of the command-t plugin that you can
download the installer from
http://rubyinstaller.org/download.html
Rgds,
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below
Tony Mechelynck wrote on 22-8-2010 22:10:
Jeri Raye wrote on 20-8-2010 17:03:
Hi,
I'm using gvim73 on windows xp.
[snip]
I'm a complete newbie on compiling gvim.
But how to do that on windows XP?
[snip]
[snip]
- You can now download the latest Vim sources from Bram's Mercurial
On Aug 23, 2:18 pm, Adam Duck adam.ian.d...@gmail.com wrote:
On 23.08.2010 13:19, Didlybom wrote:
Hi,
[snip]
I am trying to use some vim scripts that require python or ruby
support (such as command-t) but when I try to use them on a fresh
install of Vim 7.3 on windows they do not work.
Ben Fritz wrote on 23-8-2010 17:42:
On Aug 23, 3:02 am, Jeri Raye jeri.r...@gmail.com wrote:
gvim 7.2.0 (offical release aug 2008) and 7.3 (just relaesed) give boths
-ruby when I asked it with: vim --version
Yes, but at least the gvim 7.3 installer I grabbed from vim.org has
+ruby/dyn
[snip]
[snip]
I'm also trying to use the command-t plugin.
I have now the vim without cream but with ruby support.
The plugin however does not work yet.
I've contacted the writer of this plugin.
He created an error ticket
See for the progress the following:https://wincent.com/issues/1652
Hi,
I'm experimenting in getting my compiler output redirected into vim,
while editing my file to get it bugfree.
When I compile my file in my other program the command is as below:
vcom -work work -2002 -explicit C:/projects/iic_slave_pa_a0.vhd
In this line you can see that:
1) vcom is the
[...]
To fix this, first of all I would put all the compiler options into
'makeprg' and set 'makeprg' once rather than each time you compile.
:set makeprg=vcom\ -work\ work\ -2002\ -explicit\ %
Then to compile your file, just execute
:make
or if you want to just hit F9, map F9 like
For example like this output:
# Model Technology ModelSim ALTERA vcom 6.5b Compiler 2009.10 Oct 1 2009
# -- Loading package standard
# -- Loading package textio
# -- Loading package std_logic_1164
[...]
# -- Compiling entity cntrlio_module
# -- Compiling architecture rtl of cntrlio_module
# --
Hi,
gg=G does reindent a file.
Question 1: Is it possible to make this command filetype dependend?
Question 2: Is it possible to change the way the indent-ion is done?
Reason for asking is:
I don't like how the indent is done on VHDL files.
I would like to change it.
Rgds,
Jeri
--
You
Hi,
Is it possible to search for a keyword and change the case of it?
I'm using vim for VHDL.
VHDL is not case sensitive.
I'm using keywords always in lower case, my collegue in upper case.
To get to the same style I want to search my text for keywords and
change it to upper case.
As Vim
Hi
In normal mode the cursor is a black box (in windows gvim).
In insert mode its a line under the current char (in windows gvim)..
Then you can go with the cursor arrow keys vertical over 0 1 and 2 in
the example text below
A(3 downto 0)
B(4 downto 1)
C(5 downto 2)
Is this also possible in
movement. Try starting gvim from a command prompt as
gvim -u NONE
and see if that works as you think it should. If that works, then
you could try starting gvim as
gvim --noplugin
to load your _vimrc but not your plugins to try to determine whether
the culprit is your _vimrc or a
Hi,
Is it possible to make different mappings based on insert mode or
overwrite mode
Meaning with insert-mode the cursor is a vertical stripe in between chars.
With overwrite-mode the cursor is horizontal stripe below the char.
Rgds
Jeri
--
You received this message from the vim_use
Hi,
With gUU you can change a line to all upper case words.
With guu you can change a line to all lower case.
How can you apply this to a selection?
Meaning:
When I have a piece of code selected to status line shows --SELECT--
When I then press gUU, it removes my selection and give me the text
Hi
I have mapping like
:map F9 :wCR:makeCR:clistCR
With set makeprog set correctly
(which is :set makeprg=vcom\ -work\
C:\\projects\\iic_slave_pa_top_a0\\modelsim\\work\
-2002\ -explicit\ %)
this show my compiler output, and at the end vim says:
Press Enter to continue (in green colors)
With gUU you can change a line to all upper case words.
With guu you can change a line to all lower case.
How can you apply this to a selection?
Meaning:
When I have a piece of code selected to status line shows --SELECT--
This seems to work for the text selected when your in select mode
vmap
Hi,
I have a function which removes double lines in my vhdl code when I
save my file.
It is like this:
au BufWritePre *.vhd :%s/^\n\{2,}/\r/ge
But I assume that this is also the cause that my cursor goes to the
end of my file when I save my file.
What must I do to keep the cursor where it was
Hi,
When I compile my VHDL design I get a large log file which I want to filter.
Is it possible to do this?
I was wondering to search for certain patterns in the log file and
provide a start and end mark for the interresting stuff.
And then delete all that isn't in the selected sections.
Is that
Hi,
I need to modify a many files, all in the same way.
The modification is to
- add one space-character at the beginning of every line.
- delete the space-character at the end of every line.
In other words:
If the line looks like this:
[start of line]12345 [end of line]
It needs to become:
Hi
I have a compiler log with too many lines.
I would like to strip that document to only the lines I want.
How to that?
For example, I have a text like this
+--START OF TEXT --+
Boring line
Not interesting line
Useless line
Blabla
THIS IS REALLY AN INTERESTING BLOCK OF TEXT
[111]
[222]
[333]
Hi,
Sorry for not being so clear
Assuming that the interesting part of a block
starts with AAA
end with BBB
Another block interesting block
starts with CCC
end with DDD
And a line that starts with EEE is also interresting
+--START OF TEXT --+
Boring line
Not interesting line
Useless line
Tim,
Thanks.
This is what I was looking for.
Ben,
The compiler(s) are from Altera.
I''m doing digitital designs for FPGA's .
The tool it self is quartus and uses atleast these steps
quartus_map
quartus_fit
quartus_asm
quartus_sta
I'm a general user.
I'm not experienced in vim programming.
So
Hi,
I have certain mappings defined in a file
+-- mapping file --+
F8 is Select all
noremap F8 gggHC-OG
inoremap F8 C-OggC-OgHC-OG
cnoremap F8 C-CgggHC-OG
onoremap F8 C-CgggHC-OG
snoremap F8 C-CgggHC-OG
xnoremap F8 C-CggVG
inoremap C-h left
inoremap C-j down
inoremap C-k up
inoremap C-l right
Hi Christian,
Thanks.
Rgds,
Jeri
--
You received this message from the vim_use maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
Hi
I'm having difficulties with mapping CTRL + none-letter keys
Is it possible to make a mapping for CTRL + the ( character?
Something like
imap C-( Hello
This doesn't work for me.
Then I thought apparently shift needs to be added
imap C-S-( Hello
This doesn't work either.
How to do that?
And
1 - 100 of 129 matches
Mail list logo