Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
matrixbot
@matrixbot
@jaawerth:matrix.org * Jonatan Brager Sidén (Gitter): I mean, it works for me fine when I put bindkey -v in my zsh. I actually don't do that though - I have a bunch of emacs-isms burned into my muscle memory and I haven't yet gotten around to scripting up conditional overrides for things - when I want a vim experience these days I generally just use :terminal from nvim
Matthieu Coudron
@teto
@bragjo disable everything and do it little by little. With zle-keymap-select and tput keywords, you should be able to go pretty far
Jonatan Brager Sidén
@bragjo
hahaha @jaawerth poor mr.branting! 🤦🏼
@teto that might be wise actually
Ashkan Kiani
@norcalli
I have a keybinding which opens the commandline text in vim on <a-e> in fish
and I use emacs keybindings otherwise
so kinda the same as jaawerth
You can probably achieve the commandline edit in zsh. If your vim has a quick startup time (or you can use NORC) it's the best way to do vi bindings in the shell
Jonatan Brager Sidén
@bragjo
so I did a fresh uninstall of zsh and oh-my-zsh
still the same problem - bindkey-v doesnt work
matrixbot
@matrixbot
@jaawerth:matrix.org Jonatan Brager Sidén (Gitter): Given the breadth of experiences in here I'm sure there are folks who can still help (and when I get time I may tinker around with this now out of curiostiy), and I'm not the off-topic police (I love off-topic!), but you may wanna check out something like #zsh on freenode - it appears to have 455 users in it (I was curious) so it's actually an active channel
Jonatan Brager Sidén
@bragjo
Awsome, thanks alot
trobjo
@trobjo
What is the [m/n] search matches thing called in vimspeak and can I style it somehow?
I have laststatus=0, so I use my ruler instead, with rulerformat set rulerformat=%30(%=%#UserRuler#%t%m%r%w%0(%4(%p%)%)%) and the search information just looks out of place
matrixbot
@matrixbot
@jaawerth:matrix.org @trobjo it's called the cmdline and I don't believe you can customize it much beyond changing its height
trobjo
@trobjo
I found out the highlight group it belongs to is MsgArea but that affects the whole area, so that is not acceptable. What I am looking for instead now is to see if Neovim stores that information in a variable somewhere. Then I could just put that instead.
Björn Linse
@bfredl
the current format/style is hardcoded, but ideally it should be in some variable/function yes
trobjo
@trobjo
Okay at least I then don't have to search the internet anymore. Thanks.
matrixbot
@matrixbot
rir Hi. I am looking for a clue. I would like to ex command ':!less something' but less goes to the bottom of the stream. $LESS settings and args to less have no affect. I would like to change this and understanding what is happening would be good too.
Ashkan Kiani
@norcalli
less goes to the bottom of the screen meaning what?
less won't be executing in a tty if it's executed like that, so it won't do the pagination
Björn Linse
@bfredl
why not just :split something ?
or :terminal something if interactive term is really needed
Jonatan Brager Sidén
@bragjo
I actually dont like the :terminal
I use tmux instead, works better for me
I think the :terminal was kinda buggy
Björn Linse
@bfredl
tmux is irrelevant there, this was about a replacement of :!
matrixbot
@matrixbot
rir Well, ls will paginate but first it bottoms out.
rir Could an abbreviation work?
Björn Linse
@bfredl
an abbreviation could be used like for any command (not sure if you meant it connected to the "bottom out" issue)
matrixbot
@matrixbot
rir Yes, I do mean to get ls to page old school. So I would be looking to do something like :terminal && ls sometext.
Björn Linse
@bfredl
you could even run less inside the terminal, I guess
though making the terminal be focused in normal mode and cursor on the first line, should stop the "bottom out" behaivor
Jonatan Brager Sidén
@bragjo
hmm after my reinstall of iterm2 it seems I dont get my cursor to change to a | when in insert mode
matrixbot
@matrixbot
rir So creating an abbreviation for !ls variable string is not really necessary, an abbreviation for :! (or ! in command mode) would work?
Jonatan Brager Sidén
@bragjo
it’s always this big block cursor no matter what mode I’m in - do u guys know how to fix that?
Jonatan Brager Sidén
@bragjo
@bfredl sorry I didnt see ur previous message, just saw ”:terminal” :D
Alex Mayfield
@AlexMax
Are there plans for LSP support to integrate with vim's built in tags support? or are they too different to even bother make coexist?
It'd be nice for <Ctrl-]> to use LSP if it's available.
James McCoy
@jamessan
That's just an nnoremap away, isn't it?
Alex Mayfield
@AlexMax
Right, but if LSP integrated with tags then all of the tag-related binds would just work out of the box, like <Ctrl-T> and friends.
I'd also like to see some mechanism of populating the quickfix buffer with LSP diagnostics
Björn Linse
@bfredl
writing a 'tagfunc' impl should be posibble
matrixbot
@matrixbot
@jaawerth:matrix.org putting that under LSP would be kinda confusing but having the features play nice would be cool
@jaawerth:matrix.org unless you just implemented a tag LSP server ;-)
Björn Linse
@bfredl
not sure what the difference between "putting that under LSP" and "play nice" would be.
what concretely would be done would be to implement a v:lua.vim.lsp.tagfunc function that 'tagfunc' could be set to.
then if you use that it would just work with the native tagstack etc manipulation
matrixbot
@matrixbot
@jaawerth:matrix.org ah yeah that's true. I was tinking in terms of a more unified async completion thing if we're talking about multiple sources now
@jaawerth:matrix.org (other than just LSP)