mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 23:42:46 +01:00
Compare commits
3 Commits
fc96fddb47
...
63cd476e43
Author | SHA1 | Date | |
---|---|---|---|
63cd476e43 | |||
309f33a2e3 | |||
d0081f9b33 |
30
.ideavimrc
30
.ideavimrc
@ -1,28 +1,29 @@
|
||||
set idearefactormode=visual
|
||||
set ignorecase
|
||||
set incsearch
|
||||
set noerrorbells
|
||||
set number
|
||||
set relativenumber
|
||||
set scrolloff=12
|
||||
set scrolloff=999
|
||||
set showcmd
|
||||
set showmode
|
||||
set sidescrolloff=48
|
||||
set sidescrolloff=999
|
||||
set smartcase
|
||||
set virtualedit=onemore
|
||||
set visualbell
|
||||
|
||||
set acejump
|
||||
set argtextobj
|
||||
set exchange
|
||||
set highlightedyank
|
||||
set ideaglobalmode
|
||||
set ideajoin
|
||||
set matchit
|
||||
set multiple-cursors
|
||||
set ReplaceWithRegister
|
||||
set surround
|
||||
set textobj-entire
|
||||
set textobj-indent
|
||||
set idearefactormode=visual
|
||||
|
||||
Plug 'argtextobj.vim'
|
||||
Plug 'nerdtree'
|
||||
Plug 'vim-ReplaceWithRegister'
|
||||
Plug 'vim-exchange'
|
||||
Plug 'vim-highlightedyank'
|
||||
Plug 'vim-indent-object'
|
||||
Plug 'vim-matchit'
|
||||
Plug 'vim-multiple-cursors'
|
||||
Plug 'vim-surround'
|
||||
Plug 'vim-textobj-entire'
|
||||
|
||||
" http://vimdoc.sourceforge.net/htmldoc/vimindex.html
|
||||
|
||||
@ -212,6 +213,7 @@ nmap mv :action IntroduceVariable<CR>
|
||||
vmap mv :action IntroduceVariable<CR>
|
||||
|
||||
" Actions for custom version of AceJump
|
||||
set acejump
|
||||
map <Space><Space> :action AceVimAction_JumpAllEditors<CR>
|
||||
map <Space>f :action AceVimAction_JumpForward<CR>
|
||||
map <Space>F :action AceVimAction_JumpBackward<CR>
|
||||
|
10
.vimrc
10
.vimrc
@ -12,10 +12,10 @@ set noshowcmd
|
||||
set noshowmode
|
||||
set number
|
||||
set relativenumber
|
||||
set scrolloff=12
|
||||
set scrolloff=999
|
||||
set shiftwidth=0
|
||||
set showmatch
|
||||
set sidescrolloff=48
|
||||
set sidescrolloff=999
|
||||
set smartcase
|
||||
set tabstop=4
|
||||
set wildmenu
|
||||
@ -53,6 +53,12 @@ map § %
|
||||
nnoremap <A-b> ge
|
||||
nnoremap <A-S-b> gE
|
||||
|
||||
" Navigate soft-wrapped lines
|
||||
nnoremap <expr> j v:count ? 'j' : 'gj'
|
||||
vnoremap <expr> j v:count ? 'j' : 'gj'
|
||||
nnoremap <expr> k v:count ? 'k' : 'gk'
|
||||
vnoremap <expr> k v:count ? 'k' : 'gk'
|
||||
|
||||
" Navigate to indents
|
||||
nnoremap J +
|
||||
vnoremap J +
|
||||
|
Loading…
Reference in New Issue
Block a user