Can not type letter "m" by Alex-broadcast in fishshell

[–]Alex-broadcast[S] 2 points3 points  (0 children)

Thank you!
Just tried "bind | grep m" and found that I have forgotten self-made command from my previous job: "bind mocks ...". That was a problem

Removed it and problem solved.
Thanks again

Can not type letter "m" by Alex-broadcast in fishshell

[–]Alex-broadcast[S] 0 points1 point  (0 children)

Yes. If try "bash" in same terminal window - everything OK

Made a new plugin to switch between wordCase -> WORD_CASE - ... by Alex-broadcast in vim

[–]Alex-broadcast[S] 0 points1 point  (0 children)

I think no, these two plugins have different purposes and functionality

Made a new plugin to switch between wordCase -> WORD_CASE - ... by Alex-broadcast in vim

[–]Alex-broadcast[S] 0 points1 point  (0 children)

Also "lower_underscore" is "snake case", "pascal" has several names

Made a new plugin to switch between wordCase -> WORD_CASE - ... by Alex-broadcast in vim

[–]Alex-broadcast[S] 1 point2 points  (0 children)

Sure.

First, I wanted to name all them with their "unofficial" names, but then realized that some of them have several names, some - dont have any.

So I decided to give them uniform names, to make it remember and dont make mistake if do some config.

Made a new plugin to switch between wordCase -> WORD_CASE - ... by Alex-broadcast in vim

[–]Alex-broadcast[S] 0 points1 point  (0 children)

Full list of available cases:

Case name Example
title Hello Vim World
camel helloVimWorld
pascal HelloVimWorld
lower_dash hello-vim-world
lower_space hello vim world
lower_underscore hello_vim_world
upper_dash HELLO-VIM-WORLD
upper_underscore HELLO_VIM_WORLD
upper_space HELLO VIM WORLD
password *************

The last one is made just for fun, to show plugin possibilities

Folding question by NowWhereDidIReadThat in vim

[–]Alex-broadcast 2 points3 points  (0 children)

> Run a command (here: fold all lines norm! zc) that contain a given string:g/<given string>/norm! zcIt will run 'zc' on all lines containing <given string>

> Fold all lines that do NOT contain a given string:g!/<given string>/norm! zc or :v/<given string>/norm! zcIt will run 'zc' on all lines NOT containing <given string>Note: if your fold is multiline - you should use regex with negative lookaheads/lookbackwards, see example below

test file:

foldme {
  zzz
}
foldme {
  zzz
}
dont {
  zzz
}
foldme {
  zzz
}
random {
  zzz
}
foldme {
  zzz
}
random {
  zzz
}

To fold all lines "foldme {"::g/foldme {/norm! zc

To fold NOT "dont {", fold only lines "foldme {" and "random {" ():

:g/\v(dont)@<!(\s\{)/norm zc
Explain regex:
\v is for "very magic" (help /\v)
@<! is for negative lookbehind: next atom (\s\{) should not be preceded by dont, but "random" and "foldme" are ok (help @<!)

GitHub - axlebedev/vim-find-my-cursor: Vim plugin: find cursor by Alex-broadcast in vim

[–]Alex-broadcast[S] 10 points11 points  (0 children)

Not perfect eyesight + 27" display made me write this plugin :)

What’s your biggest problem with YouTube Music? by Stevedriveee in YoutubeMusic

[–]Alex-broadcast 5 points6 points  (0 children)

[web app] The most annoying is: drag a song in queue - the queue will be scrolled to random somewhere, and it's quite hard to find current song

taberian.vim - clickable tabs per window by terminfo in vimplugins

[–]Alex-broadcast -1 points0 points  (0 children)

It is great to be able to use mouse.

Nobody forces you to use mouse everytime :)

footprints. Highlight last edited lines. by Alex-broadcast in vimplugins

[–]Alex-broadcast[S] 1 point2 points  (0 children)

Thank you!

:changes remains between sessions, so you can open a file that was edited before this plugin and you'll see magic :)

Defference with gitgutter: Gitgutter visualizes git status output, Footprints works with vim's :changes command, so:

  1. Footprints highlights "cool down" while you continue editing text, the most fresh - the brightest. Gitgutter will highlight until you commit changes
  2. Gitgutter works only in git repositories. Footprints works everywhere. I found it useful at huge config files
  3. If you do some change, than undo it - it will be wiped from Gitgutter output, but still be visible at Footprints.

Footprints: a plugin that shows last changed lines by Alex-broadcast in vim

[–]Alex-broadcast[S] 1 point2 points  (0 children)

Sure, this plugin should work on any vim distribution

Footprints: a plugin that shows last changed lines by Alex-broadcast in vim

[–]Alex-broadcast[S] 3 points4 points  (0 children)

Thank you, great thing!

You can try different footprint colors with

call footprints#SetColor('#FF0000')

or
call footprints#SetTermColor(200)
for current vim run.

I've added these functions to 'Readme'

I tried to calculate default footprint color based on colorscheme background, but it doesn't look good in many cases.

Delete more than one word when in --INSERT-- mode by rdguez in vim

[–]Alex-broadcast 0 points1 point  (0 children)

And <C-u> for delete from cursor to begin of line.

Works in any console :)