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)
Are you on Mac? Mac has a “press and hold” feature for accents - e.g. pressing and holding a
shows a popup with different accented a
characters - à
, á
, etc. This means by default, pressing and holding j
won’t repeat the character (same in other apps). You can disable this, both system wide and per-application.
Globally:
defaults write -g ApplePressAndHoldEnabled -bool false
Per-application is a bit trickier, because you need to know the app ID.
defaults read | egrep -o 'com\.jetbrains\.\w+' | sort —unique
Should list all JetBrains related app IDs, so you should then be able to do:
defaults write com.jetbrains.pycharm ApplePressAndHoldEnabled -bool false
>>
command) recently? All my projects use tab indents. IdeaVim keeps inserting spaces sometimes when I do >>
. Sometimes it's one space, sometimes more, but always fewer than 4. Is it a bug, or is it a new feature that I need to disable? I don't want half-indented anything. If I wanted that, I would not have been using tabs in the first place.
set NERDTree
in .ideavimrc
and then refresh. And when I type :NERDTree
in command mode it says "Not an editor command: NERDTree". Did I miss something?
If the line above is empty, pressing O
(capital o
) gives me zero indentation. I think it might make more sense to instead match the indentation of the current line, as o
already does. Some reasons: vim seems to act that way; for symmetry with o
; and I think o
's behavior might be better. Re: the last point: almost all of the time the indent I want is closer to the current indent than to zero indent.
(This is in PyCharm. I've already tried moving ideavimrc + restart IDE, no difference.)