chore: Update ideavimrc
Because IdeaVIM still hasn't support LUA, not even embedded LUA works iirc. REF: https://github.com/JetBrains/ideavim/discussions/402 REF: https://youtrack.jetbrains.com/issue/VIM-2463
This commit is contained in:
parent
1618377cc1
commit
de2ce91538
2 changed files with 12 additions and 47 deletions
|
@ -1,42 +1,16 @@
|
|||
" vim: filetype=vim
|
||||
" ==============================
|
||||
" ________ ++ ________
|
||||
" /VVVVVVVV\++++ /VVVVVVVV\
|
||||
" \VVVVVVVV/++++++\VVVVVVVV/
|
||||
" |VVVVVV|++++++++/VVVVV/'
|
||||
" |VVVVVV|++++++/VVVVV/'
|
||||
" +|VVVVVV|++++/VVVVV/'+
|
||||
" +++|VVVVVV|++/VVVVV/'+++++
|
||||
"+++++|VVVVVV|/VVVVV/'+++++++++
|
||||
" +++|VVVVVVVVVVV/'+++++++++
|
||||
" +|VVVVVVVVV/'+++++++++
|
||||
" |VVVVVVV/'+++++++++
|
||||
" |VVVVV/'+++++++++
|
||||
" |VVV/'+++++++++
|
||||
" 'V/' ++++++
|
||||
" ++
|
||||
" ==============================
|
||||
" null2264's VIMRC
|
||||
" ==============================
|
||||
" NeoVIM is recommended! This vimrc created inside NeoVIM and not tested on
|
||||
" VIM
|
||||
|
||||
" ----- Sourcing Mapping/Config
|
||||
" REF: https://github.com/JetBrains/ideavim/discussions/402
|
||||
" REF: https://youtrack.jetbrains.com/issue/VIM-2463
|
||||
|
||||
" Automatically source config for the correct OS
|
||||
" NOTE: By default the directory of Windows config will be located on
|
||||
" "C:\_config\vim"
|
||||
if has('win64') || has('win32') || has('win16')
|
||||
" Windows
|
||||
so C:\_config\vim\vim_win
|
||||
" Universal
|
||||
so C:\_config\vim\vim_uni
|
||||
else
|
||||
" *nix (Linux/Mac)
|
||||
so ~/.config/vim/vim_nix
|
||||
" Universal
|
||||
so ~/.config/vim/vim_uni
|
||||
endif
|
||||
let mapleader=" "
|
||||
|
||||
map <leader>r <Action>(RenameElement)
|
||||
unmap <C-n>
|
||||
|
||||
" Map ctrl + u as U
|
||||
noremap <C-u> U
|
||||
|
||||
" Map U as redo (ctrl + r)
|
||||
noremap U <C-r>
|
||||
|
||||
" For ideavim stuff
|
||||
so ~/.config/vim/vim_idea
|
Loading…
Add table
Add a link
Reference in a new issue