mirror of
https://github.com/chylex/dotfiles.git
synced 2024-11-25 23:42:46 +01:00
Compare commits
2 Commits
8c84026cec
...
2ac125eb0a
Author | SHA1 | Date | |
---|---|---|---|
2ac125eb0a | |||
98c756df22 |
10
.ideavimrc
10
.ideavimrc
@ -39,9 +39,14 @@ map í 9
|
|||||||
map é 0
|
map é 0
|
||||||
|
|
||||||
" Move some commands closer on Czech keyboard layout
|
" Move some commands closer on Czech keyboard layout
|
||||||
|
nnoremap ú @@
|
||||||
noremap ů ;
|
noremap ů ;
|
||||||
map § %
|
map § %
|
||||||
|
|
||||||
|
" Navigate to end of previous word
|
||||||
|
nnoremap <A-b> ge
|
||||||
|
nnoremap <A-S-b> gE
|
||||||
|
|
||||||
" Navigate to indents
|
" Navigate to indents
|
||||||
nnoremap J +
|
nnoremap J +
|
||||||
vnoremap J +
|
vnoremap J +
|
||||||
@ -84,6 +89,9 @@ vnoremap < <gv
|
|||||||
vnoremap > >gv
|
vnoremap > >gv
|
||||||
vnoremap = =gv
|
vnoremap = =gv
|
||||||
|
|
||||||
|
" Turn capital letters into opposite actions
|
||||||
|
" nnoremap U :redo<CR> " Handled by custom version of IdeaVim
|
||||||
|
|
||||||
" Reselect pasted text
|
" Reselect pasted text
|
||||||
nnoremap gp `[v`]
|
nnoremap gp `[v`]
|
||||||
|
|
||||||
@ -91,8 +99,6 @@ nnoremap gp `[v`]
|
|||||||
xmap p gr
|
xmap p gr
|
||||||
|
|
||||||
" Rebind commands that will be repurposed
|
" Rebind commands that will be repurposed
|
||||||
nnoremap <A-b> ge
|
|
||||||
nnoremap <A-S-b> gE
|
|
||||||
nnoremap GG G
|
nnoremap GG G
|
||||||
nnoremap dG dG
|
nnoremap dG dG
|
||||||
nnoremap cG cG
|
nnoremap cG cG
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
set -g mouse on
|
set -g mouse on
|
||||||
set -g history-limit 50000
|
set -g history-limit 50000
|
||||||
|
|
||||||
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-no-clear
|
bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-no-clear
|
||||||
|
|
||||||
bind '"' split-window -c "#{pane_current_path}"
|
bind '"' split-window -c "#{pane_current_path}"
|
||||||
|
15
.vimrc
15
.vimrc
@ -44,15 +44,30 @@ map í 9
|
|||||||
map é 0
|
map é 0
|
||||||
|
|
||||||
" Move some commands closer on Czech keyboard layout
|
" Move some commands closer on Czech keyboard layout
|
||||||
|
nnoremap ú @@
|
||||||
noremap ů ;
|
noremap ů ;
|
||||||
map § %
|
map § %
|
||||||
|
|
||||||
|
" Navigate to end of previous word
|
||||||
|
nnoremap <A-b> ge
|
||||||
|
nnoremap <A-S-b> gE
|
||||||
|
|
||||||
" Navigate to indents
|
" Navigate to indents
|
||||||
nnoremap J +
|
nnoremap J +
|
||||||
vnoremap J +
|
vnoremap J +
|
||||||
nnoremap K -
|
nnoremap K -
|
||||||
vnoremap K -
|
vnoremap K -
|
||||||
|
|
||||||
|
" Navigate camel humps (https://github.com/vim-scripts/camelcasemotion)
|
||||||
|
map L <Plug>CamelCaseMotion_w
|
||||||
|
map H <Plug>CamelCaseMotion_b
|
||||||
|
|
||||||
|
" Edit camel humps (https://github.com/vim-scripts/camelcasemotion)
|
||||||
|
omap iL <Plug>CamelCaseMotion_iw
|
||||||
|
xmap iL <Plug>CamelCaseMotion_iw
|
||||||
|
omap iH <Plug>CamelCaseMotion_ib
|
||||||
|
xmap iH <Plug>CamelCaseMotion_ib
|
||||||
|
|
||||||
" Edit from cursor to start/end of parenthesized block
|
" Edit from cursor to start/end of parenthesized block
|
||||||
nnoremap c) c])
|
nnoremap c) c])
|
||||||
nnoremap d) d])
|
nnoremap d) d])
|
||||||
|
Loading…
Reference in New Issue
Block a user