Re: Blink shell touch actions to custom mouse actions

2022-02-24 Thread Julius Hamilton
Brabandt wrote: > > On Mi, 23 Feb 2022, Julius Hamilton wrote: > > > Hey, > > > > I’m using iOS SSH apps (Blink shell; Termius) which support various > touch gestures; I believe they get mapped to certain mouse actions in the > terminal. > > > > I’d like to

Blink shell touch actions to custom mouse actions

2022-02-23 Thread Julius Hamilton
Hey, I’m using iOS SSH apps (Blink shell; Termius) which support various touch gestures; I believe they get mapped to certain mouse actions in the terminal. I’d like to customise the effect of these touch gestures in Vim. I am pretty sure I can’t change what mouse action a touch gesture

Re: Sort lines, then tag, then unsort

2021-10-04 Thread Julius Hamilton
On Sun 19. Sep 2021 at 16:29, 'Paul' via vim_use wrote: > > > Will marks suffice? Thanks for your message. Not sure, can you apply the same mark, i.e. “h”, to multiple lines? I don’t think so but I’m not sure. > -- -- You received this message from the "vim_use" maillist. Do not top-post!

Manual join function and encoding

2021-10-04 Thread Julius Hamilton
Hey, I’d like to write some scripts which will act like a join function but manually. If we open some file, let’s say in the computer it’s in some binary code where each character is a string of digits. Then I assume these strings get mapped to characters via the encoding; the most standard is

Sort lines, then tag, then unsort

2021-09-14 Thread Julius Hamilton
I would like to sort lines in a text document and then tag them, and then revert the file to its original order. First of all, is there a way to tag a line, so that lines with a given tag can be quickly referred to, but the tag is not in the actual text? Secondly, I noticed with my sort command

Vim functions documentation

