Update mappings to {i,n,v}noremap
This commit is contained in:
@@ -60,29 +60,22 @@ nnoremap <leader>to :tabonly<CR>
|
||||
nnoremap <leader>tm :tabmove<Space>
|
||||
|
||||
" Clear search highlights
|
||||
map <leader><Space> :noh<CR>
|
||||
|
||||
" Show highlight group under cursor
|
||||
map <leader>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>
|
||||
nnoremap <leader><Space> :nohlsearch<CR>
|
||||
|
||||
" System clipboard yank/put
|
||||
map <leader>y "+y
|
||||
map <leader>Y "+Y
|
||||
map <leader>p "+p
|
||||
map <leader>P "+P
|
||||
noremap <leader>y "+y
|
||||
noremap <leader>Y "+Y
|
||||
noremap <leader>p "+p
|
||||
noremap <leader>P "+P
|
||||
|
||||
" Quickly access spelling menu
|
||||
imap <C-s> <C-g>u<C-X>s
|
||||
nmap <C-s> i<C-g>u<C-X>s
|
||||
inoremap <C-s> <C-g>u<C-X>s
|
||||
nnoremap <C-s> i<C-g>u<C-X>s
|
||||
|
||||
" Disable 'Q' from opening Ex mode
|
||||
nmap Q <nop>
|
||||
" Disable 'K' from loading man pages in normal mode
|
||||
nmap K <nop>
|
||||
" Disable 'K' from loading man pages in visual mode
|
||||
vmap K <nop>
|
||||
nnoremap Q <nop>
|
||||
" Disable 'K' from loading man pages
|
||||
noremap K <nop>
|
||||
|
||||
" Split line at the cursor
|
||||
nnoremap [j i<CR><Esc>
|
||||
|
||||
Reference in New Issue
Block a user