commit 9e2d69bbeab971f3b2b59ae1e64f56c552bc578f (patch)
parent f1a298d36c83b9d0e9fde072db88c0be314bcb31
Author: Alex Karle <alex@alexkarle.com>
Date: Fri, 2 Jul 2021 23:29:52 -0400
vim: Remove several unused mappings
If I forgot it existed... it can probably be cut safely :)
Diffstat:
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/.vim/improved.vim b/.vim/improved.vim
@@ -104,26 +104,15 @@ nnoremap <leader>s :sp %:h/
" toggle color column (to ensure short lines)
nnoremap <expr> <leader>C vimrc#ToggleColorColumn()
-" 2 space / 4 space toggle
-nnoremap <leader>2 :setlocal softtabstop=2 shiftwidth=2<CR>
-nnoremap <leader>4 :setlocal softtabstop=4 shiftwidth=4<CR>
-
" Clear that highlight!
nnoremap <BS> :nohlsearch<CR>
" Get greppin quick! --> search word under cursor (escape # for VimL autoload)
-nnoremap <leader>g :exe "grep " . substitute(expand('<cword>'), '#', '\\#', 'g')<CR>
nnoremap <silent> <leader>G :Ggrep! <cword><CR>:copen<CR>
" Toggle whitespace
nnoremap <leader>w :set list!<CR>
-" Yank entire file
-nnoremap <leader>y :0,$y +<CR>
-
-" Edit vimrc
-nnoremap <leader>V :edit $HOME/.vim/vimrc<CR>
-
" From defaults.vim: breaks the undo chain so we can undo <C-U>
inoremap <C-U> <C-G>u<C-U>
" }}}
@@ -134,5 +123,3 @@ command! CD exe 'cd ' . expand('%:h')
" Load optional config (in ~/.vim)
runtime! .vimrc.local
-
-" vim:fdm=marker:sts=4:sw=4