multiple cursors
This commit is contained in:
20
.ideavimrc
20
.ideavimrc
@@ -17,6 +17,8 @@ set notimeout
|
||||
set easymotion " install easymotion and acejump plugin
|
||||
set surround
|
||||
|
||||
set multiple-cursors " https://github.com/JetBrains/ideavim/wiki/IdeaVim%20Plugins#multiple-cursors-extends-multicursor-support
|
||||
|
||||
|
||||
nnoremap <leader>, :action IdeaVim.ReloadVimRc.reload<CR>
|
||||
|
||||
@@ -34,4 +36,20 @@ nnoremap S ht lr<cr>k$
|
||||
vnoremap J :m '>+1<CR>gv=gv
|
||||
vnoremap K :m '<-2<CR>gv=gv
|
||||
|
||||
map <leader>l V<Action>(ReformatCode)
|
||||
" --------------- multiple cursors ---------------
|
||||
"map <leader>l V<Action>(ReformatCode)" Remap multiple-cursors shortcuts to match terryma/vim-multiple-cursors
|
||||
nmap <C-n> <Plug>NextWholeOccurrence
|
||||
xmap <C-n> <Plug>NextWholeOccurrence
|
||||
nmap g<C-n> <Plug>NextOccurrence
|
||||
xmap g<C-n> <Plug>NextOccurrence
|
||||
xmap <C-x> <Plug>SkipOccurrence
|
||||
xmap <C-p> <Plug>RemoveOccurrence
|
||||
|
||||
" Note that the default <A-n> and g<A-n> shortcuts don't work on Mac due to dead keys.
|
||||
" <A-n> is used to enter accented text e.g. ñ
|
||||
" Feel free to pick your own mappings that are not affected. I like to use <leader>
|
||||
nmap <leader><C-n> <Plug>AllWholeOccurrences
|
||||
xmap <leader><C-n> <Plug>AllWholeOccurrences
|
||||
nmap <leader>g<C-n> <Plug>AllOccurrences
|
||||
xmap <leader>g<C-n> <Plug>AllOccurrences
|
||||
" --------------- end multiple cursors ---------------
|
||||
|
||||
@@ -120,7 +120,12 @@ in
|
||||
render = {
|
||||
new_render_scheduling = true;
|
||||
};
|
||||
misc = { vfr = true; middle_click_paste = false; enable_anr_dialog = false; };
|
||||
misc = {
|
||||
vfr = true;
|
||||
middle_click_paste = false;
|
||||
enable_anr_dialog = false;
|
||||
disable_hyprland_logo = true;
|
||||
};
|
||||
xwayland = lib.mkIf isPc { force_zero_scaling = true; };
|
||||
|
||||
decoration = {
|
||||
|
||||
Reference in New Issue
Block a user