You are not logged in.

#1 2013-05-17 21:08:29

ubunchu
Member
Registered: 2012-05-01
Posts: 175

Looking for an application/program

The idea is that while having a dual panel output of a text file, I can edit both sides, but on one side it's the raw command and on the right side the aliased/translated command or output.

What i mean:
On the left side:

whatever.*
r2d2klmnpqrchrulez.whatever.mztptmkm.*
0234040404.wat

On the right side the translation/alias:

whatev.*
r2.whatev.mzt.*
02.wat

Both sides editable, and instantly applied on both sides, but only one file.
Do you guys know something like this?
Thanks, cheers!


Don't forget to mark as [SOLVED].

Offline

#2 2013-05-17 21:16:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,422

Re: Looking for an application/program

I have absolutely no idea what you mean. I don't get your examples.
Is it more like a text editor or like a shell?
Are you editing source code / markup language on one side and seeing output on the other?
What do you mean by "output of a text file"? 'cat foo' is different from 'grep bar foo'.

Offline

#3 2013-05-17 21:34:26

ubunchu
Member
Registered: 2012-05-01
Posts: 175

Re: Looking for an application/program

karol wrote:

I have absolutely no idea what you mean. I don't get your examples.

I got a bit confused as well.
No, I'm looking more for an alias generator for a text editor; so that when writing commands (or whatever), instead of writing the whole command, you write a short one instead but it gets it right.
Example:
0234040404=02
whatever.0234040404=whatev.02
But not autocompletion.


Don't forget to mark as [SOLVED].

Offline

#4 2013-05-17 21:41:56

WorMzy
Forum Moderator
From: England
Registered: 2010-06-16
Posts: 4,859

Re: Looking for an application/program

From what you're describing, it sounds like the autocompletion you get in some IDEs; like you start typing the name of a function or a variable, and the IDE gives you the option to complete the word by pressing a key (usually TAB or Return). However, then you say that you don't mean autocompletion, so.. I guess not?


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Online

#5 2013-05-17 21:43:49

ubunchu
Member
Registered: 2012-05-01
Posts: 175

Re: Looking for an application/program

Well, yeah, it can be autocompletion, but with my rules.
(allowing custom command/alias)


Don't forget to mark as [SOLVED].

Offline

#6 2013-05-17 21:44:33

karol
Archivist
Registered: 2009-05-06
Posts: 25,422

Re: Looking for an application/program

Reminds me a bit of http://en.wiktionary.org/wiki/frecency used also in https://github.com/rupa/z but z uses tab completion.

You need a set of rules how are such aliases created e.g. why 0234040404=02 and not 023.
Text editor and text expanding reminds me of vim's abbreviations: http://vim.wikia.com/wiki/Using_abbreviations

I still don't understand how "both sides editable, and instantly applied on both sides, but only one file" works.

Offline

#7 2013-05-17 21:45:18

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,370
Website

Re: Looking for an application/program

Your examples are far too abstract - what are you actually trying to do?  Can you give a real use example?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#8 2013-05-17 21:48:30

WorMzy
Forum Moderator
From: England
Registered: 2010-06-16
Posts: 4,859

Re: Looking for an application/program

Not used it myself, but this sounds interesting/relevant: https://github.com/Shougo/neocomplcache.vim (AUR: https://aur.archlinux.org/packages/vim-neocomplcache/)


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Online

#9 2013-05-17 22:54:32

mariusmeyer
Member
From: Norway
Registered: 2009-04-25
Posts: 244

Re: Looking for an application/program

Trilby wrote:

Your examples are far too abstract - what are you actually trying to do?  Can you give a real use example?

I agree with this, the way that you abstractly describe the app you seek makes me think that you have already decided how you want to do something, but you don't know how to do it/what app to use. Please give a use-case so we can help you, right now it sounds like XY Problem

Offline

Board footer

Powered by FluxBB