Re: vim command to include a file into current file

2013-08-17 Thread Javier Mediavilla Vegas
El sábado, 17 de agosto de 2013 15:00:32 UTC+2, Tim Chase escribió: > On 2013-08-17 02:18, Javier Mediavilla Vegas wrote: > > > > main.txt > > > > > > > > this is the main text > > > > > > > > \include{snippet.tx

Re: vim command to include a file into current file

2013-08-17 Thread Javier Mediavilla Vegas
El sábado, 17 de agosto de 2013 11:16:05 UTC+2, Javier Mediavilla Vegas escribió: > El viernes, 16 de agosto de 2013 19:15:36 UTC+2, Javier Mediavilla Vegas > escribió: > > > Hi all, > > > Is there any command or any method that allows to include a file in the

Re: vim command to include a file into current file

2013-08-17 Thread Javier Mediavilla Vegas
El viernes, 16 de agosto de 2013 19:15:36 UTC+2, Javier Mediavilla Vegas escribió: > Hi all, > Is there any command or any method that allows to include a file in the > current file you are editing? > > By including a file I don't mean to read it with :read and paste it.

vim command to include a file into current file

2013-08-16 Thread Javier Mediavilla Vegas
ave a conceal behaviour for such an order that loads a file as is in that moment so changes in the file included are reflected in the file that includes it. Thanks in advance, Regards, Javier. -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply

Re: Move the cursor to the position of the first character of the line above

2013-07-15 Thread Javier Mediavilla Vegas
El lunes, 15 de julio de 2013 20:18:48 UTC+2, glts escribió: > On Monday, July 15, 2013 7:53:21 PM UTC+2, Javier Mediavilla Vegas wrote: > > Is there any key stroke that puts the cursor in the column of the first > > letter of the above line? > > Something like - or + but th

Move the cursor to the position of the first character of the line above

2013-07-15 Thread Javier Mediavilla Vegas
gards, Javier. -- -- 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 --- You received this message because you are subscribed to the Google Groups

Re: extracting tags like vim help

2013-07-11 Thread Javier Mediavilla Vegas
ompile. And now, there it is a vim with :helptags that processes any file in a directory and allows tags with spaces (*tag space*) Regards. El miércoles, 10 de julio de 2013 22:38:53 UTC+2, Charles Campbell escribió: > Javier Mediavilla Vegas wrote: > > > Hi, > > > Maybe I

Re: extracting tags like vim help

2013-07-10 Thread Javier Mediavilla Vegas
ags in the same line. For this issue I put the C example. Not because I want to use ctags to extract C tags but because ctags can extract several C tags in the same line. I use linux and exuberant ctags 5.9. Regards, Javier El miércoles, 10 de julio de 2013 16:10:16 UTC+2, Tony Mechelynck

Re: extracting tags like vim help

2013-07-10 Thread Javier Mediavilla Vegas
line. For this issue I put the C example. Not because I want to use ctags to extract C tags but because ctags can extract several C tags in the same line. Regards, Javier El miércoles, 10 de julio de 2013 16:10:16 UTC+2, Tony Mechelynck escribió: > On 10/07/13 15:33, Javier Mediavilla Vega

extracting tags like vim help

2013-07-10 Thread Javier Mediavilla Vegas
and ctags extract both of them althouth they are in the same line. The last change I take into account is to modify "helptags" function in the source code, that has ".txt" and "??x" files hardcoded. Any idea how to achieve this without touching source code? Thanks i

Re: Workflow to generate vim documentation

2013-07-03 Thread Javier Mediavilla Vegas
What I meant is that I want to write something with the level of consistency like vim has it's help files. I wanted to know if there is some public document of the process to create the documentation (not only for adding a documentation for a plugin). I have found a messages.txt file in document

Workflow to generate vim documentation

2013-07-03 Thread Javier Mediavilla Vegas
, Javier. -- -- 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 --- You received this message because you are subscribed to the Google Groups "vim

Re: I'm not getting highlighting syntax for .twig files..

2013-04-28 Thread Javier Garcia
On Saturday, 27 April 2013 20:27:13 UTC+2, Phil Dobbin wrote: > On 27/04/2013 14:41, Javier Garcia wrote: > 'au BufRead,BufNewFile {*.twig} set ft=htmljinja' Thanks, works! -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your re

I'm not getting highlighting syntax for .twig files..

2013-04-27 Thread Javier Garcia
Hi, I have installed .vim/syntax/htmljinja.vim and wrote this in my .vimrc: au BufRead,BufNewFile *.twig set syntax=htmljinja Any idea? 7.3.912 Javi -- -- 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 inf

Re: Show the list of the files inside the folder of the current file

2012-11-13 Thread Javier Garcia
I meant when I open a new tab. -- 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

Re: Show the list of the files inside the folder of the current file

2012-11-13 Thread Javier Garcia
Thanks Shlomi, but in that case, I should change first to the folder's file using something like :cd %:h. In other case, :E shows the root proyect folder files, doesn't it? -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying

Show the list of the files inside the folder of the current file

2012-11-13 Thread Javier Garcia
Hi, imagine I'm editing file, and I want to show the list of the files inside the folder who belongs the file I'm editing, to edit one of them. How can I do that? Is there any way using FuzzyFinder? -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply belo

Re: Clear the command line in vim?

2012-11-09 Thread Javier Garcia
Thanks!! it is working now with your method 1. Finally I create a key binding like this: map gm :! ~/my_sript.sh & And this is the content of my_script.sh: #!/bin/sh xdotool windowfocus `xdotool search --name "Mozilla Firefox" | head -1` sleep 2 xdotool key F5 xdotool windowactivate `xdotoo

Clear the command line in vim?

2012-11-08 Thread Javier Garcia
Hi, I want to automatize a process to debug PHP apps. So I'm using this plugin that after starting the debugging process (F5) it shows this message in the command line: waiting for a new connection on port 9000 for 5 seconds... So, inmediately after that throwing that message I would like to c

Re: Just to know the value of a variable using xdebug in vim

2012-11-07 Thread Javier Garcia
Well, this is the instructions and the plugin I'm talking about: https://github.com/ludovicPelle/vim-xdebug http://2bits.com/articles/using-vim-and-xdebug-dbgp-for-debugging-drupal-or-any-php-application.html#comment-1490 -- You received this message from the "vim_use" maillist. Do not top-post!

Just to know the value of a variable using xdebug in vim

2012-11-07 Thread Javier Garcia
I'm new to debugging using xdebug (or any other software), so I installed this plugin, and I followed these instructions just to know the value of variable. So for checking the value of a variable I think these are the steps: Create the breakpoing Press F5 in vim Press F5 in browse

Trying to use xdebug on vim

2012-11-06 Thread Javier Garcia
Hi, I'm trying to use xdebug with vim on linux. I follow the instructions to install xdebug and after that I can see the information about xdebug if I call phpinfo() from a file inside the apache server. After open a file in vim, it is supposed that when I press F5 it should show something lik

Re: How to change word boundary?

2011-11-07 Thread Javier Rojas
iskeyword and > toggle it back once I'm done. Could you anybody let me know what is > the best way to do so? Thanks! See :help :set+= and :help :set-= -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: drawing and column editing in vim

2011-10-21 Thread Javier Rojas
On Fri, Oct 21, 2011 at 03:41:39PM +0200, Eric Smith wrote: > What is the solution to make vim behave more like > a graphics application? (which of course it was never designed > for). You should try asciio. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: Shortcut for convertion between different naming conventions

2011-09-24 Thread Javier Rojas
ot;abolish" plugin https://github.com/tpope/vim-abolish Particularly the coercion functionality. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: LaTeX folding

2011-09-11 Thread Javier Rojas
he line "let g:tex_fold_enabled=1" in your ~/.vimrc 2. putting the line "setlocal foldmethod=syntax" in your ~/.vim/ftplugin/tex.vim file (create dirs and file if any is missing.) -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: "yank inner word"

2011-09-10 Thread Javier Rojas
ry help search I could think might be relevant but nowhere is > yiw defined. :help iw most, if not all core Vim operations let you use a motion or region; you can use any motion with, e.g., the (y)ank operation. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: Syntax errors in shell scripts

2011-08-25 Thread Javier Rojas
ash syntax file by default, add the following line to your .vimrc file: let g:is_bash=1 Check also :help ft-bash-syntax -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: Establishing filetype for a class of documents

2011-07-16 Thread Javier Rojas
On Sat, Jul 16, 2011 at 11:22:43AM -0400, Eric Weir wrote: > > You can check the contents of a file to figure out its filetype. Check > > > > :help new-filetype-scripts > > Thanks Javier. The help might help, but what I would like to do would be to > include a cl

Re: Establishing filetype for a class of documents

2011-07-16 Thread Javier Rojas
gnized > as markdown filetype. You can check the contents of a file to figure out its filetype. Check :help new-filetype-scripts -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: How To Emulate An ISPF Editor Feature in Vim

2011-05-24 Thread Javier Rojas
buffer or buffers). You can see the list using the :cwindow command. See :help :vimgrep , and :help quickfix.txt -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: generación de nuevos POT y PO

