Replies: 6 comments 26 replies
-
Hi @AlexPl292, Super excited about this! So excited in fact, that I immediately downloaded it... and well...
It seems (as of My IDE and environment:
Other IdeaVim related IntelliJ plugins used:
Here is a gist of my ideavimrc Strangely, I was unable to find any exceptions/crashes thrown by IdeaVim (or related) plugins in my PyCharm logs... but am happy to provide them regardless if requested. Also, apologies if I misunderstood this discussion board as the place to report/discuss issues. If that's the case, please do redirect me to the appropriate place and I will transfer this report there 👍 . Thanks for the awesome plugin + work! |
Beta Was this translation helpful? Give feedback.
-
Hi @AlexPl292, Thanks for your hard work. I've updated Ideavim today and I have some problems:
This is my idea.vimrc
Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hello, just found this, and it's exciting 👍 The map command was found in vim wiki: https://vim.fandom.com/wiki/Searching#Case_sensitivity Can you manage to make this work? please, I like this mapping |
Beta Was this translation helpful? Give feedback.
-
Hi! Congrats on this feature! The following line from my configuration no longer works.
Pressing jk simply types 'jk' on IdeaVim 1.8. I confirmed that downgrading to version 0.69 restores the functionality. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I would be very pleased if you could explain the reason for the pipe (|) here, thank you. vnoremap <Tab> >| " Indent with tab in visual mode
...
...
noremap <leader>cc :TComment<CR>| "Toggle comments
noremap <leader>cb :TCommentBlock<CR>| "Toggle comments as a block
...
...
...
cnoreabbrev Wq wq| " Correct common spelling mistakes
... |
Beta Was this translation helpful? Give feedback.
-
This discussion is about the biggest and most interesting change in IdeaVim - vim script support.
Related YouTrack Ticket: https://youtrack.jetbrains.com/issue/VIM-506
For some time we've been working on supporting vim script execution. We've completely rewritten our script execution engine so that now IdeaVim builds the full Abstract Syntax Tree and executes it as a real language and not just a list of simple commands.
In the current 1.7.0 release you can find the following state of the vim script support:
if
,for
,while
and other commands, data structures (like arrays or dicts), functions execution, and expressions calculation.Here is a full roadmap: https://github.com/JetBrains/ideavim/blob/master/vimscript-info/VIMSCRIPT_ROADMAP.md
For the current release, we aim to support everything that IdeaVim can do now with as few new features as possible; stability and preventing any unexpected behavior are our goals.
Special thanks to @lippfi who did this big and incredible change to the IdeaVim project 🎉
Examples
:echo 1 + 2
:echo sin(0.5)
Using
~/.ideavimrc
:Simple function with branching:
Then call the function from ex line
:echo IsThisFive(3)
Mapping with condition
Follow this link to know how to create a numbered list like a pro: http://vimdoc.sourceforge.net/htmldoc/map.html#:map-expression
Q&A
Running vim script plugins by IdeaVim is one of the goals of vim script support. However, this will require an implementation of built-in functions that are used by this plugin.
--
Examples
section.--
Beta Was this translation helpful? Give feedback.
All reactions