Re: Builing Vim on slack for console with clipboard enabled

2010-01-31 Thread Agathoklis D. Hatzimanikas
On Sat, Jan 30, at 04:00 Tim Johnson wrote: I'm using vim 7.2 on Slackware 13.0 32-bit. This system has two 'vims': the gui version compiled as gvim and `vim' compiled without the gui. I would like to recompile the console `vim' with support for the clipboard and without the embedding of

Re: Vim script, not show path.

2010-01-27 Thread Agathoklis D. Hatzimanikas
On Wed, Jan 27, at 03:28 Athunye wrote: I have this little script: function! VS() let mypath = '~/public_html/jeditux.home/vim_sessions/' let ans = input('Session name: ', mypath, 'file') execute ':source ' ans endfunction http://vim.pastey.net/132026 In the line 'let ans =

Re: How to keep an external log of each file opened in vim?

2010-01-27 Thread Agathoklis D. Hatzimanikas
Hi Rémi, On Wed, Jan 27, at 05:27 Rémi Prévost wrote: Sometimes I need to remember which set of files I was working on a few days ago, and I'd like vim to seamlessly store the path of each file I open (along with the date) in this kind of format: (2010-01-27 08:20:00)

Re: How to keep an external log of each file opened in vim?

2010-01-27 Thread Agathoklis D. Hatzimanikas
On Wed, Jan 27, at 04:11 Agathoklis D. Hatzimanikas wrote: Hi Rémi, On Wed, Jan 27, at 05:27 Rémi Prévost wrote: Sometimes I need to remember which set of files I was working on a few days ago, and I'd like vim to seamlessly store the path of each file I open (along with the date

Re: How to keep an external log of each file opened in vim?

2010-01-27 Thread Agathoklis D. Hatzimanikas
On Wed, Jan 27, at 06:36 Rémi Prévost wrote: Agathoklis D. Hatzimanikas a écrit : Sorry, I forgot but you need another event also, BufEnter is a choise that works. But won't using BufEnter add a line to the log each time a buffer is displayed (eg. when switching tabs)? I only want

Re: Greek uppercase Sigma incorrectly transformed into lowercase

2009-09-24 Thread Agathoklis D. Hatzimanikas
Hi Dominique, On Wed, Sep 23, at 10:07 Dominique Pellé wrote: (Warning: this message is written using Unicode encoding utf-8) Vim-7.2.264 (and older) does not correctly transform the Greek uppercase letter Sigma Σ (U+03A3) into lowercase. When transformed into lowercase, this letter should

Re: 'headless' gvim, or netbeans for regular vim

2009-06-06 Thread Agathoklis D. Hatzimanikas
On Fri, Jun 05, at 09:32 Edward Peschko wrote: hey all, I would like to use clewn (http://linux.softpedia.com/progScreenshots/Clewn-Screenshot-31265.html) in an environment that does not have a display (X or otherwise), ie: under a 'screen' session over an ssh shell. Is it possible to

Re: Please give Quick and Easy compile tips for Vim to support basic UTF-8 / 16

2009-04-27 Thread Agathoklis D. Hatzimanikas
On Mon, Apr 27, at 10:22 smu johnson wrote: Hi, I used to run vim 6.0 or so that came with an old Ubuntu installation, and out of the box, it left me edit Japanese UTF-8 type text files. Now, having compiled Vim 7.2 from Bram's source, it doesn't seem to support this out of the box.

Re: Will custom completion of input() do completion at cursor pos?

2009-04-27 Thread Agathoklis D. Hatzimanikas
On Mon, Apr 27, at 06:28 Dasn wrote: On 27/04/09 08:02 +0200, Christian Brabandt wrote: Hi Dasn! On Mo, 27 Apr 2009, Dasn wrote: fun! MyFileComplete(ArgLead, CmdLine, CursorPos) let ret=[file1, file2, file3] A lot more other processing return ret

Re: Sort the buffer list

2009-04-01 Thread Agathoklis D. Hatzimanikas
On Wed, Apr 01, at 01:07 guwegezo wrote: Is it possible to sort the buffer list in Vim? I commonly work with 10-20 files open. They tend to be groups of files from different paths within my project. When I issue :ls, it's often difficult to find the file I'm looking for. Sorting the

Re: The list policy, AGAIN

2009-03-31 Thread Agathoklis D. Hatzimanikas
Hi Derek, On Tue, Mar 31, at 02:28 de...@derekwyatt.org wrote: This topic has been more heavily posted on than anything else by far; I agree. it's weaved its way into other topics as well and it has zip to do with Vim (posting off topic being far worse than the format of the message

Re: Regex substitute only outside strings

2009-03-30 Thread Agathoklis D. Hatzimanikas
On Mon, Mar 30, at 03:00 ivan budiselic wrote: Hi, I'll post a simplified version of my problem. Basically, I want to substitute every occurrence of 'a' (the letter a, without the quotes) with 'b', but only if 'a' is not inside a string, by which I mean it is not enclosed in double quotes.

Re: The list policy, AGAIN

2009-03-30 Thread Agathoklis D. Hatzimanikas
On Mon, Mar 30, at 11:41 John Beckett wrote: Seriously, I have to make it clear that I'm not trying to impose my personal opinion. People in the list have to support my whining and say whether they want conformity or not. I'm not going to take my time to personally educate a bunch of

Re: vim translator

2009-03-30 Thread Agathoklis D. Hatzimanikas
On Sun, Mar 29, at 09:16 JuanPablo wrote: this is my solution function! Translate(entrada) let en=substitute(a:entrada, ,%20,) let en = substitute(en, [ ]*$,,) let palabra= system('curl -e www.google.com

Re: vim translator

2009-03-30 Thread Agathoklis D. Hatzimanikas
On Mon, Mar 30, at 07:10 Agathoklis D. Hatzimanikas wrote: On Sun, Mar 29, at 09:16 JuanPablo wrote: this is my solution function! Translate(entrada) let en=substitute(a:entrada, ,%20,) let en = substitute(en, [ ]*$,,) let palabra= system('curl -e

Re: Toggle language when I switch to command mode.

2009-03-26 Thread Agathoklis D. Hatzimanikas
On Wed, Mar 25, at 11:03 Paris wrote: quote: it is not possible to use greek characters in command mode May I ask why is that so? You said command line in our private exchange and I didn't understand what you were talking about. From :help 'langmap' Your language characters will be

Re: Toggle language when I switch to command mode.

2009-03-25 Thread Agathoklis D. Hatzimanikas
Γειά σου Πάρη, On Wed, Mar 25, at 08:11 Paris wrote: Hello, I am using vim to edit documents in greek and it is really frustrating to have to alt_shift all the time to enter commands. Can vim ignore the language when in command mode? If not, can I have it toggling the language while

Re: script vs source?

2009-03-13 Thread Agathoklis D. Hatzimanikas
Hi Roger, On Fri, Mar 13, at 10:59 roger koenker wrote: [...] on which I would like to operate on with a file, v.vim that looks something like this: %s/^M\([A-Z][ A-Z]\)/\r\1/g %s/^M//g I think you have to escape the ^, otherwise it matches start of line g/^ /-1join write tmp

Re: apps that using readline and allows to configure vi-like keybindings

2009-03-13 Thread Agathoklis D. Hatzimanikas
Hi Anton, On Sat, Mar 14, at 12:07 Anton Sharonov wrote: Vi mode is also available in zsh and dash shells. Note: Zsh is using it's own command line editor (ZLE), and Dash only if is linked against editline¹ (though there is no support for multibyte characters). Thanks for mentioning

Re: How to increment a previously used substitution digit

2009-03-12 Thread Agathoklis D. Hatzimanikas
On Thu, Mar 12, at 12:42 parekh wrote: Hi, I have something like this - reg a0 = abc[0] reg a0 = abc[0] reg a0 = abc[0] reg a0 = abc[0] I am trying to create something like this - reg a0 = abc[0] reg a1 = abc[1] reg a2 = abc[2] reg a3 = abc[3] Any recommendations on how I can

Re: [Off Topic] grep fails on Little-endian UTF-16 Unicode character data?

2009-03-09 Thread Agathoklis D. Hatzimanikas
On Mon, Mar 09, at 09:16 Ben Kim wrote: Thanks. I could not figure out how to navigate through the results. I just started vim without opening files, and did something like :vimgrep /\cstandard/ n* Vim opens only the first file. I'll have to read the help again. Here's a

Re: Is it possible to expand Character classes?

2009-03-04 Thread Agathoklis D. Hatzimanikas
Hi Sean, On Wed, Mar 04, at 04:09 Sean wrote: Hi, Assuming I have let valid_char = [a-z] Now, I want to get the list of all valid characters from above definition: let expand_result = abcdefghijklmnopqrstuvwxyz Is it possible to do something like (pseudo code): let expand_result

Re: Working with digraphs?

2009-02-17 Thread Agathoklis D. Hatzimanikas
Hi Christian, On Tue, Feb 17, at 12:03 Christian Brabandt wrote: Not bad! I have been thinking about it, and one could even implement a custom completion function. You need to get http://www.unicode.org/Public/UNIDATA/Index.txt and set the readfile() expression according to the location

Re: Scripting languages

2009-02-16 Thread Agathoklis D. Hatzimanikas
On Mon, Feb 16, at 12:54 pansz wrote: Teemu Likonen 写道: On 2009-02-13 11:42 (+0100), Tony Mechelynck wrote: But if we are more practical, Lisp is more powerful and elegant for interactive programmable environments. One reason are exactly the nested parentheses and other is the

Re: E806: Using Float as String

2009-02-16 Thread Agathoklis D. Hatzimanikas
On Mon, Feb 16, at 07:24 Maxim Kim wrote: On 16 фев, 18:13, Agathoklis D. Hatzimanikas a.hat...@gmail.com wrote: On Mon, Feb 16, at 06:26 Maxim Kim wrote: I have just discovered that I can't C-R=100*0.3 . Is it supposed to be that way? Patch 7.2.011 fixed that problem. Ah

Re: Working with digraphs?

2009-02-15 Thread Agathoklis D. Hatzimanikas
On Sun, Feb 15, at 08:34 Christian Brabandt wrote: ok, so digraphs are not the best method for writing longer sets of characters. For me, I like the use of digraphs (since I use them only occasionally), I just dislike the way how to find the character you are looking for Just a

Re: Working with digraphs?

2009-02-15 Thread Agathoklis D. Hatzimanikas
On Sun, Feb 15, at 10:15 Agathoklis D. Hatzimanikas wrote: On Sun, Feb 15, at 08:34 Christian Brabandt wrote: ok, so digraphs are not the best method for writing longer sets of characters. For me, I like the use of digraphs (since I use them only occasionally), I just dislike the way

Re: my NewBufferAsMenu() don't match line

2009-02-12 Thread Agathoklis D. Hatzimanikas
Hi Marc, On Thu, Feb 12, at 04:34 Marc Chantreux wrote: hello world, This is my attempt to add neat menus in vim using buffers. It can be usefull if you have a script that can save some options in a file. the idea is: - call NewBufferAsMenu('Foo') opens a new buffer with some

Re: Dealing with address books

2009-02-10 Thread Agathoklis D. Hatzimanikas
On Tue, Feb 10, at 09:00 Tom Link wrote: For example, with a such entry in my aliases file : alias chuck Chuck Nurris his.em...@invalid.invalid could have a (case insensitive) completion based on the alias, the first name, name or the email. The simplest solution would be to keep the

Re: Dealing with address books

2009-02-10 Thread Agathoklis D. Hatzimanikas
On Tue, Feb 10, at 07:32 Agathoklis D. Hatzimanikas wrote: On Tue, Feb 10, at 09:00 Tom Link wrote: For example, with a such entry in my aliases file : alias chuck Chuck Nurris his.em...@invalid.invalid could have a (case insensitive) completion based on the alias, the first name

Re: how does russians use vim?

2009-02-02 Thread Agathoklis D. Hatzimanikas
On Mon, Feb 02, at 07:42 Bram Moolenaar wrote: Valery Kondakoff wrote: On 01.02.2009 21:13, Agathoklis D. Hatzimanikas wrote: Plea from a Russian Vim user: 'langmap' doesn't work with encodig=utf8, and who is using 8-bit encodings today? There is patch for this, see

Re: Not an editor command?

2009-01-30 Thread Agathoklis D. Hatzimanikas
On Fri, Jan 30, at 10:24 Ian Duncan wrote: Well I've tried just using :source to load some scripts, but I'm still confused. The command GhciFile is definitely in the shim.vim script that I load by doing :source ~/.vim/plugins/shim.vim, but even after that I get Not an editor command:

Re: Not an editor command?

2009-01-30 Thread Agathoklis D. Hatzimanikas
On Fri, Jan 30, at 10:51 Ian Duncan wrote: shim.vim is in my ~/.vim/plugins and contains GhciRange and GhciFile. Here's my .vimrc: If shim.vim is the plugin in: http://www.vim.org/scripts/script.php?script_id=2356 then, what the following command returns: echo has('ruby')

Re: Navigating complicated file hierarchies

2009-01-20 Thread Agathoklis D. Hatzimanikas
On Tue, Jan 20, at 10:24 Tom Link wrote: I've been using autochdir...the only broken thing I've noticed is saving and restoring sessions The same here. I don't think it will break too many other plugins since without that option you cannot make any assumptions about the current

Re: Trying gVim-7.2 on Windows: problems with locale and messages

2009-01-16 Thread Agathoklis D. Hatzimanikas
On Fri, Jan 16, at 08:10 Dominique Pelle wrote: Tony Mechelynck wrote: yes, Linux, an open-source system, is more open to what users want; it has a long tradition of supporting Esperanto as just a language like any other. If you want to understand Window's standpoint (if any) on

Re: scripting: split into seperate files based on line contents

2009-01-15 Thread Agathoklis D. Hatzimanikas
On Fri, Jan 16, at 12:47 Agathoklis D. Hatzimanikas wrote: Thats the problem when you try to find a meaningful name for a script in the last second. let parser = {} let linus = {} let parser['delim'] = { let linus['delim'] = { \ 'dat' : '' \, 'csv' : ';' \ } let

Re: [vimhelp-de] merry christmas

2008-12-28 Thread Agathoklis D. Hatzimanikas
On Sun, Dec 28, at 10:07 Tony Mechelynck wrote: On 28/12/08 07:29, Ben Schmidt wrote: By the way, the spelling of Christ is χριστος; certainly in biblical and classical Greek, and by the look of it also in Modern Greek (a quick glance at a Modern Greek Bible translation tells me).

Re: Help with scripting commands, on a vim-crypted file.

2008-12-07 Thread Agathoklis D. Hatzimanikas
On Sun, Dec 07, at 04:49 Harry wrote: On Dec 7, 2:51 pm, Matt Wozniski [EMAIL PROTECTED] wrote: On Sun, Dec 7, 2008 at 2:46 AM, Harry wrote: On Dec 6, 2:35 pm, Matt Wozniski wrote: On Sat, Dec 6, 2008 at 2:09 AM, Harry wrote: What I've seen so far is this. 1. If I issue  

Re: Help with scripting commands, on a vim-crypted file.

2008-12-07 Thread Agathoklis D. Hatzimanikas
On Sun, Dec 07, at 03:46 Agathoklis D. Hatzimanikas wrote: On Sun, Dec 07, at 04:49 Harry wrote: But here's what I'm doing presently: vim -c 0r ! cat /tmp/new-note -c 'set key=foo' db The '0r' part does work. But I still get prompted for the key, even though I specified

Re: Using one buffer as information screen

2008-11-23 Thread Agathoklis D. Hatzimanikas
On Sat, Nov 22, at 08:59 Fredrik wrote: I am making notes of my spendings in a cashbook. I am inputting a line like this: -10 Beer So I was thinking that it would be nice if I could in a second buffer see all my previous entries regarding beer (to give me an idea of just how much

Re: Using one buffer as information screen

2008-11-23 Thread Agathoklis D. Hatzimanikas
On Sun, Nov 23, at 11:15 Agathoklis D. Hatzimanikas wrote: On Sat, Nov 22, at 08:59 Fredrik wrote: I am making notes of my spendings in a cashbook. I am inputting a line like this: -10 Beer So I was thinking that it would be nice if I could in a second buffer see all my