2011-05-14 Thread Javier Rojas
Sorry about this email, was intended for *another* vim related list I'n subscribed to. signature.asc Description: Digital signature

generación de nuevos POT y PO

2011-05-14 Thread Javier Rojas
y .PO. ¿Hay alguna forma de invocar po4a para que sólo cree esos dos archivos, sin actualizar todos los otros PO y POT? Saludos, -- Javier signature.asc Description: Digital signature

Re: Problems with vim.org scripts site

2011-02-11 Thread Javier Rojas
ysql.sock' (2) > > and I often get > Error 503 Service Unavailable > while accessing http://www.vim.org/scripts/index.php > > Maybe it's a temporary problem, just wanna let you know. There is a mirror for all the scripts, presented as git repositories, in: http://vi

Re: Delete lines matching hits

2011-02-05 Thread Javier Rojas
On Sat, Feb 05, 2011 at 10:14:19AM -0800, Eduard wrote: > ... > to copy all matching lines, whole lines, containing hits. > > I wonder if there's a way to do the same but instead of copying them > to the clipboard, delete them. :g/pattern/d See :help :g -- Javier Rojas GP

Trying to write a command that begins with “%”.

2011-02-04 Thread Javier Garcia
Hi, i have found somewhere that this below should remove the first column of a document. | %s/^[^\t]*\zs\t[^\t]*\ze//g | But when i just try to write "%" it doesn't show anything in the command line. Any idea? Regards Javi -- You received this message from the "vim_use" maillist. Do no

