mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 14:42:46 +01:00
Compare commits
3 Commits
7ca80f443f
...
35ba420d83
Author | SHA1 | Date | |
---|---|---|---|
35ba420d83 | |||
f66f0990ff | |||
96e832c9cc |
1
.bashrc
1
.bashrc
@ -7,6 +7,7 @@ bind '"\e[B": history-search-forward'
|
||||
alias gh='history|grep'
|
||||
alias less='less --mouse'
|
||||
alias lsa='ls -l -v --all --human-readable --group-directories-first --color=auto'
|
||||
alias vim='vim -p'
|
||||
|
||||
alias d='docker'
|
||||
alias dc='docker compose'
|
||||
|
40
.ideavimrc
40
.ideavimrc
@ -29,14 +29,17 @@ sethandler <C-C> a:ide
|
||||
sethandler <C-E> a:ide
|
||||
sethandler <C-F> a:ide
|
||||
sethandler <C-G> a:ide
|
||||
sethandler <C-H> a:ide
|
||||
sethandler <C-I> a:ide
|
||||
sethandler <C-J> a:ide
|
||||
sethandler <C-K> a:ide
|
||||
sethandler <C-L> a:ide
|
||||
sethandler <C-M> a:ide
|
||||
sethandler <C-R> a:ide
|
||||
sethandler <C-S> a:ide
|
||||
sethandler <C-T> a:ide
|
||||
sethandler <C-V> a:ide
|
||||
sethandler <C-W> a:ide
|
||||
sethandler <C-X> a:ide
|
||||
sethandler <C-Y> a:ide
|
||||
sethandler <C-\> a:ide
|
||||
@ -44,18 +47,16 @@ sethandler <C-\> a:ide
|
||||
sethandler <A-B> a:vim
|
||||
sethandler <A-H> a:vim
|
||||
sethandler <A-L> a:vim
|
||||
sethandler <A-N> a:vim
|
||||
sethandler <A-P> a:vim
|
||||
sethandler <A-S-B> a:vim
|
||||
sethandler <A-X> a:vim
|
||||
sethandler <C-D> a:vim
|
||||
sethandler <C-H> a:vim
|
||||
sethandler <C-I> a:vim
|
||||
sethandler <C-L> a:vim
|
||||
sethandler <C-N> a:vim
|
||||
sethandler <C-O> a:vim
|
||||
sethandler <C-P> a:vim
|
||||
sethandler <C-U> a:vim
|
||||
sethandler <C-W> a:vim
|
||||
sethandler <C-S-W> a:vim
|
||||
sethandler <S-BS> a:vim
|
||||
|
||||
@ -100,12 +101,6 @@ xnoremap H ]b
|
||||
noremap <A-b> ge
|
||||
noremap <A-S-b> gE
|
||||
|
||||
" Navigate editor tabs
|
||||
noremap <C-h> gT
|
||||
noremap <C-l> gt
|
||||
inoremap <C-h> <C-o>gT
|
||||
inoremap <C-l> <C-o>gt
|
||||
|
||||
" Increment/decrement numbers
|
||||
noremap <Bar>+ <C-a>
|
||||
noremap <Bar>- <C-x>
|
||||
@ -161,23 +156,22 @@ map { <Plug>(ParagraphPrevMotion)$
|
||||
map } <Plug>(ParagraphNextMotion)$
|
||||
|
||||
" Manage editor tabs
|
||||
map <C-w> <Action>(CloseContent)
|
||||
map <C-S-w> <Action>(ReopenClosedTab)
|
||||
map <C-w>m <Action>(MoveEditorToOppositeTabGroup)
|
||||
map <C-w>s <Action>(MoveTabDown)
|
||||
map <C-w>u <Action>(Unsplit)
|
||||
map <C-w>U <Action>(UnsplitAll)
|
||||
map <C-w>v <Action>(MoveTabRight)
|
||||
|
||||
noremap \\ <C-w>
|
||||
noremap <C-w>S <C-w>s
|
||||
noremap <C-w>V <C-w>v
|
||||
|
||||
noremap \\m :action MoveEditorToOppositeTabGroup<CR>
|
||||
noremap \\s :action MoveTabDown<CR>
|
||||
noremap \\S <C-w>s
|
||||
noremap \\u :action Unsplit<CR>
|
||||
noremap \\U :action UnsplitAll<CR>
|
||||
noremap \\v :action MoveTabRight<CR>
|
||||
noremap \\V <C-w>v
|
||||
map <C-w><C-w>a <Action>(CloseAllEditors)
|
||||
map <C-w><C-w>h <Action>(CloseAllToTheLeft)
|
||||
map <C-w><C-w>l <Action>(CloseAllToTheRight)
|
||||
map <C-w><C-w>o <Action>(CloseAllEditorsButActive)
|
||||
|
||||
noremap \\\\a :action CloseAllEditors<CR>
|
||||
noremap \\\\h :action CloseAllToTheLeft<CR>
|
||||
noremap \\\\l :action CloseAllToTheRight<CR>
|
||||
noremap \\\\o :action CloseAllEditorsButActive<CR>
|
||||
map \\ <C-w>
|
||||
map \\\\ <C-w><C-w>
|
||||
|
||||
" Rebind repurposed commands
|
||||
nnoremap GG G
|
||||
|
Loading…
Reference in New Issue
Block a user