2021-09-10 Thread Julius Hamilton
Hey, I would like to write a command or function in Vim which will return True or False based on some properties of the text in the file. I assume this will be done with the Vim Script language ( http://vimdoc.sourceforge.net/htmldoc/usr_41.html). I thought that sections of the User Manual

Find patterns in Gvim

2021-09-09 Thread Julius Hamilton
Hey, >From trying it myself, it seems that the "find" menu option in Gvim does not allow entering patterns or regular expressions, such as a period to represent any character, or "\n" to represent a newline, but only literal, explicit text matching. I was curious why this is and if there is any

Temporarily edit a vim document without actually changing file

2021-09-09 Thread Julius Hamilton
Hey, I was curious, is there any mode or plug-in in Vim where you could preview the result of a command, for example a global search and replace function, but by default the edit has not actually been written to file, and that requires a specific command to actually save the previewed changed?

Re: Vim mindmap functionality

2021-07-20 Thread Julius Hamilton
of text outside of that object. I'd really appreciate any help on this. Thanks very much, Julius On Monday, July 5, 2021 at 9:43:31 PM UTC cfcol...@gmail.com wrote: > On Mon, Jul 5, 2021, 2:13 PM meine wrote: > >> On Mon, Jul 05, 2021 at 07:59:58PM +0200, Julius Hamilton wrote

Re: Pre-fold output of :r! command

2021-07-06 Thread Julius Hamilton
:55 Christian Brabandt wrote: > > On So, 04 Jul 2021, Julius Hamilton wrote: > > > I would like to print the output of a shell command - a webpage dump - > into a > > Vim buffer, and have those lines immediately folded, rather than a > second step > &

Vim mindmap functionality

2021-07-05 Thread Julius Hamilton
Hello, I wish to enable mindmapping functionality inside Vim by somehow treating regions of text as programmatic objects. For example, with the help of a plug-in, a certain line of text can be recognized as the "current node". Then, if I execute a command like "create new child node", it knows to

Find unnamed swap file

2021-07-05 Thread Julius Hamilton
Hey, I am using Gvim on Andronix, Android Linux, and it suddenly goes down sometimes. I can recover any documents that were named with the .swp file recovery menu. Is there any way I can search for .swp files for files that hadn't been initially saved and named yet? Thanks very much, Julius --

Pre-fold output of :r! command

2021-07-04 Thread Julius Hamilton
I would like to print the output of a shell command - a webpage dump - into a Vim buffer, and have those lines immediately folded, rather than a second step of selecting and folding them. The command would look something like: :r! w3m -dump url.com FOLD How would this be possible? I would like

Plugin works in TUI not GUI

2021-06-25 Thread Julius Hamilton
I recently installed the plugin txtfmt and used it successfully in Vim TUI mode. It is activated with the command :set ft=txtfmt. Then, to highlight a region, you enter \h, then it prompts you for a color. I can confirm the installation in Gvim was successful with the command :MakeTestPage. For

Keymapping txtfmt

2021-06-25 Thread Julius Hamilton
Hello everyone, I am a beginner, so just looking for a little guidance while I read tutorials. I would like to custom map commands from the txtfmt highlighting plugin. My understanding so far is that this could be achieved with a basic syntax such as: map 1 \hf=bi,cg However, the txtfmt

Re: Txtfmt

2021-06-25 Thread Julius Hamilton
> > > The most crude and straightforward way of installing a plugin is just by > dropping the .vim file in your ~/.vim/plugin/ directory. Thanks very much. This help is invaluable. You can do the same for the files that have to go into /ftplugin/, /syntax/, > etc. Just follow the directory

Txtfmt

2021-06-24 Thread Julius Hamilton
Hey, I am trying to get up and running with this highlighting plug in: https://github.com/bpstahlman/txtfmt/blob/master/README.md. Its a bit complicated and I was wondering if someone could please walk me through the basic steps of installation and use. 1. I have to download it. Should I git

Re: C compiler

2021-06-24 Thread Julius Hamilton
Thank you. For some reason, I had to use apt install vim instead of apt-get install vim. Then it was easy. Thanks very much, Julius On Thu, Jun 24, 2021, 18:04 Christian Brabandt wrote: > > On Do, 24 Jun 2021, Julius Hamilton wrote: > > > Hey, > > > > I got

C compiler

2021-06-24 Thread Julius Hamilton
Hey, I got the error "No acceptable C compiler found in $PATH" when trying to make Vim. I am using Andronix, a modded Linux OS, specifically Ubuntu. Does anyone know what C compiler I should install? Thank you, Julius -- -- You received this message from the "vim_use" maillist. Do not

Highlight and annotate plaintext

2021-06-08 Thread Julius Hamilton
Hey, Does anyone know a good command line tool for highlighting and annotating plain text documents? Not syntax highlighting via pattern matching. Just going through a document with a cursor, and highlighting it for the purpose of note-taking. Plus adding comments would be good, but optional.

Highlighting PDFs

2021-05-13 Thread Julius Hamilton
much, Julius Hamilton -- -- 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 Goo

Re: Automating paragraphs (was Re: Dump help pages)

2021-04-20 Thread Julius Hamilton
>> On 2021-04-16 09:42, Julius Hamilton wrote: >> >> > At the beginning of a paragraph which has been separated mid-sentence >> > onto separate lines, how might I automate the process of calling CTRL-J >> > until all the separated lines in the paragraph have bee

Re: Some basic Vim commands

2021-04-19 Thread Julius Hamilton
Thanks very much. I had some success with Tmux, actually. Is there any way to have tabs inside of a split window? I currently have tabs one layer above a split, so if I switch tabs, the split is gone and a single buffer fills the screen. Thanks very much, Julius On Mon, Apr 19, 2021, 15:59

Re: Some basic Vim commands

2021-04-19 Thread Julius Hamilton
Thanks very much. I plan on reading through this soon, when I have the time. I was also curious, I created a split screen with CTRL-W s. But in the lower screen, if I'd like a terminal running there, when I type :sh, the entire Vim application exits, including the top screen. Would there be any

Some basic Vim commands

2021-04-17 Thread Julius Hamilton
I was curious: I can jump to the beginning of some text on a line that begins with whitespace with v, w, h, d. Is there a single command to delete all initial whitespace on a line? I then wanted to jump over a few words to the next number (in brackets). Is there any command to the effect of

Editing mathematics documents

2021-04-17 Thread Julius Hamilton
of a quotient and putting it somewhere else, or an expression to the right of an integral symbol, for example. Or, is there any tool that could do this? Perhaps Emacs? Thanks very much, Julius On Sat, Apr 17, 2021, 15:30 Julius Hamilton wrote: > Thanks very much, really appreci

Re: Automating paragraphs (was Re: Dump help pages)

2021-04-17 Thread Julius Hamilton
such as F9. I will investigate it. However, is there a way to check what non-F keys are free to be mapped to something? Thanks very much. Best regards, Julius On Fri, Apr 16, 2021, 19:27 Stan Brown wrote: > On 2021-04-16 09:42, Julius Hamilton wrote: > > > At the beginning of a par

Re: Dump help pages

2021-04-16 Thread Julius Hamilton
it myself, or it could also repeat until the conditions above. How would I do either? Also, how do I go back to where the cursor previously was, in case I accidentally move it? Thanks very much, Julius On Wed, Apr 14, 2021, 19:21 Charles Campbell wrote: > Julius Hamilton wrote: > &g

Re: Dump help pages

2021-04-13 Thread Julius Hamilton
Thanks very much. Yes, that'll do the trick. Not all pages, but just any individual one I happen to be reading, so I can edit and take notes on it. Thanks very much, really appreciate it. Julius On Tue, Apr 13, 2021, 15:32 Christian Brabandt wrote: > > On Di, 13 Apr 2021, Julius Ha

Re: Dump help pages

2021-04-13 Thread Julius Hamilton
Someone showed me ":hardcopy" and ":TOhtml". ":hardcopy" for me returns "Failed to print postscript file". "TOhtml" opens a new window of HTML, but I don't know how to output it to a file. Would anyone here know how to do that? Thanks very much, J

Re: Dump help pages

2021-04-13 Thread Julius Hamilton
with the "-o" option. Thanks very much, Julius On Tue, Apr 13, 2021, 09:52 Christian Brabandt wrote: > > On Mo, 12 Apr 2021, Julius Hamilton wrote: > > > Is there any way to output the content of the Vim help pages to a text > file, with some sort of dump or output

Dump help pages

2021-04-13 Thread Julius Hamilton
Hey, Is there any way to output the content of the Vim help pages to a text file, with some sort of dump or output command? Thanks very much, Julius Hamilton -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you ar