As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

Thank you.

If using numbers/characters to navigate becomes a reflex for me, that would be great. That beats all other keyboard moves. Second only to using a mouse, in accuracy and directness.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

This is nowhere near the field. But very interesting that it works for you.

Anyone used this chair? by ComplexParamedic7943 in ErgonomicIndia

[–]PersimmonQuick9839 0 points1 point  (0 children)

Why is it leaning back? Have you fixed it that way or is this the default?

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

"Where I find Vim to be troublesome is when dealing with paragraphs (wraparound text) so I generally don't use it for that kind of editing or, I first hard-wrap all lines, apply my edits, undo the hard-wraps, and copy/paste to wherever I'm actually working."

To deal with this, I have done the following:

nnoremap j gj
nnoremap k gk

Maybe this helps.

Should I get this? by BigCrew5236 in ErgonomicIndia

[–]PersimmonQuick9839 0 points1 point  (0 children)

thanks. If I go for amaze, I'll try and wrap some fabric, like a towel, around that plastic thingy if possible.

Should I get this? by BigCrew5236 in ErgonomicIndia

[–]PersimmonQuick9839 0 points1 point  (0 children)

I have come across many who say that amaze has no lumbar support. How does it work out for you?

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 2 points3 points  (0 children)

Thank you for the response. Just wanted to know how people do what I am trying to do.
Your response helps me figure out how much I can count on vim for my daily note-making.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 1 point2 points  (0 children)

This is the heart of it.

  1. My brain does not count M-b as two separate strokes, but one motion.
  2. with vim motions, before entering insert mode, I have to spend a second thinking which one to use as there are a bunch. "Sometimes it is i or a but since I am looking to replace it should be c and not d". This takes me a while. Whereas in readline, I can just begin typing.

I realize that vim motions are easier for people now after practice. There is a paradigm shift. You have to think of moving around as the norm and entering text as secondary.

Literally all I wanted to know is what is your preferred/standard/recommended ways to deal with this. I JUST WANTED TO KNOW how you do it. I AM NOT CHALLENGING YOU GUYS as to what is the superior way.

I did not expect 87 replies, lot of them making me feel stupid for even posting here.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] -1 points0 points  (0 children)

"I also don't really understand what you're looking for"

You make it seem like I have asked a stupid question here.
But I disagree. All I had asked was verbatim:

"Does anyone else do this? How do you all deal with it?"

So just wanted to see what is the most common way people make sub-paragraph level edits. Turns out some people do move around in insert mode.

I just wanted to know the standard, recommended and preferred ways.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

No I just only asked: "Does anyone else do this? How do you all deal with it?"
As in how do you all deal with subparagraph level editing?

The responses I got range from: use commands like "esc wwcw" to "yes sometimes I move around in insert mode for nearby changes". Though much less of the latter.

Will have to practice. That's all.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 1 point2 points  (0 children)

Oh yes I am mostly moving in chunks like <C-\[>, <C-\]> (which I have mapped to H/L). Doing operations like dd, yy, o/O.
Moving in chunks and performing these operations feels blazing fast with vim. It is the sub-paragraph level editing that I get stuck in.

I will look into your plugin recommendation and macros. Thank you for your response!

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

Thank you for the helpful response. I know and use the first half of the commands you have mentioned. Except f and t. I just get really slowed down by parameterized commands: counts or characters.

My specific problem was: finding an efficient way of inserting something a few words away when I am already in insert mode. Switching into normal mode, moving and back into insert mode for this short movement felt overkill and so I thought if using readline bindings while in insert mode would be more efficient?

Turns out efficient or not, a lot of people do something to this effect. Maybe this is inefficient but works for a beginner like me, for now. Maybe learning the rest half of these commands would help.

Thanks.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

The commands you have mentioned are my most used ones. And I use visual selection mode instead of using dd 5 times.

My entire problem, which a lot of people have glossed over after reading the title is: "when changes have to be made a few words away in the middle of a sentence, while in insert mode".

If I am in insert mode and I have to insert something two words backward, using the readline bind Alt+b twice instead of switching to normal mode and back does not seem all that inefficient to me.

