mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-26 00:01:27 -05:00
I realized the backspace in normal mode's behaviour wasn't consistant,
so I've removed it until I get a chance to figure out how to do it properly
This commit is contained in:
parent
bf251c81a2
commit
9be21a8fef
1 changed files with 0 additions and 2 deletions
|
@ -104,7 +104,6 @@
|
||||||
"
|
"
|
||||||
" (formatting)
|
" (formatting)
|
||||||
" <Backspace> | (V) -> deletes currently selected text
|
" <Backspace> | (V) -> deletes currently selected text
|
||||||
" <Backspace> | (N) -> deletes the character behind the cursor
|
|
||||||
" <Leader><C-f> | (V) -> format the selection and return to cursor
|
" <Leader><C-f> | (V) -> format the selection and return to cursor
|
||||||
" <Leader><C-f> | (N) -> format document and return to cursor
|
" <Leader><C-f> | (N) -> format document and return to cursor
|
||||||
" <Leader><C-w> | (N) -> remove whitespace
|
" <Leader><C-w> | (N) -> remove whitespace
|
||||||
|
@ -451,7 +450,6 @@
|
||||||
"FORMATTING:{
|
"FORMATTING:{
|
||||||
"have backspace delete the selected text
|
"have backspace delete the selected text
|
||||||
vnoremap <Backspace> "_x
|
vnoremap <Backspace> "_x
|
||||||
nnoremap <Backspace> i<Backspace><Esc>l
|
|
||||||
|
|
||||||
"formatting options to apply to the whole document
|
"formatting options to apply to the whole document
|
||||||
nnoremap <Leader><C-f> mzgg=G`z<CR>:echo "The document has been formatted"<CR>
|
nnoremap <Leader><C-f> mzgg=G`z<CR>:echo "The document has been formatted"<CR>
|
||||||
|
|
Loading…
Reference in a new issue