mirror of
https://github.com/spf13/spf13-vim.git
synced 2024-09-21 07:27:11 +00:00
some useful mappings I use everyday
This commit is contained in:
parent
80f430d602
commit
96678bcd99
14
.vimrc
14
.vimrc
@ -362,6 +362,20 @@
|
||||
nmap <leader>f8 :set foldlevel=8<CR>
|
||||
nmap <leader>f9 :set foldlevel=9<CR>
|
||||
|
||||
"UPPERCASE and lowsercase conversion
|
||||
nnoremap g^ gUiW
|
||||
nnoremap gv guiW
|
||||
|
||||
"go to first and last char of line
|
||||
nnoremap H ^ "go to first char of line
|
||||
nnoremap L g_ "go to last char of line
|
||||
vnoremap H ^
|
||||
vnoremap L g_
|
||||
|
||||
"use ; to go to command line
|
||||
nnoremap ; :
|
||||
vnoremap ; :
|
||||
|
||||
" Most prefer to toggle search highlighting rather than clear the current
|
||||
" search results. To clear search highlighting rather than toggle it on
|
||||
" and off, add the following to your .vimrc.before.local file:
|
||||
|
Loading…
Reference in New Issue
Block a user