nnoremap <c-j> <Esc>
and inoremap <c-j> <Esc>
in IdeaVim in Rider. The mapping works in principle, but it doesn't close the autocomplete window. If I also bind "Escape" in the IDE settings to Ctrl+J, it does work to close the completion popup, but I have to press it twice to then also leave insert mode.Hello, I would like to create a custom command in my .ideavimrc. How can I find the list of menu commands that are supported. In Vim I have a :Tidy
command that reformats files. In my .ideavimrc I have
command! Tidy action ReformatFile
When I enter :Tidy
, the status bar indicates
VIM - Action not found: ReformatFile
Hi, buddies~ I want to remap the multiple-cursor plugin and tried this config.
But this won't work. I don't know how to toggle on this multiple-cursor function.
set vim-multiple-cursors
" Remap multiple-cursors shortcuts for Mac
nmap <C-n> <Plug>NextWholeOccurrence
xmap <C-n> <Plug>NextWholeOccurrence
nmap g<C-n> <Plug>NextOccurrence
xmap g<C-n> <Plug>NextOccurrence
nmap <C-x> <Plug>SkipOccurrence
xmap <C-x> <Plug>SkipOccurrence
nmap <C-p> <Plug>RemoveOccurrence
xmap <C-p> <Plug>RemoveOccurrence
if (logger.isDebugEnabled()) {
logger.debug("found file: " + found);
}
About mark.
I know that I can use uppercase to go to the marked place wherever what file I'm currently in.
If I mark use lowercase letter, it will only able to jump to place inside the same file.
Can I change this to I mark use lowercase, and can jump back to the marked place wherever files I'm in?
Hey, guys! I wonder how can I use plugin features in my own plugin?
I am trying to implement selection/deleting/yand with 'f' — like 'vaf', so it would select any form under the cursor (like {...} or "..."). I wasn't able to achieve this with ideavimscript so I am trying to write my code with LivePlugin.
With some lines of code I could put my cursor on the beginning of the current form
val action = actionManager.getAction(":cursive.actions.paredit/backward-up")
action.actionPerformed(event)
The only thing left to do is to say 'v%' in vim, but I can't figure out how to do it from code.
I can't find IdeaVim plugin
val plugin = PluginManager.getInstance().findEnabledPlugin(PluginId.getId("VimPlugin"))
May be someone have an experience with this, any advice will be appreciated
com.maddyhome.idea.vim.listener.VimInsertListener
, which is when insert mode starts, but not when it ends. Thanks!set surround
and set NERDTree
map <leader>e :NERDTreeToggle<CR>
but I can't use <leader>e to toggle nerdtree. because I typed <leader>e which triggered the display of the search box.
map <leader>b <Action>(RebuildProjectOrSmtIdk)