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 18 additions and 23 deletions

View File

@ -7,6 +7,7 @@ bind '"\e[B": history-search-forward'
alias gh='history|grep' alias gh='history|grep'
alias less='less --mouse' alias less='less --mouse'
alias lsa='ls -l -v --all --human-readable --group-directories-first --color=auto' alias lsa='ls -l -v --all --human-readable --group-directories-first --color=auto'
alias vim='vim -p'
alias d='docker' alias d='docker'
alias dc='docker compose' alias dc='docker compose'

View File

@ -29,14 +29,17 @@ sethandler <C-C> a:ide
sethandler <C-E> a:ide sethandler <C-E> a:ide
sethandler <C-F> a:ide sethandler <C-F> a:ide
sethandler <C-G> a:ide sethandler <C-G> a:ide
sethandler <C-H> a:ide
sethandler <C-I> a:ide sethandler <C-I> a:ide
sethandler <C-J> a:ide sethandler <C-J> a:ide
sethandler <C-K> a:ide sethandler <C-K> a:ide
sethandler <C-L> a:ide
sethandler <C-M> a:ide sethandler <C-M> a:ide
sethandler <C-R> a:ide sethandler <C-R> a:ide
sethandler <C-S> a:ide sethandler <C-S> a:ide
sethandler <C-T> a:ide sethandler <C-T> a:ide
sethandler <C-V> a:ide sethandler <C-V> a:ide
sethandler <C-W> a:ide
sethandler <C-X> a:ide sethandler <C-X> a:ide
sethandler <C-Y> a:ide sethandler <C-Y> a:ide
sethandler <C-\> a:ide sethandler <C-\> a:ide
@ -44,18 +47,16 @@ sethandler <C-\> a:ide
sethandler <A-B> a:vim sethandler <A-B> a:vim
sethandler <A-H> a:vim sethandler <A-H> a:vim
sethandler <A-L> a:vim sethandler <A-L> a:vim
sethandler <A-N> a:vim
sethandler <A-P> a:vim sethandler <A-P> a:vim
sethandler <A-S-B> a:vim sethandler <A-S-B> a:vim
sethandler <A-X> a:vim sethandler <A-X> a:vim
sethandler <C-D> a:vim sethandler <C-D> a:vim
sethandler <C-H> a:vim
sethandler <C-I> a:vim sethandler <C-I> a:vim
sethandler <C-L> a:vim
sethandler <C-N> a:vim sethandler <C-N> a:vim
sethandler <C-O> a:vim sethandler <C-O> a:vim
sethandler <C-P> a:vim sethandler <C-P> a:vim
sethandler <C-U> a:vim sethandler <C-U> a:vim
sethandler <C-W> a:vim
sethandler <C-S-W> a:vim sethandler <C-S-W> a:vim
sethandler <S-BS> a:vim sethandler <S-BS> a:vim
@ -100,12 +101,6 @@ xnoremap H ]b
noremap <A-b> ge noremap <A-b> ge
noremap <A-S-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 " Increment/decrement numbers
noremap <Bar>+ <C-a> noremap <Bar>+ <C-a>
noremap <Bar>- <C-x> noremap <Bar>- <C-x>
@ -161,23 +156,22 @@ map { <Plug>(ParagraphPrevMotion)$
map } <Plug>(ParagraphNextMotion)$ map } <Plug>(ParagraphNextMotion)$
" Manage editor tabs " Manage editor tabs
map <C-w> <Action>(CloseContent) map <C-w>m <Action>(MoveEditorToOppositeTabGroup)
map <C-S-w> <Action>(ReopenClosedTab) 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> map <C-w><C-w>a <Action>(CloseAllEditors)
noremap \\s :action MoveTabDown<CR> map <C-w><C-w>h <Action>(CloseAllToTheLeft)
noremap \\S <C-w>s map <C-w><C-w>l <Action>(CloseAllToTheRight)
noremap \\u :action Unsplit<CR> map <C-w><C-w>o <Action>(CloseAllEditorsButActive)
noremap \\U :action UnsplitAll<CR>
noremap \\v :action MoveTabRight<CR>
noremap \\V <C-w>v
noremap \\\\a :action CloseAllEditors<CR> map \\ <C-w>
noremap \\\\h :action CloseAllToTheLeft<CR> map \\\\ <C-w><C-w>
noremap \\\\l :action CloseAllToTheRight<CR>
noremap \\\\o :action CloseAllEditorsButActive<CR>
" Rebind repurposed commands " Rebind repurposed commands
nnoremap GG G nnoremap GG G