1
0
mirror of https://github.com/chylex/dotfiles.git synced 2024-10-18 11:42:49 +02: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
" Move some commands closer on Czech keyboard layout
nnoremap ú @@
noremap ů ;
map § %
" Navigate to end of previous word
nnoremap <A-b> ge
nnoremap <A-S-b> gE
" Navigate to indents
nnoremap J +
vnoremap J +
@ -89,9 +84,6 @@ 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
nnoremap gp `[v`]
@ -99,6 +91,8 @@ nnoremap gp `[v`]
xmap p gr
" Rebind commands that will be repurposed
nnoremap <A-b> ge
nnoremap <A-S-b> gE
nnoremap GG G
nnoremap dG dG
nnoremap cG cG

View File

@ -1,8 +1,6 @@
set -g mouse on
set -g history-limit 50000
set-window-option -g mode-keys vi
bind -Tcopy-mode MouseDragEnd1Pane send -X copy-selection-no-clear
bind '"' split-window -c "#{pane_current_path}"

15
.vimrc
View File

@ -44,30 +44,15 @@ map í 9
map é 0
" Move some commands closer on Czech keyboard layout
nnoremap ú @@
noremap ů ;
map § %
" Navigate to end of previous word
nnoremap <A-b> ge
nnoremap <A-S-b> gE
" Navigate to indents
nnoremap J +
vnoremap J +
nnoremap 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
nnoremap c) c])
nnoremap d) d])