Re: Vim homepage - improvements I'd like to implement. Comment please

2010-12-31 Thread Javier Rojas
But I do know that implementing that is: 1) a huge burden 2) reinventing the wheel. Maybe an optional "bugtracker" field to be filled by the author, which is the URL of the bugtracking system the author uses, if any. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: error curioso al enviar cambios - repo

2010-12-12 Thread Javier Rojas
I'm sorry with you all, wrong mail list. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

error curioso al enviar cambios - repo

2010-12-12 Thread Javier Rojas
e:169 To g...@git.assembla.com:vim-doc-es.git 2880ed0..2120545 upstream-master -> master Saludos, -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

mecánic a del proyecto - ramas, releases, etc

2010-12-11 Thread Javier Rojas
Hola, ¿Cuál es la funcionalidad que cumplen las distintas ramas (master, manpages) que tenemos en el repositorio? Por otro lado, ¿De qué manera estamos fijando los milestones? ¿Con qué criterio se hace release de tarballs? Saludos, -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc

vim scripts page

2010-12-04 Thread Javier Rojas
; hence we end up with many[2] different[3] versions of the same script. I'm sure I don't need to point out how can this be a problem for the vim.org casual user looking for a script. Greetings, -- Javier Rojas GPG Key ID: 0x24E00D68 [1]: http://www.vim.org/scripts/script.php?script

how to unit-test vim scripts?

2010-12-04 Thread Javier Rojas
Hi all, Do you vim script authors write tests for your code? how do you do unit testing for your VimL code? I ask because I'd like to do it for some of my scripts, but I don't usually see anything similar being done in other people's scripts. -- Javier Rojas GPG Key

Re: Empty lines in clipboard

2010-11-16 Thread Javier Rojas
he stuff you copy/delete, not into vim's default register, but in the * register (the system's clipboard); because of this, those mappings you define are unnecessary, as that option makes vim use that register (*) anyway. I suggest you keep the 'unnamed' option, and delete the mappings. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: Make gvim faster or get terminal vim to work with colours and,alt-keys

2010-11-03 Thread Javier Rojas
sed folding script (most of python are). -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: A new style of c++ code indenting

2010-10-31 Thread Javier Rojas
Chip's Align: http://www.vim.org/scripts/script.php?script_id=294 godlygeek's tabular: http://github.com/godlygeek/tabular Most of the people at #vim prefer godlygeek's. I haven't used any of them, so I can't say anything about them. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: selection to upper case or lower case

2010-10-30 Thread Javier Rojas
x27;\u')? > ('gu'):('gU')) If I remember correctly, keybindings like Shift-Fn are recognized only by gvim, not by terminal vim (because of limitations of the terminal emulator, e.g., xterm or konsole) Using ~ to toggle the case of text seems more simple to type for me. -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: passing variable to external command

2010-10-12 Thread Javier Rojas
g with the command you want, and then pass it to :exe what you want should be doable with the following (untested): map :let name=input("name: ")\| execute "!gcc -o " . name . ' ' . expand('%') -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: need advice on hjkl and rsi

