Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    AmonsLintao
    @AmonsLintao
    image.png
    2 replies
    Hey, guys. If it's possible to set the idea show the floating hint when there's error under the caret. Like I hover my mouse over here.
    Happy Friday btw.
    mlch911
    @mlch911:matrix.org
    [m]
    Hi. I'm new to ideavim. After I installed ideavim and create ~/.ideavimrc, it doesn't source the vimrc file properly. I had to manually source it everytime. What should I do?
    3 replies
    Zack Xu
    @zackxu1
    Hi. I use ideavim and Rubymine. When I yank and paste a section of code, it gets reformatted. How can disable this? Turning off "format on paste" in Rubymine does not affect ideavim pasting.
    1 reply
    jrhorn424
    @jrhorn424:matrix.org
    [m]
    is there a way to use autocomplete in Ex mode? <Tab> moves between Ex line and editor, while <Alt+/> inserts a character (÷) rather than triggering Hippie Completion.
    1 reply
    AmonsLintao
    @AmonsLintao
    Hey, good fellows. Me again. Want to ask if you have a good way to simulate NERDTree in IDEA? I can't even find related IDEA shortcuts, like zip folder of the current highlighted file.(Navigate in command 1 pane, which is the project pane)
    3 replies
    Ethan Godden
    @lindstrum
    Hi, is it possible to use :sp with a number infront? Works fine without a number, but when I try something like :10sp, it does not seem to work.
    1 reply
    AmonsLintao
    @AmonsLintao
    Is there a way to toggle off/on the inlay hints. This is really handy tool, but I want it to show only when I press some key
    3 replies
    itadder
    @itadder
    hi
    I have two question based on my setup
    so my setup is A Imac 27 inch, with two additional one on each side 32 inch Dell monitors. IT Also includes a Mac Version of Dask keyboard, which replaces the Insert Key with eject button.
    I remote in to most of my work stuff via VPN to my work laptop on the is mac. So in pycharm or datagrip or webstorm, I don't have access to the insert key.
    1. Knowing that, How do I replace the eject button or some other key where insert is used in vim or idea vim?
    2. Also what the key sequence to do multiline commenting in Datagrip or other intellij idea using IDEA VIM?
    1 reply
    I know of control / for single line comments
    itadder
    @itadder
    hi
    How do I get Surround With or By to work with IDEVIM
    Crtrl ALT T does not work
    1 reply
    itadder
    @itadder
    Hi
    IS thier a vim way to for excel wrap a select statement in datagrip with ()
    hi
    I am here
    surrond with
    maxwillx
    @yueyingjuesha
    Hi, I found intellij use one global navigation history(jump history) across multiple split window(I map ctrl-o to Action :Back), not like vim which treat navigation history seperately per split. Is there any method I can do to hack to treat each split window's jump history seperately?
    1 reply
    Aasutosh Jha
    @aasutossh
    use ideavim shortcuts when no tab is opened? ideavim mappings works fine when an editor tab is open but won't work when there is no tab opened.
    2 replies
    Aasutosh Jha
    @aasutossh
    the action Back doesn't work properly. It just loops in the same two locations.
    but Ctrl + Alt + Left arrow key works for multiple files.
    action Forward doesn't even work.
    Matt Ellis
    @citizenmatt
    Check out https://youtrack.jetbrains.com/issue/VIM-2225. I suspect the mapping syntax you’re using could be updated.
    Aasutosh Jha
    @aasutossh
    Thank you so much @citizenmatt , newer syntax worked. nmap <C-O> <Action>(Back)
    K Wolf
    @wolfisdev_gitlab
    Hi, is there a way to globally prioritize keybindings defined in .ideavimrc over the keybindings of the IDE's keymap? How to you guys resolve conflicting keybindings?
    3 replies
    Michal Placek
    @MichalPlacek

    @AlexPl292
    Hi Alex
    Yor comment for VIM-1476:
    "Actually, it looks like this case is a bit more complicated than expected. Because at the moment lastKeys contain a list of "raw" commands, so in case if user types ab then presses left arrow and types c (acb in the result), we should also process this left arrow for correct . register representation. But since in IdeaVim dot register has only representation purpost, I guess this small inconsistency can be ignored at the moment."

    Is there a task for this?
    I would try to fix it.

    1 reply
    Jacob Bosco
    @Jacob3075
    Hi, I am using ideavim on IDEA and i have a mapping for the "f" key but it does not get applied when the project is opened, I have to go the rc file and make some changes so that I can source the file manually, after the manual source it works. So far I have noticed this only for the "f" and "t" keys. Does anyone know how to fix this?
    8 replies
    shico
    @shico:matrix.org
    [m]
    I have my leader key set to space, and one mapping doesn't work when I start intellij which is <Leader><Leader>. All the other mappings work except this one, I have to source my .ideavimrc file in order to get that mapping working.
    euri10
    @euri10:matrix.bartab.fr
    [m]
    greetings, anyone would have an idea how this leader key could work in ideavim
    nmap <silent><Leader>g :call setbufvar(winbufnr(popup_atcursor(split(system("git log -n 1 -L " . line(".") . ",+1:" . expand("%:p")), "\n"), { "padding": [1,1,1,1], "pos": "botleft", "wrap": 0 })), "&filetype", "git")<CR>
    it currently does nothing, other leader key mappings work fine, unfortunaltely this is my most-used and favorite in vim and I can't make it work here
    4 replies
    euri10
    @euri10:matrix.bartab.fr
    [m]
    sure, when you are on a file that is "gitted" and press leader g on any line, then it popups a small window with the git commit where that line was added
    it's basically doing git log --max-count=1 -L 364,+1:services/sfjapi/tests/conftest.py in that case
    but inside the editor
    Lee Turner
    @leeturner
    git-blame.png
    Can't seem to attach this image to the thread so will post it here . This is the GitToolBox git blame dialog
    euri10
    @euri10:matrix.bartab.fr
    [m]
    yep, git blame -L 364,+1 services/sfjapi/tests/conftest.py would output dde5debe (euri10 2021-02-28 15:05:38 +0100 364) job = ArqJob(job_id=job_id, redis=arq_redis) while git log --max-count=1 -L 364,+1:services/sfjapi/tests/conftest.py would be more complete and look like
    commit dde5debe1aa8579376834402abed88ab6f52d6b5
    Author: euri10 <benoit.barthelet@gmail.com>
    Date:   Sun Feb 28 15:05:38 2021 +0100
    
        Passing test with seperated lake update : it happens in its own fixture after upload_ls
    
    diff --git a/services/sfjapi/tests/conftest.py b/services/sfjapi/tests/conftest.py
    --- a/services/sfjapi/tests/conftest.py
    +++ b/services/sfjapi/tests/conftest.py
    @@ -362,0 +363,1 @@
    +    job = ArqJob(job_id=job_id, redis=arq_redis)
    I did not know that plugin , will try it, I tend to prefer using defaults but :)
    3 replies
    NEUKhoaLe
    @NEUKhoaLe
    can anyone tell me how to remap Escape on ideavim
    1 reply
    ryandanielspmc
    @ryandanielspmc

    Is it possible to express the escape key from from a mapping such as:

    nnoremap <leader>1 iprintln("======")(...escape here...)

    In actual Vim I would do this by typing ctrl-v then the escape key, but this does not seem to work in IdeaVim. Is there another way to do this?

    2 replies
    Pavel Gorgolevskiy
    @mechos3d
    Hi all !

    External filters do not seem to work for me in Idea
    In vim we can filter text through external script like this:

    Having a cursor on a line like this:

    something

    I execute command:

    :.! echo __$(cat)__

    And get a line:

    __something__

    In Idea this doesn't seem to work.

    :.! echo __$(cat)__
    just returns the string __$(cat)__ as is.

    :.! echo foo or :.! cat or :.! ls work like expected though - they insert the results of these commands

    But for example:
    This works in vim:

    :.! ruby -e 'puts 777'

    (it will insert 777 at current line)
    But in Idea it just deletes current line for some reason.

    13 replies
    Edward Amons
    @Edwardlin-zlt
    image.png

    image.png

    How you guys select the whole block using vim shortcuts when cursor at any place inside the block

    4 replies
    Michal Placek
    @MichalPlacek
    @AlexPl292
    Hi Alex,
    Finally I have some free time.
    I was looking at VIM-1062.
    I think i`m able to do this task.
    The way "bd" and "bdX" is supposed to work is obvious.
    I have question to "bn" and "bp":
    next and previous should be taken from buffer list or from tabs order ?