anyhow, i don't use vim anymore but when i do, i'll give it a shot. i know i can't live without seeking, it's such an important part of your arsenal.
Show HN: A New Basic Vim Motion
11–20 of 43 posts
Re: Show HN: A New Basic Vim Motion
#12Another built-in solution to the problem of mismatches when using the jump commands (f, t, F, T) is the use of ; and , Semicolon will repeat the last jump command, and comma will repeat it in the opposite direction. I find this very useful not only for mismatches that I didn't see, but also for help with quickly formatting text. Along side . to repeat an action, it's incredibly fast to use ; to repeat your last jump…
Re: Show HN: A New Basic Vim Motion
#13Try this combination of options to get functionality similar to emacs's C-s:
:set ignorecase :set smartcase :set incsearch
Re: Show HN: A New Basic Vim Motion
#14this really is a sorely needed feature. vi/vim's lack of "seeking" was really one of the main reasons why i switched to emacs. emacs has a really nice seek, which is just ctrl+s and type whatever you are searching for w/o you needing to hit enter, and you are there. then ctrl+s again to the next match or ctrl+r for reverse. anyhow, i don't use vim anymore but when i do, i'll give it a shot. i know i can't live withou…
Re: Show HN: A New Basic Vim Motion
#15Another built-in solution to the problem of mismatches when using the jump commands (f, t, F, T) is the use of ; and , Semicolon will repeat the last jump command, and comma will repeat it in the opposite direction. I find this very useful not only for mismatches that I didn't see, but also for help with quickly formatting text. Along side . to repeat an action, it's incredibly fast to use ; to repeat your last jump…
It's now some years since I used vim regularly but I recall this regularly annoying me when trying to create visual selections. For example, I'd do "vt," (or whatever) expecting the selection to extend to a given point, and then find myself stuck at a , that I hadn't noticed. And then I'd have to move the cursor by hand to fix things, just like you would in some ordinary text editor.
Re: Show HN: A New Basic Vim Motion
#16How is this better or different than incremental search? Incremental search means it jumps to the first match as soon as you start typing after '/': you don't need to press enter. Try this combination of options to get functionality similar to emacs's C-s: :set ignorecase :set smartcase :set incsearch
Re: Show HN: A New Basic Vim Motion
#17Another built-in solution to the problem of mismatches when using the jump commands (f, t, F, T) is the use of ; and , Semicolon will repeat the last jump command, and comma will repeat it in the opposite direction. I find this very useful not only for mismatches that I didn't see, but also for help with quickly formatting text. Along side . to repeat an action, it's incredibly fast to use ; to repeat your last jump…
The problem with ; is that it doesn't work with t. It just leaves the cursor in the same place, because that's exactly what your t command would do if you typed it again. It's now some years since I used vim regularly but I recall this regularly annoying me when trying to create visual selections. For example, I'd do "vt," (or whatever) expecting the selection to extend to a given point, and then find myself stuck at…
Re: Show HN: A New Basic Vim Motion
#18this really is a sorely needed feature. vi/vim's lack of "seeking" was really one of the main reasons why i switched to emacs. emacs has a really nice seek, which is just ctrl+s and type whatever you are searching for w/o you needing to hit enter, and you are there. then ctrl+s again to the next match or ctrl+r for reverse. anyhow, i don't use vim anymore but when i do, i'll give it a shot. i know i can't live withou…
As I stated in a previous comment, it's called "incremental search" and you can do it in vim. Look here for how: http://linuxcommando.blogspot.com/2008/06/smart-case-insensi...
Re: Show HN: A New Basic Vim Motion
#19this really is a sorely needed feature. vi/vim's lack of "seeking" was really one of the main reasons why i switched to emacs. emacs has a really nice seek, which is just ctrl+s and type whatever you are searching for w/o you needing to hit enter, and you are there. then ctrl+s again to the next match or ctrl+r for reverse. anyhow, i don't use vim anymore but when i do, i'll give it a shot. i know i can't live withou…
As I stated in a previous comment, it's called "incremental search" and you can do it in vim. Look here for how: http://linuxcommando.blogspot.com/2008/06/smart-case-insensi...
Re: Show HN: A New Basic Vim Motion
#20 c/
etc.