You are not logged in.
Pages: 1
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
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
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
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: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Well, yeah, it can be autocompletion, but with my rules.
(allowing custom command/alias)
Don't forget to mark as [SOLVED].
Offline
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
Your examples are far too abstract - what are you actually trying to do? Can you give a real use example?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
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: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
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
Pages: 1