summaryrefslogtreecommitdiffstats
path: root/other/ideavimrc
diff options
context:
space:
mode:
Diffstat (limited to 'other/ideavimrc')
-rw-r--r--other/ideavimrc10
1 files changed, 9 insertions, 1 deletions
diff --git a/other/ideavimrc b/other/ideavimrc
index f88b024..c746971 100644
--- a/other/ideavimrc
+++ b/other/ideavimrc
@@ -32,12 +32,20 @@ set ignorecase
set smartcase
set showmode
nnoremap <C-L> :nohl<CR><C-L>
+nnoremap <F7> :tabp<CR>
+nnoremap <F8> :tabn<CR>
""" IdeaVim options
+" Join and justify paragraphs/lines
set ideajoin " smartjoin
+vnoremap gq :action FillParagraph<CR>
+" Thank you: https://stackoverflow.com/a/37842786/7498073
+" TIP: Got the action name by listing all actions that contain the word fill
+" `:actionlist fill`
"set ideamarks
""" Plugins
+" Couldn't make it to work well :(
" https://github.com/abrookins/WrapToColumn
-nmap gq :action com.andrewbrookins.idea.wrap.WrapAction<CR>
+" vnoremap gq :action com.andrewbrookins.idea.wrap.WrapParagraphAction<CR>