Remove shift+middle-click for pasting outside of edit mode, and fix a bunch of spelling errors in the keyboard config

This commit is contained in:
Kevin MacMartin 2024-03-19 21:25:30 -04:00
parent 7c12646789
commit 223851e085

View file

@ -32,8 +32,6 @@
" <Ctrl-Alt-RightClick> | (A) -> paste at the cursor (not mouse) " <Ctrl-Alt-RightClick> | (A) -> paste at the cursor (not mouse)
" <Ctrl-Alt-MiddleClick> | (A) -> paste at the cursor (not mouse) " <Ctrl-Alt-MiddleClick> | (A) -> paste at the cursor (not mouse)
" "
" <Shift-MiddleClick> | (A) -> paste from xorg paste buffer
"
" (terminal) " (terminal)
" <Esc> | (T) -> leave edit mode " <Esc> | (T) -> leave edit mode
" "
@ -66,7 +64,7 @@
" ik | (N) -> add cursor character as a keyword " ik | (N) -> add cursor character as a keyword
" iK | (N) -> remove cursor character as a keyword " iK | (N) -> remove cursor character as a keyword
" "
" ~ | (N) -> popup a command reference " ~ | (N) -> pop-up a command reference
" <Leader><F1> | (N) -> toggle the vim reference manual " <Leader><F1> | (N) -> toggle the vim reference manual
" ` | (A) -> toggle the gutter(numbers+folds+signify) " ` | (A) -> toggle the gutter(numbers+folds+signify)
" "
@ -116,8 +114,8 @@
" <Leader>w | (N) -> remove whitespace " <Leader>w | (N) -> remove whitespace
" <Tab> | (V) -> indent all the lines currently selected " <Tab> | (V) -> indent all the lines currently selected
" <Tab> | (N) -> indent the current line " <Tab> | (N) -> indent the current line
" <Shift-Tab> | (V) -> un-indent all the lines currently selected " <Shift-Tab> | (V) -> unindent all the lines currently selected
" <Shift-Tab> | (N) -> un-indent the current line " <Shift-Tab> | (N) -> unindent the current line
" [<Space> | (N) -> insert a blank line above the current one " [<Space> | (N) -> insert a blank line above the current one
" ]<Space> | (N) -> insert a blank line below the current one " ]<Space> | (N) -> insert a blank line below the current one
" "
@ -214,7 +212,7 @@
nnoremap <S-k> <Nop> nnoremap <S-k> <Nop>
"}}} "}}}
"MAPPINGS: GENERAL KEYBINDINGS AND REBINDINGS {{{ "MAPPINGS: GENERAL KEYBINDINGS AND REBINDING {{{
"MOUSE:{ "MOUSE:{
"hold ctrl to scroll left/right instead of up/down "hold ctrl to scroll left/right instead of up/down
noremap <C-ScrollWheelUp> 4zh noremap <C-ScrollWheelUp> 4zh
@ -324,10 +322,6 @@
snoremap <C-A-MiddleMouse> p snoremap <C-A-MiddleMouse> p
vnoremap <C-A-MiddleMouse> p vnoremap <C-A-MiddleMouse> p
inoremap <C-A-MiddleMouse> <C-O>p inoremap <C-A-MiddleMouse> <C-O>p
"configure middle click to paste from X
noremap <S-Insert> <MiddleMouse>
noremap! <S-Insert> <MiddleMouse>
"} "}
"TERMINAL:{ "TERMINAL:{
@ -377,7 +371,7 @@
"toggle the display of the left gutter "toggle the display of the left gutter
nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>' nnoremap <silent><expr> ` ':if (&number)<Bar>set nonumber<Bar>if exists("b:sy")<Bar>SignifyDisable<Bar>endif<Bar>else<Bar>set number<Bar>if exists("b:sy")<Bar>SignifyEnable<Bar>endif<Bar>endif<CR>:echo "gutter visibility toggled"<CR>'
"toggle folded code at foldpoints "toggle folded code at fold-points
nnoremap <Space><Space> za nnoremap <Space><Space> za
"toggle line wrapping (and bottom bar if using the gui) "toggle line wrapping (and bottom bar if using the gui)
@ -421,16 +415,16 @@
"} "}
"SPELLCHECK:{ "SPELLCHECK:{
"add the selected mispelled word to the local dictionary "add the selected misspelled word to the local dictionary
nnoremap ?+ zg nnoremap ?+ zg
"display a list of suggestions for the selected mispelled word "display a list of suggestions for the selected misspelled word
nnoremap ?? hea<C-X>s nnoremap ?? hea<C-X>s
"go to the next mispelled word "go to the next misspelled word
nnoremap ?N ]s nnoremap ?N ]s
"go to the previous mispelled word "go to the previous misspelled word
nnoremap ?P [s nnoremap ?P [s
"} "}
@ -473,7 +467,7 @@
"remove trailing whitespace "remove trailing whitespace
nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>' nnoremap <silent><expr> <Leader>w ':FixWhitespace<CR>:echo "Trailing whitespace has been removed"<CR>'
"tab and untab the currently selected lines "indent and unindent the currently selected lines
vnoremap <Tab> >gv vnoremap <Tab> >gv
nnoremap <Tab> v>gv<Esc> nnoremap <Tab> v>gv<Esc>
vnoremap <S-Tab> <gv vnoremap <S-Tab> <gv