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

Compare commits

..

No commits in common. "2ac125eb0ae5792ed22ea75dfdacb16a68786291" and "8c84026ceca1d6f650607581a60a1a92bd85a162" have entirely different histories.

3 changed files with 2 additions and 25 deletions

View File

@ -39,14 +39,9 @@ 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 +
@ -89,9 +84,6 @@ 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`]
@ -99,6 +91,8 @@ 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

View File

@ -1,8 +1,6 @@
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
View File

@ -44,30 +44,15 @@ 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])