2010-07-26 Thread Javier Rojas
it helps a lot. You might also want to consider getting a good keyboard, like the ones at http://www.kinesis-ergo.com/keyboards.htm -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: Can vimscript be multithreaded?

2010-07-10 Thread Javier Rojas
em within an autocommand easily > > > > Marc Weber > > > > However, it will cause some problems when a tag has not been finished > but the next ctags command is executed. Create a file to represent a lock while the process of tag creation is running, and delete it when the

Re: How to list all C function name in vim

2010-07-01 Thread Javier Rojas
olding feature. Read about it here :help usr_28 and in this case, you want folding by syntax, which works out of the box with c/c++ files. See :help 28.7 to get folding on your C/C++ file, do a :set foldmethod=syntax on the file -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: show what I type in another window

2010-06-15 Thread Javier
OK, resuming what I've tested so far: On Jun 15, 5:22 am, Kazuo Teramoto wrote: > On Tue, Jun 15, 2010 at 4:02 AM, Markus Koch wrote: > > > A solution with more eye candy would be screenkey. Have a look at it at: > > scr

show what I type in another window

2010-06-14 Thread Javier Rojas
maybe you can suggest an existing application for doing this. Thanks all, -- Javier Rojas GPG Key ID: 0x24E00D68 signature.asc Description: Digital signature

Re: fast file browsing with vim

2010-06-11 Thread Javier Rojas
type d: and get in your list of files all the files in " the actual dir and its subdirs let g:fuf_abbrevMap = { \ "^d:" : [ \ './**/', \ ], \ "^h:" : [ \ '~/', \ ], \ "/d:" : [

Re: Please, suggest a font!

2010-03-04 Thread Javier Rojas
On Wed, Mar 03, 2010 at 04:42:15PM +, Antony Scriven wrote: > Try Consolas or Inconsolata. --Antony +1 for inconsolata -- Javier Rojas GPG Key ID: 0x24E00D68 -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are rep

Re: Trying to go to the definition of class/function in PHP 5 code

2010-02-23 Thread Javier GARCIA
No idea? Is that possible in C++? For those who didnt understand my question, this is an example: Imagine i have tagged several classes (class1, class2, class3, etc) that have the method foo(). If i have this code: $class3_object = new class3(); $class3_object->foo(); I'd like to go *directly

Trying to go to the definition of class/function in PHP 5 code

2010-02-22 Thread Javier Garcia
Hi, i have installed vim 7.2 and ctags 5.8 and created the tags file with "ctags -R /foopath". I have _many methods that are called with the same name_ in several classes, so if i put the cursor in a function calling and i execute ":tag" it shows the _first_ of the tags listed. If the i exec

Re: buffer file status

2009-02-13 Thread Javier Rojas
> way to know about this? gvim takes care of this pretty well. It complains as soon as you focus the window. -- Javier Rojas GPG Key ID: 0xA1C57061 pgpNRHGYPFfJZ.pgp Description: PGP signature

Re: is there any to-do list plugin for Vim?

2009-02-09 Thread Javier Rojas
entage/checkbox function, that I > find satisfying in terms of knowing how much of a project I have done. > http://www.vimoutliner.org/ +1 for vimoutliner -- Javier Rojas GPG Key ID: 0xA1C57061 pgpdcdHa9CLn7.pgp Description: PGP signature

Re: Darkroom and vi

2009-01-29 Thread Javier Rojas
On Thu, Jan 29, 2009 at 06:56:27PM -0800, Mubed wrote: > > I found couple of months ago a program called Darkroom (http:// > they.misled.us/dark-room). Well it is the Windows Editor, which has a http://diveintomark.org/archives/2007/01/21/wrongroom -- Javier Rojas GPG Key ID: 0

Re: turn off diff coloring on diff view

2008-10-26 Thread Javier Rojas
On Sun, Oct 26, 2008 at 11:08:43PM +0100, Andy Wokula wrote: > Javier Rojas schrieb: > > Well, turning off diff highlighting on both windows wouldn't be bad > > either. Is it possible (while keeping the diff-based window > > synchronization)? > > Diff highlighti

Re: turn off diff coloring on diff view

2008-10-26 Thread Javier Rojas
#x27;t be bad either. Is it possible (while keeping the diff-based window synchronization)? -- Javier Rojas GPG Key ID: 0xA1C57061 pgpY2RURoYWyj.pgp Description: PGP signature

turn off diff coloring on diff view

2008-10-26 Thread Javier Rojas
roper positions whenever I add or remove lines. Thanks for your help, -- Javier Rojas GPG Key ID: 0xA1C57061 pgpRY9toaug8I.pgp Description: PGP signature