1
0
mirror of https://github.com/chylex/dotfiles.git synced 2024-11-25 14:42:46 +01:00

Compare commits

...

3 Commits

2 changed files with 24 additions and 16 deletions

View File

@ -1,28 +1,29 @@
set idearefactormode=visual
set ignorecase set ignorecase
set incsearch set incsearch
set noerrorbells
set number set number
set relativenumber set relativenumber
set scrolloff=12 set scrolloff=999
set showcmd set showcmd
set showmode set showmode
set sidescrolloff=48 set sidescrolloff=999
set smartcase set smartcase
set virtualedit=onemore set virtualedit=onemore
set visualbell set visualbell
set acejump set ideaglobalmode
set argtextobj
set exchange
set highlightedyank
set ideajoin set ideajoin
set matchit set idearefactormode=visual
set multiple-cursors
set ReplaceWithRegister Plug 'argtextobj.vim'
set surround Plug 'nerdtree'
set textobj-entire Plug 'vim-ReplaceWithRegister'
set textobj-indent 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 " http://vimdoc.sourceforge.net/htmldoc/vimindex.html
@ -212,6 +213,7 @@ nmap mv :action IntroduceVariable<CR>
vmap mv :action IntroduceVariable<CR> vmap mv :action IntroduceVariable<CR>
" Actions for custom version of AceJump " Actions for custom version of AceJump
set acejump
map <Space><Space> :action AceVimAction_JumpAllEditors<CR> map <Space><Space> :action AceVimAction_JumpAllEditors<CR>
map <Space>f :action AceVimAction_JumpForward<CR> map <Space>f :action AceVimAction_JumpForward<CR>
map <Space>F :action AceVimAction_JumpBackward<CR> map <Space>F :action AceVimAction_JumpBackward<CR>

10
.vimrc
View File

@ -12,10 +12,10 @@ set noshowcmd
set noshowmode set noshowmode
set number set number
set relativenumber set relativenumber
set scrolloff=12 set scrolloff=999
set shiftwidth=0 set shiftwidth=0
set showmatch set showmatch
set sidescrolloff=48 set sidescrolloff=999
set smartcase set smartcase
set tabstop=4 set tabstop=4
set wildmenu set wildmenu
@ -53,6 +53,12 @@ map § %
nnoremap <A-b> ge nnoremap <A-b> ge
nnoremap <A-S-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 " Navigate to indents
nnoremap J + nnoremap J +
vnoremap J + vnoremap J +