mirror of
https://github.com/chylex/dotfiles.git
synced 2025-09-17 17:24:47 +02:00
Compare commits
4 Commits
c1fac762be
...
main
Author | SHA1 | Date | |
---|---|---|---|
d76b82721d
|
|||
580a47aa9b
|
|||
946f464aca
|
|||
1e5c7a752e
|
@@ -76,6 +76,12 @@ sethandler <C-Right> a:vim
|
|||||||
sethandler <S-Left> a:vim
|
sethandler <S-Left> a:vim
|
||||||
sethandler <S-Right> a:vim
|
sethandler <S-Right> a:vim
|
||||||
|
|
||||||
|
if &ide =~? 'rider'
|
||||||
|
" These shortcuts are broken in Rider for some reason...
|
||||||
|
sethandler <A-S-H> a:ide
|
||||||
|
sethandler <A-S-L> a:ide
|
||||||
|
endif
|
||||||
|
|
||||||
" Enable plugins (https://github.com/JetBrains/ideavim/wiki/IdeaVim-Plugins)
|
" Enable plugins (https://github.com/JetBrains/ideavim/wiki/IdeaVim-Plugins)
|
||||||
Plug 'argtextobj.vim'
|
Plug 'argtextobj.vim'
|
||||||
Plug 'vim-exchange'
|
Plug 'vim-exchange'
|
||||||
|
10
.vimrc
10
.vimrc
@@ -60,7 +60,9 @@ highlight SpecialKey ctermfg=8 guifg=#584f46
|
|||||||
|
|
||||||
" Windows GUI
|
" Windows GUI
|
||||||
if has("win32") && has("gui_running")
|
if has("win32") && has("gui_running")
|
||||||
au GUIEnter * simalt ~x " Maximize window
|
autocmd GUIEnter * simalt ~x " Maximize window
|
||||||
|
autocmd GUIEnter * set visualbell t_vb= " Disable bell sound
|
||||||
|
|
||||||
set listchars+=tab:▶\
|
set listchars+=tab:▶\
|
||||||
set renderoptions=type:directx " Fix unicode rendering
|
set renderoptions=type:directx " Fix unicode rendering
|
||||||
set showbreak=→\
|
set showbreak=→\
|
||||||
@@ -181,9 +183,13 @@ xnoremap <C-c> "+y
|
|||||||
xnoremap <C-x> "+x
|
xnoremap <C-x> "+x
|
||||||
|
|
||||||
noremap <C-v> "+gP
|
noremap <C-v> "+gP
|
||||||
inoremap <C-v> <Esc>:set paste<CR>i<C-r>+<Esc>:set nopaste<CR>i
|
inoremap <C-v> <C-o>:set paste<CR><C-r>+<C-o>:set nopaste<CR>
|
||||||
cnoremap <C-v> <C-r>+
|
cnoremap <C-v> <C-r>+
|
||||||
|
|
||||||
|
nnoremap <C-s> :w<CR>
|
||||||
|
xnoremap <C-s> :<C-U>w<CR>gv
|
||||||
|
inoremap <C-s> <C-o>:w<CR>
|
||||||
|
|
||||||
" Update search register when using f/t
|
" Update search register when using f/t
|
||||||
function FindChar(action, reverse, search_affix)
|
function FindChar(action, reverse, search_affix)
|
||||||
let t:reverse_search = a:reverse
|
let t:reverse_search = a:reverse
|
||||||
|
Reference in New Issue
Block a user