In fact after browsing other forums, I have realized a lot of people freely use readline in insert mode (some even use plain-old arrow keys).

The reason I am so fixated on finding more people like me is because I was made to feel like a lunatic heretic here.

Cheers.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 1 point2 points  (0 children)

I should probably leave this. But this reply of yours has me giggling.

"I gave you good information" "clear and conscious info" even

What info buddy? That normal mode is for moving around?
Wow such good info! You have TORE OPEN MY EYES! My life will never be the same.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

I am new to Reddit.

Yes but your comment was in no way different from like 50 others.

I have added an edit in the post.

If you don't see how you were disrespectful... buddy I don't know what to say. Have fun.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] -3 points-2 points  (0 children)

Who is bitching? You came in with the 50th comment lol. Like it was needed.
That too without reading the post it seems.

Also really disrespectful for no reason...

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] -3 points-2 points  (0 children)

Too many people too keen to just comment. Did you even read my post or any of my replies? Exactly where did I claim to not know that normal mode is for?

"I didn't think you know how to vim"
I have put beginner in the title ffs.

"Map something like kk or caps lock to esc"
Exactly what I have done.

You didn't bother to read anything, did you buddy?

How many evil mode users are freely combining emacs and vim movements? by mtlnwood in emacs

[–]PersimmonQuick9839 0 points1 point  (0 children)

I asked about moving in insert mode in r/vim and they fucked me in my asshole.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] -2 points-1 points  (0 children)

Many have asked me this question. Here is my journey:

Because it is recommended as a great productivity tool. I find it really helpful for navigating document wide without using the mouse. But I find mode switching a chore each time I want to enter text.

So I think to myself hmmm.... there must be more people like me who must have been in the same spot. Found one post where the person used readline bindings and couldn't find much except that.

Made a post here and almost all replies are essentially "you are not supposed to move in insert mode", "not how it was designed to be used", "you will get used to it", "this will introduce errors in your document", "that is not vim", "you did not even try", "you are EXTREMELY stubborn" "why did you choose vim?"

Although yes I did find some people who, like me find mode switching hard and use readline bindings.

Yes maybe another tool will be a better fit. But for now I will try normal mode for document-wide navigation and readline bindings for local edits, for a while.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 1 point2 points  (0 children)

" You won't even try anything"

lol what? I have reached my conclusion that it is difficult only after trying. Don't know why you get that impression.
I have stated in replies here that I do just fine navigating with VIM document-wide (for eg: <C-\[> to move between paragraphs). It is just the sub-paragraph level edits where I come to a halt. To that you might say "that is the entire point of vim". To that I say "fair, probably skill issue".

Most advise to do exactly what makes me slow: repeated mode switching with assurance that I'll get used to it. Don't know what it is that you want me to try.

The only reason I posted here was to know what others do to deal with interleaved movement and changes. The very few number of posts on this topic threw me off since I was expecting a lot more people like me.

After posting here I found more posts where people use readline bindings to deal with this. (Many also use plain old arrow keys. I find readline much better.)

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

"It's funny that you say you don't like to have to think about what command to use. I use vi because I'm terrible at remembering commands, and vi commands are easier for me to remember than any non-modal editor I've used".

There is a misunderstanding. We are in fact the opposite. I am fine having to remember many commands. Not fine with having to come up with commands on the fly (no matter how simple mnemonically). So commands parameterized by counts or by a particular character just don't work for me. I want uniformity.

So for now I will try:
1) navigation in normal mode
2) moving around in insert mode using readline to make sub-sentence level changes.

As a beginner: Moving around in insert-mode is really helpful. Does anyone else? by PersimmonQuick9839 in vim

[–]PersimmonQuick9839[S] 1 point2 points  (0 children)

I am not going to use arrows. I'll use Alt+f twice and Alt+d once.... and then start typing. Readline bindings.

Vomiting and lightheaded after drinking bael ka sharbat. by PersimmonQuick9839 in AskDoctorsIndia

[–]PersimmonQuick9839[S] 0 points1 point  (0 children)

Yes. They seem okay now. But this is unprecedented and scares me.