Move mapping into mappings.vim
This commit is contained in:
parent
fc9af59d2b
commit
48d3f26a8a
@ -19,11 +19,6 @@ augroup strip_white_space
|
|||||||
autocmd BufWritePre * :call <SID>StripWhitespace()
|
autocmd BufWritePre * :call <SID>StripWhitespace()
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" Show highlight group under cursor
|
|
||||||
map \hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") .
|
|
||||||
\ '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
|
|
||||||
\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
|
|
||||||
|
|
||||||
" Stringify
|
" Stringify
|
||||||
" Make a code block in to a C string literal
|
" Make a code block in to a C string literal
|
||||||
function! <SID>Stringify()
|
function! <SID>Stringify()
|
||||||
|
@ -42,6 +42,11 @@ exec "nmap <leader>tm :tabmove "
|
|||||||
" Clear search highlights
|
" Clear search highlights
|
||||||
map <leader><Space> :noh<CR>
|
map <leader><Space> :noh<CR>
|
||||||
|
|
||||||
|
" Show highlight group under cursor
|
||||||
|
map \hi :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") .
|
||||||
|
\ '> trans<' . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
|
||||||
|
\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
|
||||||
|
|
||||||
" Quick clipboard yank/put
|
" Quick clipboard yank/put
|
||||||
map <leader>y "+y
|
map <leader>y "+y
|
||||||
map <leader>Y "+Y
|
map <leader>Y "+Y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user